Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
Line-Smart-Workstation
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 02666ef7
由
LN
编写于
2021-03-09 17:09:04 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
修改菜单界面
1 个父辈
ccc06486
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
22 行增加
和
14 行删除
TSA-V/FrmBase.cs
TSA-V/FrmMaintenance.Designer.cs
TSA-V/FrmMaintenance.cs
TSA-V/FrmMaintenance.resx
TSA-V/FrmMenu.Designer.cs
TSA-V/FrmMenu.cs
TSA-V/Properties/Resource.en-US.resx
TSA-V/Properties/Resource.zh-CN.resx
TSA-V/image/CN/修改密码.gif
TSA-V/image/CN/无字.gif
TSA-V/FrmBase.cs
查看文件 @
02666ef
...
@@ -75,6 +75,7 @@ namespace TSA_V
...
@@ -75,6 +75,7 @@ namespace TSA_V
private
void
FrmBase_Load
(
object
sender
,
EventArgs
e
)
private
void
FrmBase_Load
(
object
sender
,
EventArgs
e
)
{
{
}
}
/// <summary>
/// <summary>
/// 引用user32.dll动态链接库(windows api),
/// 引用user32.dll动态链接库(windows api),
/// 使用库中定义 API:SetCursorPos
/// 使用库中定义 API:SetCursorPos
...
...
TSA-V/FrmMaintenance.Designer.cs
查看文件 @
02666ef
此文件的差异被折叠,
点击展开。
TSA-V/FrmMaintenance.cs
查看文件 @
02666ef
...
@@ -66,6 +66,10 @@ namespace TSA_V
...
@@ -66,6 +66,10 @@ namespace TSA_V
private
void
FrmMaintenance_Load
(
object
sender
,
EventArgs
e
)
private
void
FrmMaintenance_Load
(
object
sender
,
EventArgs
e
)
{
{
string
time
=
GetVersion
(
true
);
System
.
Reflection
.
AssemblyName
assemblyName
=
System
.
Reflection
.
Assembly
.
GetExecutingAssembly
().
GetName
();
lblVersion
.
Text
=
"V"
+
assemblyName
.
Version
.
ToString
()
+
"("
+
time
+
")"
;
LblUserName
.
Text
=
FormManager
.
UserInfo
.
Name
+
"/"
+
FormManager
.
UserInfo
.
Limit
;
LanguageProcess
();
LanguageProcess
();
if
(
FormManager
.
UserInfo
.
Limit
.
Equals
(
UserLimit
.
Admin
))
{
if
(
FormManager
.
UserInfo
.
Limit
.
Equals
(
UserLimit
.
Admin
))
{
...
@@ -84,10 +88,10 @@ namespace TSA_V
...
@@ -84,10 +88,10 @@ namespace TSA_V
}
}
else
else
{
{
button1
.
Visible
=
fals
e
;
button1
.
Visible
=
tru
e
;
btnDebug
.
Visible
=
fals
e
;
btnDebug
.
Visible
=
tru
e
;
btnWidthC
.
Visible
=
fals
e
;
btnWidthC
.
Visible
=
tru
e
;
btnPosition
.
Visible
=
fals
e
;
btnPosition
.
Visible
=
tru
e
;
btnDeviceSelect
.
Visible
=
false
;
btnDeviceSelect
.
Visible
=
false
;
btnLanguage
.
Visible
=
false
;
btnLanguage
.
Visible
=
false
;
}
}
...
...
TSA-V/FrmMaintenance.resx
查看文件 @
02666ef
此文件的差异被折叠,
点击展开。
TSA-V/FrmMenu.Designer.cs
查看文件 @
02666ef
...
@@ -58,7 +58,7 @@ namespace TSA_V
...
@@ -58,7 +58,7 @@ namespace TSA_V
//
//
this
.
lblVersion
.
AutoSize
=
true
;
this
.
lblVersion
.
AutoSize
=
true
;
this
.
lblVersion
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
lblVersion
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
lblVersion
.
Location
=
new
System
.
Drawing
.
Point
(
737
,
420
);
this
.
lblVersion
.
Location
=
new
System
.
Drawing
.
Point
(
510
,
420
);
this
.
lblVersion
.
Name
=
"lblVersion"
;
this
.
lblVersion
.
Name
=
"lblVersion"
;
this
.
lblVersion
.
Size
=
new
System
.
Drawing
.
Size
(
77
,
12
);
this
.
lblVersion
.
Size
=
new
System
.
Drawing
.
Size
(
77
,
12
);
this
.
lblVersion
.
TabIndex
=
11
;
this
.
lblVersion
.
TabIndex
=
11
;
...
@@ -171,7 +171,7 @@ namespace TSA_V
...
@@ -171,7 +171,7 @@ namespace TSA_V
this
.
btnCloseLed
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCloseLed
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCloseLed
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCloseLed
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCloseLed
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnCloseLed
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnCloseLed
.
Location
=
new
System
.
Drawing
.
Point
(
640
,
28
5
);
this
.
btnCloseLed
.
Location
=
new
System
.
Drawing
.
Point
(
640
,
28
7
);
this
.
btnCloseLed
.
Name
=
"btnCloseLed"
;
this
.
btnCloseLed
.
Name
=
"btnCloseLed"
;
this
.
btnCloseLed
.
Size
=
new
System
.
Drawing
.
Size
(
107
,
81
);
this
.
btnCloseLed
.
Size
=
new
System
.
Drawing
.
Size
(
107
,
81
);
this
.
btnCloseLed
.
TabIndex
=
15
;
this
.
btnCloseLed
.
TabIndex
=
15
;
...
@@ -188,7 +188,7 @@ namespace TSA_V
...
@@ -188,7 +188,7 @@ namespace TSA_V
this
.
btnOpenLed
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOpenLed
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOpenLed
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenLed
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenLed
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnOpenLed
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnOpenLed
.
Location
=
new
System
.
Drawing
.
Point
(
640
,
28
5
);
this
.
btnOpenLed
.
Location
=
new
System
.
Drawing
.
Point
(
640
,
28
7
);
this
.
btnOpenLed
.
Name
=
"btnOpenLed"
;
this
.
btnOpenLed
.
Name
=
"btnOpenLed"
;
this
.
btnOpenLed
.
Size
=
new
System
.
Drawing
.
Size
(
107
,
81
);
this
.
btnOpenLed
.
Size
=
new
System
.
Drawing
.
Size
(
107
,
81
);
this
.
btnOpenLed
.
TabIndex
=
14
;
this
.
btnOpenLed
.
TabIndex
=
14
;
...
...
TSA-V/FrmMenu.cs
查看文件 @
02666ef
...
@@ -44,7 +44,7 @@ namespace TSA_V
...
@@ -44,7 +44,7 @@ namespace TSA_V
else
else
{
{
btnProduct
.
Visible
=
false
;
btnProduct
.
Visible
=
false
;
btnCom
.
Visible
=
true
;
btnCom
.
Visible
=
false
;
}
}
//if (FormManager.UserInfo.Limit.Equals(UserLimit.Admin))
//if (FormManager.UserInfo.Limit.Equals(UserLimit.Admin))
//{
//{
...
@@ -104,15 +104,16 @@ namespace TSA_V
...
@@ -104,15 +104,16 @@ namespace TSA_V
private
void
FrmMenu_Load
(
object
sender
,
EventArgs
e
)
private
void
FrmMenu_Load
(
object
sender
,
EventArgs
e
)
{
{
DB
.
userName
=
FormManager
.
UserInfo
.
Name
;
DB
.
userName
=
FormManager
.
UserInfo
.
Name
;
string
time
=
GetVersion
(
true
);
System
.
Reflection
.
AssemblyName
assemblyName
=
System
.
Reflection
.
Assembly
.
GetExecutingAssembly
().
GetName
();
lblVersion
.
Text
=
"V"
+
assemblyName
.
Version
.
ToString
()
+
"("
+
time
+
")"
;
LblUserName
.
Text
=
FormManager
.
UserInfo
.
Name
+
"/"
+
FormManager
.
UserInfo
.
Limit
;
LblUserName
.
Text
=
FormManager
.
UserInfo
.
Name
+
"/"
+
FormManager
.
UserInfo
.
Limit
;
GetVersion
(
true
);
Task
.
Factory
.
StartNew
(
delegate
Task
.
Factory
.
StartNew
(
delegate
{
{
LoadBackImage
();
LoadBackImage
();
});
});
System
.
Reflection
.
AssemblyName
assemblyName
=
System
.
Reflection
.
Assembly
.
GetExecutingAssembly
().
GetName
();
lblVersion
.
Text
=
assemblyName
.
Version
.
ToString
();
//加载板卡
//加载板卡
BoardManager
.
LoadBoard
();
BoardManager
.
LoadBoard
();
...
...
TSA-V/Properties/Resource.en-US.resx
查看文件 @
02666ef
...
@@ -2171,7 +2171,7 @@
...
@@ -2171,7 +2171,7 @@
<value>Address:</value>
<value>Address:</value>
</data>
</data>
<data name="FrmDeviceConfig_label5_Text" xml:space="preserve">
<data name="FrmDeviceConfig_label5_Text" xml:space="preserve">
<value>
Barcode
:</value>
<value>
Program
:</value>
</data>
</data>
<data name="FrmWork_btnCodeTest_Text" xml:space="preserve">
<data name="FrmWork_btnCodeTest_Text" xml:space="preserve">
<value>Barcode test</value>
<value>Barcode test</value>
...
@@ -2288,4 +2288,5 @@
...
@@ -2288,4 +2288,5 @@
<data name = "用户修改成功" xml:space = "preserve"> <value> Modify user successfully </value> </data>
<data name = "用户修改成功" xml:space = "preserve"> <value> Modify user successfully </value> </data>
<data name = "用户修改失败" xml:space = "preserve"> <value> Failed to modify user </value> </data>
<data name = "用户修改失败" xml:space = "preserve"> <value> Failed to modify user </value> </data>
<data name = "添加用户成功" xml:space = "preserve"> <value> Added user successfully </value> </data>
<data name = "添加用户成功" xml:space = "preserve"> <value> Added user successfully </value> </data>
<data name = "FrmDeviceConfig_lblCode_Text" xml:space = "preserve"> <value> Barcode: </value> </data>
</root>
</root>
\ No newline at end of file
\ No newline at end of file
TSA-V/Properties/Resource.zh-CN.resx
查看文件 @
02666ef
...
@@ -2185,7 +2185,7 @@
...
@@ -2185,7 +2185,7 @@
<value>接口地址:</value>
<value>接口地址:</value>
</data>
</data>
<data name="FrmDeviceConfig_label5_Text" xml:space="preserve">
<data name="FrmDeviceConfig_label5_Text" xml:space="preserve">
<value>
条码
:</value>
<value>
程序
:</value>
</data>
</data>
<data name="FrmWork_btnCodeTest_Text" xml:space="preserve">
<data name="FrmWork_btnCodeTest_Text" xml:space="preserve">
<value>条码测试</value>
<value>条码测试</value>
...
@@ -2302,4 +2302,5 @@
...
@@ -2302,4 +2302,5 @@
<data name = "修改用户成功" xml:space = "preserve"> <value> 修改用户成功 </value> </data>
<data name = "修改用户成功" xml:space = "preserve"> <value> 修改用户成功 </value> </data>
<data name = "修改用户失败" xml:space = "preserve"> <value> 修改用户失败 </value> </data>
<data name = "修改用户失败" xml:space = "preserve"> <value> 修改用户失败 </value> </data>
<data name = "添加用户成功" xml:space = "preserve"> <value> 添加用户成功 </value> </data>
<data name = "添加用户成功" xml:space = "preserve"> <value> 添加用户成功 </value> </data>
<data name = "FrmDeviceConfig_lblCode_Text" xml:space = "preserve"> <value> 条码: </value> </data>
</root>
</root>
\ No newline at end of file
\ No newline at end of file
TSA-V/image/CN/修改密码.gif
查看文件 @
02666ef
333 字节
|
宽:
|
高:
5.8 KB
|
宽:
|
高:
两方对比
交换覆盖
透明覆盖
TSA-V/image/CN/无字.gif
0 → 100644
查看文件 @
02666ef
5.8 KB
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论