Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit a98e5261
由
LN
编写于
2020-12-30 11:43:53 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
日志框默认不显示。
1 个父辈
63febf3c
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
35 行增加
和
8 行删除
source/ACSingleStore/FrmStoreBox.Designer.cs
source/ACSingleStore/FrmStoreBox.cs
source/ACSingleStore/resource/language.resource
source/ACSingleStore/FrmStoreBox.Designer.cs
查看文件 @
a98e526
...
...
@@ -55,6 +55,7 @@
this
.
btnLogDebug
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
tabControl1
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabPage3
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
chbOpenLog
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
btnHul
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnCloseDLed
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnOpenDLed
=
new
System
.
Windows
.
Forms
.
Button
();
...
...
@@ -252,10 +253,9 @@
//
// chbIsDebug
//
this
.
chbIsDebug
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chbIsDebug
.
AutoSize
=
true
;
this
.
chbIsDebug
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbIsDebug
.
Location
=
new
System
.
Drawing
.
Point
(
6
90
,
13
);
this
.
chbIsDebug
.
Location
=
new
System
.
Drawing
.
Point
(
6
85
,
13
);
this
.
chbIsDebug
.
Name
=
"chbIsDebug"
;
this
.
chbIsDebug
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
24
);
this
.
chbIsDebug
.
TabIndex
=
272
;
...
...
@@ -265,10 +265,9 @@
//
// chbBuzzer
//
this
.
chbBuzzer
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chbBuzzer
.
AutoSize
=
true
;
this
.
chbBuzzer
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbBuzzer
.
Location
=
new
System
.
Drawing
.
Point
(
8
32
,
13
);
this
.
chbBuzzer
.
Location
=
new
System
.
Drawing
.
Point
(
8
03
,
13
);
this
.
chbBuzzer
.
Name
=
"chbBuzzer"
;
this
.
chbBuzzer
.
Size
=
new
System
.
Drawing
.
Size
(
98
,
24
);
this
.
chbBuzzer
.
TabIndex
=
271
;
...
...
@@ -302,10 +301,9 @@
//
// chbAuto
//
this
.
chbAuto
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chbAuto
.
AutoSize
=
true
;
this
.
chbAuto
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbAuto
.
Location
=
new
System
.
Drawing
.
Point
(
96
4
,
13
);
this
.
chbAuto
.
Location
=
new
System
.
Drawing
.
Point
(
96
0
,
13
);
this
.
chbAuto
.
Name
=
"chbAuto"
;
this
.
chbAuto
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
24
);
this
.
chbAuto
.
TabIndex
=
270
;
...
...
@@ -542,6 +540,7 @@
//
// tabPage3
//
this
.
tabPage3
.
Controls
.
Add
(
this
.
chbOpenLog
);
this
.
tabPage3
.
Controls
.
Add
(
this
.
btnHul
);
this
.
tabPage3
.
Controls
.
Add
(
this
.
btnCloseDLed
);
this
.
tabPage3
.
Controls
.
Add
(
this
.
btnOpenDLed
);
...
...
@@ -558,6 +557,18 @@
this
.
tabPage3
.
Text
=
" 操作日志 "
;
this
.
tabPage3
.
UseVisualStyleBackColor
=
true
;
//
// chbOpenLog
//
this
.
chbOpenLog
.
AutoSize
=
true
;
this
.
chbOpenLog
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbOpenLog
.
Location
=
new
System
.
Drawing
.
Point
(
14
,
105
);
this
.
chbOpenLog
.
Name
=
"chbOpenLog"
;
this
.
chbOpenLog
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
24
);
this
.
chbOpenLog
.
TabIndex
=
272
;
this
.
chbOpenLog
.
Text
=
"显示日志"
;
this
.
chbOpenLog
.
UseVisualStyleBackColor
=
true
;
this
.
chbOpenLog
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbOpenLog_CheckedChanged
);
//
// btnHul
//
this
.
btnHul
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
...
...
@@ -669,9 +680,9 @@
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
richTextBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
richTextBox1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
1
04
);
this
.
richTextBox1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
1
35
);
this
.
richTextBox1
.
Name
=
"richTextBox1"
;
this
.
richTextBox1
.
Size
=
new
System
.
Drawing
.
Size
(
534
,
513
);
this
.
richTextBox1
.
Size
=
new
System
.
Drawing
.
Size
(
534
,
482
);
this
.
richTextBox1
.
TabIndex
=
256
;
this
.
richTextBox1
.
Text
=
""
;
this
.
richTextBox1
.
Visible
=
false
;
...
...
@@ -1956,6 +1967,7 @@
this
.
tabPage6
.
ResumeLayout
(
false
);
this
.
tabControl1
.
ResumeLayout
(
false
);
this
.
tabPage3
.
ResumeLayout
(
false
);
this
.
tabPage3
.
PerformLayout
();
this
.
tabPage1
.
ResumeLayout
(
false
);
this
.
tabPage2
.
ResumeLayout
(
false
);
this
.
groupBox7
.
ResumeLayout
(
false
);
...
...
@@ -2117,6 +2129,7 @@
private
System
.
Windows
.
Forms
.
Button
btnOpenDLed
;
private
System
.
Windows
.
Forms
.
Button
btnOpenAutoInOut
;
private
System
.
Windows
.
Forms
.
Button
btnHul
;
private
System
.
Windows
.
Forms
.
CheckBox
chbOpenLog
;
}
}
source/ACSingleStore/FrmStoreBox.cs
查看文件 @
a98e526
...
...
@@ -170,6 +170,7 @@ namespace OnlineStore.ACSingleStore
}
LanguageProcess
();
LanguagePro
();
richTextBox1
.
Visible
=
false
;
// this.tabControl1.TabPages.Remove(tabPage3);
// groupCode.Visible = false;
}
...
...
@@ -1235,5 +1236,17 @@ namespace OnlineStore.ACSingleStore
bool
result
=
store
.
BtnNextPro
();
btnHul
.
Visible
=
store
.
NeedShowBtn
();
}
private
void
chbOpenLog_CheckedChanged
(
object
sender
,
EventArgs
e
)
{
if
(
chbOpenLog
.
Checked
)
{
richTextBox1
.
Visible
=
true
;
}
else
{
richTextBox1
.
Visible
=
false
;
}
}
}
}
source/ACSingleStore/resource/language.resource
查看文件 @
a98e526
...
...
@@ -321,3 +321,4 @@ FrmStoreBox_lblTempStr_Text,FrmStoreBox_lblTempStr_Text,FrmStoreBox_lblTempStr_T
Y11,设备照明开,Equipment lighting on
FrmIOStatus_btnCDLed_Text,关闭设备照明,Turn off equipment lighting
FrmIOStatus_btnDevideLed_Text,打开设备照明,Turn on equipment lighting
FrmStoreBox_chbOpenLog_Text,显示日志,Open Log
\ No newline at end of file
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论