Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
GC_Branch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周磊
GC_Branch
Commits
6a292f85
Commit
6a292f85
authored
May 24, 2018
by
wangwanxh@sina.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新绘画
parent
e4dcab82
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
5 deletions
+30
-5
LandIn.cs
GcDevicePc/CK_UI/LandIn.cs
+6
-1
FormUser.cs
GcDevicePc/FormUser.cs
+23
-3
MDIBase.cs
GcDevicePc/MDIBase.cs
+1
-1
CKVocAnalyzer.dll
dll/CKVocAnalyzer.dll
+0
-0
No files found.
GcDevicePc/CK_UI/LandIn.cs
View file @
6a292f85
...
@@ -13,6 +13,7 @@ namespace GcDevicePc.CK_UI
...
@@ -13,6 +13,7 @@ namespace GcDevicePc.CK_UI
{
{
private
string
user
=
"admin"
;
private
string
user
=
"admin"
;
public
static
bool
Island
=
false
;
public
static
bool
Island
=
false
;
CKVocAnalyzer
.
NumForm
form
;
public
LandIn
()
public
LandIn
()
{
{
InitializeComponent
();
InitializeComponent
();
...
@@ -29,6 +30,10 @@ namespace GcDevicePc.CK_UI
...
@@ -29,6 +30,10 @@ namespace GcDevicePc.CK_UI
{
{
Island
=
false
;
Island
=
false
;
}
}
if
(
form
!=
null
)
{
form
.
Dispose
();
}
}
}
private
void
button2_Click
(
object
sender
,
EventArgs
e
)
//放弃
private
void
button2_Click
(
object
sender
,
EventArgs
e
)
//放弃
...
@@ -43,7 +48,7 @@ namespace GcDevicePc.CK_UI
...
@@ -43,7 +48,7 @@ namespace GcDevicePc.CK_UI
private
void
textBox2_Click
(
object
sender
,
EventArgs
e
)
private
void
textBox2_Click
(
object
sender
,
EventArgs
e
)
{
{
CKVocAnalyzer
.
NumForm
form
=
CKVocAnalyzer
.
NumForm
.
GetInstance
((
TextBox
)
sender
);
// new CKVocAnalyzer.NumForm((TextBox)sender);
form
=
CKVocAnalyzer
.
NumForm
.
GetInstance
((
TextBox
)
sender
);
// new CKVocAnalyzer.NumForm((TextBox)sender);
form
.
Show
();
form
.
Show
();
}
}
...
...
GcDevicePc/FormUser.cs
View file @
6a292f85
...
@@ -49,12 +49,32 @@ namespace GcDevicePc
...
@@ -49,12 +49,32 @@ namespace GcDevicePc
{
{
if
(
CK_UI
.
LandIn
.
Island
)
if
(
CK_UI
.
LandIn
.
Island
)
{
{
CKVocAnalyzer
.
AutoAdjust
auto
=
new
CKVocAnalyzer
.
AutoAdjust
();
auto
.
Show
();
}
else
}
else
{
{
MessageBox
.
Show
(
"无权限操作!!!!"
);
}
}
DialogResult
dr
=
new
CK_UI
.
LandIn
().
ShowDialog
();
if
(
dr
==
DialogResult
.
OK
)
{
if
(
CK_UI
.
LandIn
.
Island
)
{
CKVocAnalyzer
.
AutoAdjust
auto
=
new
CKVocAnalyzer
.
AutoAdjust
();
auto
.
Show
();
}
else
{
MessageBox
.
Show
(
"无权限操作!!!!"
);
}
}
if
(
dr
==
DialogResult
.
No
)
{
// MessageBox.Show("无权限操作!!!!");
}
}
}
}
}
...
...
GcDevicePc/MDIBase.cs
View file @
6a292f85
...
@@ -233,7 +233,7 @@ namespace GcDevicePc
...
@@ -233,7 +233,7 @@ namespace GcDevicePc
/// <param name="e"></param>
/// <param name="e"></param>
private
void
timer1_Tick
(
object
sender
,
EventArgs
e
)
private
void
timer1_Tick
(
object
sender
,
EventArgs
e
)
{
{
this
.
Text
=
String
.
Format
(
"VOCs在线监测-1.0.2.
1
{0}"
,
Formstr
);
this
.
Text
=
String
.
Format
(
"VOCs在线监测-1.0.2.
2
{0}"
,
Formstr
);
HmiStatus
.
Text
=
String
.
Format
(
"状态:{0}"
,
statestr
);
HmiStatus
.
Text
=
String
.
Format
(
"状态:{0}"
,
statestr
);
// toolStripStatusLabeSystme.Text = String.Format("状态:{0}", statestr);
// toolStripStatusLabeSystme.Text = String.Format("状态:{0}", statestr);
...
...
dll/CKVocAnalyzer.dll
View file @
6a292f85
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment