Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO1007_XLC_Store
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 694e2c7f
由
刘韬
编写于
2022-01-07 15:24:48 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
忽略安全检查仅在暂停时可用
1 个父辈
a2a197fe
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
18 行增加
和
13 行删除
TheMachine/Form1.Designer.cs
TheMachine/Form1.cs
TheMachine/Form1.Designer.cs
查看文件 @
694e2c7
...
@@ -43,6 +43,7 @@ namespace TheMachine
...
@@ -43,6 +43,7 @@ namespace TheMachine
this
.
btn_outreset
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btn_outreset
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
pictureBox2
=
new
System
.
Windows
.
Forms
.
PictureBox
();
this
.
pictureBox2
=
new
System
.
Windows
.
Forms
.
PictureBox
();
this
.
pictureBox1
=
new
System
.
Windows
.
Forms
.
PictureBox
();
this
.
pictureBox1
=
new
System
.
Windows
.
Forms
.
PictureBox
();
this
.
btn_IgnoreX09
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btn_PauseBuzzer
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btn_PauseBuzzer
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
cb_EnableBuzzer
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
cb_EnableBuzzer
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
cb_IgnoreGratingSignal
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
cb_IgnoreGratingSignal
=
new
System
.
Windows
.
Forms
.
CheckBox
();
...
@@ -52,7 +53,6 @@ namespace TheMachine
...
@@ -52,7 +53,6 @@ namespace TheMachine
this
.
listView1
=
new
System
.
Windows
.
Forms
.
ListView
();
this
.
listView1
=
new
System
.
Windows
.
Forms
.
ListView
();
this
.
btn_stop
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btn_stop
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btn_run
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btn_run
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btn_IgnoreX09
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
menuStrip1
.
SuspendLayout
();
this
.
menuStrip1
.
SuspendLayout
();
this
.
tabControl1
.
SuspendLayout
();
this
.
tabControl1
.
SuspendLayout
();
this
.
tabPage1
.
SuspendLayout
();
this
.
tabPage1
.
SuspendLayout
();
...
@@ -204,6 +204,18 @@ namespace TheMachine
...
@@ -204,6 +204,18 @@ namespace TheMachine
this
.
pictureBox1
.
DoubleClick
+=
new
System
.
EventHandler
(
this
.
pictureBox1_DoubleClick
);
this
.
pictureBox1
.
DoubleClick
+=
new
System
.
EventHandler
(
this
.
pictureBox1_DoubleClick
);
this
.
pictureBox1
.
MouseDown
+=
new
System
.
Windows
.
Forms
.
MouseEventHandler
(
this
.
pictureBox1_MouseDown
);
this
.
pictureBox1
.
MouseDown
+=
new
System
.
Windows
.
Forms
.
MouseEventHandler
(
this
.
pictureBox1_MouseDown
);
//
//
// btn_IgnoreX09
//
this
.
btn_IgnoreX09
.
BackColor
=
System
.
Drawing
.
Color
.
OrangeRed
;
this
.
btn_IgnoreX09
.
Location
=
new
System
.
Drawing
.
Point
(
657
,
155
);
this
.
btn_IgnoreX09
.
Name
=
"btn_IgnoreX09"
;
this
.
btn_IgnoreX09
.
Size
=
new
System
.
Drawing
.
Size
(
201
,
40
);
this
.
btn_IgnoreX09
.
TabIndex
=
6
;
this
.
btn_IgnoreX09
.
Text
=
"忽略X09错误,并继续运行"
;
this
.
btn_IgnoreX09
.
UseVisualStyleBackColor
=
false
;
this
.
btn_IgnoreX09
.
Visible
=
false
;
this
.
btn_IgnoreX09
.
Click
+=
new
System
.
EventHandler
(
this
.
btn_IgnoreX09_Click
);
//
// btn_PauseBuzzer
// btn_PauseBuzzer
//
//
this
.
btn_PauseBuzzer
.
BackColor
=
System
.
Drawing
.
Color
.
OrangeRed
;
this
.
btn_PauseBuzzer
.
BackColor
=
System
.
Drawing
.
Color
.
OrangeRed
;
...
@@ -241,6 +253,7 @@ namespace TheMachine
...
@@ -241,6 +253,7 @@ namespace TheMachine
// cb_IgnoreSafecheck
// cb_IgnoreSafecheck
//
//
this
.
cb_IgnoreSafecheck
.
AutoSize
=
true
;
this
.
cb_IgnoreSafecheck
.
AutoSize
=
true
;
this
.
cb_IgnoreSafecheck
.
Enabled
=
false
;
this
.
cb_IgnoreSafecheck
.
Location
=
new
System
.
Drawing
.
Point
(
657
,
47
);
this
.
cb_IgnoreSafecheck
.
Location
=
new
System
.
Drawing
.
Point
(
657
,
47
);
this
.
cb_IgnoreSafecheck
.
Name
=
"cb_IgnoreSafecheck"
;
this
.
cb_IgnoreSafecheck
.
Name
=
"cb_IgnoreSafecheck"
;
this
.
cb_IgnoreSafecheck
.
Size
=
new
System
.
Drawing
.
Size
(
215
,
25
);
this
.
cb_IgnoreSafecheck
.
Size
=
new
System
.
Drawing
.
Size
(
215
,
25
);
...
@@ -310,18 +323,6 @@ namespace TheMachine
...
@@ -310,18 +323,6 @@ namespace TheMachine
this
.
btn_run
.
UseVisualStyleBackColor
=
true
;
this
.
btn_run
.
UseVisualStyleBackColor
=
true
;
this
.
btn_run
.
Click
+=
new
System
.
EventHandler
(
this
.
btn_run_Click
);
this
.
btn_run
.
Click
+=
new
System
.
EventHandler
(
this
.
btn_run_Click
);
//
//
// btn_IgnoreX09
//
this
.
btn_IgnoreX09
.
BackColor
=
System
.
Drawing
.
Color
.
OrangeRed
;
this
.
btn_IgnoreX09
.
Location
=
new
System
.
Drawing
.
Point
(
657
,
155
);
this
.
btn_IgnoreX09
.
Name
=
"btn_IgnoreX09"
;
this
.
btn_IgnoreX09
.
Size
=
new
System
.
Drawing
.
Size
(
201
,
40
);
this
.
btn_IgnoreX09
.
TabIndex
=
6
;
this
.
btn_IgnoreX09
.
Text
=
"忽略X09错误,并继续运行"
;
this
.
btn_IgnoreX09
.
UseVisualStyleBackColor
=
false
;
this
.
btn_IgnoreX09
.
Visible
=
false
;
this
.
btn_IgnoreX09
.
Click
+=
new
System
.
EventHandler
(
this
.
btn_IgnoreX09_Click
);
//
// Form1
// Form1
//
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
14F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
14F
);
...
...
TheMachine/Form1.cs
查看文件 @
694e2c7
...
@@ -312,13 +312,17 @@ namespace TheMachine
...
@@ -312,13 +312,17 @@ namespace TheMachine
userpause
=
true
;
userpause
=
true
;
(
btn_run
as
Button
).
Text
=
"恢复运行"
;
(
btn_run
as
Button
).
Text
=
"恢复运行"
;
(
btn_run
as
Button
).
BackColor
=
Color
.
LightGreen
;
(
btn_run
as
Button
).
BackColor
=
Color
.
LightGreen
;
cb_IgnoreSafecheck
.
Enabled
=
true
;
}
}
else
else
{
{
userpause
=
false
;
userpause
=
false
;
(
btn_run
as
Button
).
Text
=
"暂停运行"
;
(
btn_run
as
Button
).
Text
=
"暂停运行"
;
(
btn_run
as
Button
).
BackColor
=
Color
.
Yellow
;
(
btn_run
as
Button
).
BackColor
=
Color
.
Yellow
;
cb_IgnoreSafecheck
.
Checked
=
false
;
cb_IgnoreSafecheck
.
Enabled
=
false
;
}
}
}
}
private
void
btn_stop_Click
(
object
sender
,
EventArgs
e
)
private
void
btn_stop_Click
(
object
sender
,
EventArgs
e
)
{
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论