Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张东亮
/
NS100
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 70e21b44
由
张东亮
编写于
2023-05-10 16:37:09 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
UI更新-逻辑还未同步
1 个父辈
8d153a0a
显示空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
1006 行增加
和
807 行删除
BLL/Extension.cs
BLL/MaterialEdit.cs
Model/LanguageDialogKey.cs
SmartScan/Form/FrmCodeExtract.Designer.cs
SmartScan/Form/FrmCodeExtract.cs
SmartScan/Form/FrmMain.cs
SmartScan/Form/FrmSet.Designer.cs
SmartScan/Form/FrmSet.cs
SmartScan/SetControl/UsrCodeExtractList.Designer.cs
SmartScan/SetControl/UsrCodeExtractList.cs
SmartScan/SetControl/UsrMaterialTemplate.Designer.cs
SmartScan/SetControl/UsrMaterialTemplate.cs
SmartScan/SetControl/UsrWorkMode.Designer.cs
BLL/Extension.cs
查看文件 @
70e21b4
...
...
@@ -113,10 +113,10 @@ namespace BLL
new
Dictionary
<
string
,
object
>()
{
{
"Name"
,
"clbl_"
+
key
},
{
"Font"
,
"Arial,
11
,,"
},
{
"Font"
,
"Arial,
9
,,"
},
{
"BorderWidth"
,
0
},
{
"Width"
,
82
},
{
"Height"
,
4
2
},
{
"Width"
,
100
},
{
"Height"
,
4
0
},
{
"Text"
,
key
},
{
"TextAlign"
,
"MiddleRight"
}
}
...
...
@@ -132,9 +132,9 @@ namespace BLL
new
Dictionary
<
string
,
object
>()
{
{
"Name"
,
"ctxt_"
+
key
},
{
"Font"
,
"Arial,
11
,,"
},
{
"Font"
,
"Arial,
9
,,"
},
{
"Width"
,
-
1
},
{
"Height"
,
4
2
},
{
"Height"
,
4
0
},
{
"ShowDel"
,
"False"
},
{
"ShowQuery"
,
"False"
},
{
"Text"
,
""
}
...
...
@@ -151,10 +151,10 @@ namespace BLL
new
Dictionary
<
string
,
object
>()
{
{
"Name"
,
"BtnGetReelID"
},
{
"Font"
,
"Arial,1
4
,B,"
},
{
"Font"
,
"Arial,1
2
,B,"
},
//{"BorderWidth", 0},
{
"Width"
,
-
1
},
{
"Height"
,
5
0
},
{
"Height"
,
4
0
},
{
"Text"
,
"Get ReelID"
},
}
...
...
@@ -175,11 +175,11 @@ namespace BLL
new
Dictionary
<
string
,
object
>()
{
{
"Name"
,
"BtnPrint"
},
{
"Font"
,
"Arial,1
4
,B,"
},
{
"Font"
,
"Arial,1
2
,B,"
},
//{"BorderWidth", 0},
{
"Width"
,
-
1
},
{
"Height"
,
5
0
},
{
"Text"
,
Asa
.
FaceControl
.
Language
.
Dialog
(
"PrintLabel"
,
"
Print Label
"
)},
//"Print Label"
{
"Height"
,
4
0
},
{
"Text"
,
Asa
.
FaceControl
.
Language
.
Dialog
(
"PrintLabel"
,
"
Label Printing
"
)},
//"Print Label"
}
},
...
...
BLL/MaterialEdit.cs
查看文件 @
70e21b4
...
...
@@ -670,12 +670,19 @@ namespace BLL
matchCount
++;
//bool ismatch = true;
string
str
=
MaterialAsciiCode
.
GetAsciiCode
(
codeMatch
[
i
].
SplitText
);
if
(
codeText
.
Contains
(
str
))
{
string
[]
arr
=
codeText
.
Split
(
new
string
[]
{
str
},
StringSplitOptions
.
RemoveEmptyEntries
);
index
=
codeMatch
[
i
].
SplitPart
-
1
;
if
(
index
>=
arr
.
Length
)
ismatch
=
false
;
else
code
=
arr
[
index
];
}
else
{
ismatch
=
false
;
}
MatchAnalysis
.
AddMatch
(
codeMatch
[
i
].
Keyword
,
ismatch
,
codeMatch
[
i
].
CodeID
,
$
"分割符:{codeMatch[i].SplitText},第:{codeMatch[i].SplitPart}位"
,
$
"NG"
);
//if (!ismatch) return null;
...
...
Model/LanguageDialogKey.cs
查看文件 @
70e21b4
...
...
@@ -17,5 +17,6 @@ namespace Model
public
const
string
MATERIAL_TEMPLATE_RENAME
=
"MaterialTemplateRename"
;
public
const
string
SAVE_SUCCEED
=
"SaveSucceed"
;
public
const
string
REMIND_CLEARTEMPLATE
=
"RemindClearTemplate"
;
public
const
string
REMIND_SELECTCODE
=
"RemindSelectCode"
;
}
}
SmartScan/Form/FrmCodeExtract.Designer.cs
查看文件 @
70e21b4
...
...
@@ -32,24 +32,38 @@ namespace SmartScan
this
.
LblCode
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
BtnOK
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
BtnCancel
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
BtnAddMatch
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
PnlTemp
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
flowLayoutPanel1
=
new
System
.
Windows
.
Forms
.
FlowLayoutPanel
();
this
.
facePanel1
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
ChkCheckCodeType
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
LblCodeType
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
ChkMatchingStart
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
TxtMatchingStartText
=
new
Asa
.
FaceControl
.
FaceTextBox
();
this
.
ChkMatchingEnd
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
TxtMatchingEndText
=
new
Asa
.
FaceControl
.
FaceTextBox
();
this
.
ChkMatchingMiddle
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
TxtMatchingMiddleText
=
new
Asa
.
FaceControl
.
FaceTextBox
();
this
.
ChkCaseSensitivity
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
ChoMatchMiddleType
=
new
Asa
.
FaceControl
.
FaceComboBox
();
this
.
NudMiddleTextCount
=
new
Asa
.
FaceControl
.
FaceNumericUpDown
();
this
.
facePanel1
.
SuspendLayout
();
this
.
tableLayoutPanel1
.
SuspendLayout
();
this
.
SuspendLayout
();
//
// LblCode
//
this
.
LblCode
.
A
nchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)))
;
this
.
LblCode
.
A
utoScroll
=
true
;
this
.
LblCode
.
AutoSize
=
true
;
this
.
LblCode
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
LblCode
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LblCode
.
BorderWidth
=
2
;
this
.
LblCode
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
11F
);
this
.
LblCode
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblCode
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
55
);
this
.
LblCode
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
48
);
this
.
LblCode
.
Name
=
"LblCode"
;
this
.
LblCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblCode
.
Size
=
new
System
.
Drawing
.
Size
(
692
,
60
);
this
.
LblCode
.
Size
=
new
System
.
Drawing
.
Size
(
836
,
60
);
this
.
LblCode
.
TabIndex
=
6
;
this
.
LblCode
.
Text
=
"faceLabel1"
;
//
...
...
@@ -61,7 +75,7 @@ namespace SmartScan
this
.
BtnOK
.
BorderWidth
=
2
;
this
.
BtnOK
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnOK
.
HoldPress
=
false
;
this
.
BtnOK
.
Location
=
new
System
.
Drawing
.
Point
(
508
,
766
);
this
.
BtnOK
.
Location
=
new
System
.
Drawing
.
Point
(
601
,
848
);
this
.
BtnOK
.
Name
=
"BtnOK"
;
this
.
BtnOK
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnOK
.
Size
=
new
System
.
Drawing
.
Size
(
120
,
40
);
...
...
@@ -77,7 +91,7 @@ namespace SmartScan
this
.
BtnCancel
.
BorderWidth
=
2
;
this
.
BtnCancel
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnCancel
.
HoldPress
=
false
;
this
.
BtnCancel
.
Location
=
new
System
.
Drawing
.
Point
(
634
,
766
);
this
.
BtnCancel
.
Location
=
new
System
.
Drawing
.
Point
(
727
,
848
);
this
.
BtnCancel
.
Name
=
"BtnCancel"
;
this
.
BtnCancel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnCancel
.
Size
=
new
System
.
Drawing
.
Size
(
120
,
40
);
...
...
@@ -85,22 +99,6 @@ namespace SmartScan
this
.
BtnCancel
.
Text
=
"Cancel"
;
this
.
BtnCancel
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnCancel_Click
);
//
// BtnAddMatch
//
this
.
BtnAddMatch
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
BtnAddMatch
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
BtnAddMatch
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
BtnAddMatch
.
BorderWidth
=
2
;
this
.
BtnAddMatch
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnAddMatch
.
HoldPress
=
false
;
this
.
BtnAddMatch
.
Location
=
new
System
.
Drawing
.
Point
(
709
,
55
);
this
.
BtnAddMatch
.
Name
=
"BtnAddMatch"
;
this
.
BtnAddMatch
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnAddMatch
.
Size
=
new
System
.
Drawing
.
Size
(
45
,
60
);
this
.
BtnAddMatch
.
TabIndex
=
27
;
this
.
BtnAddMatch
.
Text
=
"+"
;
this
.
BtnAddMatch
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnAddMatch_Click
);
//
// PnlTemp
//
this
.
PnlTemp
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
...
...
@@ -109,10 +107,10 @@ namespace SmartScan
this
.
PnlTemp
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
PnlTemp
.
BorderWidth
=
2
;
this
.
PnlTemp
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
PnlTemp
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
184
);
this
.
PnlTemp
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
418
);
this
.
PnlTemp
.
Name
=
"PnlTemp"
;
this
.
PnlTemp
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
PnlTemp
.
Size
=
new
System
.
Drawing
.
Size
(
743
,
576
);
this
.
PnlTemp
.
Size
=
new
System
.
Drawing
.
Size
(
836
,
424
);
this
.
PnlTemp
.
TabIndex
=
28
;
this
.
PnlTemp
.
Text
=
"facePanel1"
;
this
.
PnlTemp
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
...
...
@@ -120,35 +118,276 @@ namespace SmartScan
//
// flowLayoutPanel1
//
this
.
flowLayoutPanel1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
flowLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
121
);
this
.
flowLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
352
);
this
.
flowLayoutPanel1
.
Name
=
"flowLayoutPanel1"
;
this
.
flowLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
743
,
63
);
this
.
flowLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
836
,
60
);
this
.
flowLayoutPanel1
.
TabIndex
=
29
;
//
// facePanel1
//
this
.
facePanel1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
facePanel1
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
facePanel1
.
BorderWidth
=
2
;
this
.
facePanel1
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
this
.
facePanel1
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
facePanel1
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
118
);
this
.
facePanel1
.
Name
=
"facePanel1"
;
this
.
facePanel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
facePanel1
.
Size
=
new
System
.
Drawing
.
Size
(
836
,
228
);
this
.
facePanel1
.
TabIndex
=
30
;
this
.
facePanel1
.
Text
=
"facePanel1"
;
this
.
facePanel1
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
//
// tableLayoutPanel1
//
this
.
tableLayoutPanel1
.
ColumnCount
=
4
;
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
25F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
25F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
25F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
25F
));
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
NudMiddleTextCount
,
0
,
3
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkCheckCodeType
,
0
,
0
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
LblCodeType
,
1
,
0
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMatchingStart
,
0
,
1
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
TxtMatchingStartText
,
1
,
1
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMatchingEnd
,
2
,
1
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
TxtMatchingEndText
,
3
,
1
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMatchingMiddle
,
0
,
2
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
TxtMatchingMiddleText
,
1
,
2
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkCaseSensitivity
,
2
,
2
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChoMatchMiddleType
,
0
,
3
);
this
.
tableLayoutPanel1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
tableLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
tableLayoutPanel1
.
Name
=
"tableLayoutPanel1"
;
this
.
tableLayoutPanel1
.
RowCount
=
4
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
56F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
56F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
56F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
56F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
830
,
222
);
this
.
tableLayoutPanel1
.
TabIndex
=
0
;
//
// ChkCheckCodeType
//
this
.
ChkCheckCodeType
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkCheckCodeType
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkCheckCodeType
.
BorderWidth
=
0
;
this
.
ChkCheckCodeType
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkCheckCodeType
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkCheckCodeType
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
4
);
this
.
ChkCheckCodeType
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkCheckCodeType
.
Name
=
"ChkCheckCodeType"
;
this
.
ChkCheckCodeType
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkCheckCodeType
.
Size
=
new
System
.
Drawing
.
Size
(
199
,
48
);
this
.
ChkCheckCodeType
.
TabIndex
=
52
;
this
.
ChkCheckCodeType
.
Text
=
"CheckCodeType"
;
this
.
ChkCheckCodeType
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// LblCodeType
//
this
.
LblCodeType
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
LblCodeType
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LblCodeType
.
BorderWidth
=
0
;
this
.
tableLayoutPanel1
.
SetColumnSpan
(
this
.
LblCodeType
,
2
);
this
.
LblCodeType
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LblCodeType
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblCodeType
.
Location
=
new
System
.
Drawing
.
Point
(
211
,
4
);
this
.
LblCodeType
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblCodeType
.
Name
=
"LblCodeType"
;
this
.
LblCodeType
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblCodeType
.
Size
=
new
System
.
Drawing
.
Size
(
406
,
48
);
this
.
LblCodeType
.
TabIndex
=
53
;
this
.
LblCodeType
.
Text
=
"-"
;
this
.
LblCodeType
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// ChkMatchingStart
//
this
.
ChkMatchingStart
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMatchingStart
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMatchingStart
.
BorderWidth
=
0
;
this
.
ChkMatchingStart
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMatchingStart
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMatchingStart
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
60
);
this
.
ChkMatchingStart
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMatchingStart
.
Name
=
"ChkMatchingStart"
;
this
.
ChkMatchingStart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMatchingStart
.
Size
=
new
System
.
Drawing
.
Size
(
199
,
48
);
this
.
ChkMatchingStart
.
TabIndex
=
54
;
this
.
ChkMatchingStart
.
Text
=
"Start"
;
this
.
ChkMatchingStart
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// TxtMatchingStartText
//
this
.
TxtMatchingStartText
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
TxtMatchingStartText
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
TxtMatchingStartText
.
BorderWidth
=
2
;
this
.
TxtMatchingStartText
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
TxtMatchingStartText
.
Location
=
new
System
.
Drawing
.
Point
(
211
,
60
);
this
.
TxtMatchingStartText
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
TxtMatchingStartText
.
MaxLength
=
32767
;
this
.
TxtMatchingStartText
.
Name
=
"TxtMatchingStartText"
;
this
.
TxtMatchingStartText
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
TxtMatchingStartText
.
SelectedText
=
""
;
this
.
TxtMatchingStartText
.
SelectionLength
=
0
;
this
.
TxtMatchingStartText
.
SelectionStart
=
0
;
this
.
TxtMatchingStartText
.
ShowDel
=
true
;
this
.
TxtMatchingStartText
.
ShowQuery
=
false
;
this
.
TxtMatchingStartText
.
Size
=
new
System
.
Drawing
.
Size
(
199
,
48
);
this
.
TxtMatchingStartText
.
TabIndex
=
55
;
this
.
TxtMatchingStartText
.
Text
=
"faceTextBox1"
;
//
// ChkMatchingEnd
//
this
.
ChkMatchingEnd
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMatchingEnd
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMatchingEnd
.
BorderWidth
=
0
;
this
.
ChkMatchingEnd
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMatchingEnd
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMatchingEnd
.
Location
=
new
System
.
Drawing
.
Point
(
418
,
60
);
this
.
ChkMatchingEnd
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMatchingEnd
.
Name
=
"ChkMatchingEnd"
;
this
.
ChkMatchingEnd
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMatchingEnd
.
Size
=
new
System
.
Drawing
.
Size
(
199
,
48
);
this
.
ChkMatchingEnd
.
TabIndex
=
56
;
this
.
ChkMatchingEnd
.
Text
=
"End"
;
this
.
ChkMatchingEnd
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// TxtMatchingEndText
//
this
.
TxtMatchingEndText
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
TxtMatchingEndText
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
TxtMatchingEndText
.
BorderWidth
=
2
;
this
.
TxtMatchingEndText
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
TxtMatchingEndText
.
Location
=
new
System
.
Drawing
.
Point
(
625
,
60
);
this
.
TxtMatchingEndText
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
TxtMatchingEndText
.
MaxLength
=
32767
;
this
.
TxtMatchingEndText
.
Name
=
"TxtMatchingEndText"
;
this
.
TxtMatchingEndText
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
TxtMatchingEndText
.
SelectedText
=
""
;
this
.
TxtMatchingEndText
.
SelectionLength
=
0
;
this
.
TxtMatchingEndText
.
SelectionStart
=
0
;
this
.
TxtMatchingEndText
.
ShowDel
=
true
;
this
.
TxtMatchingEndText
.
ShowQuery
=
false
;
this
.
TxtMatchingEndText
.
Size
=
new
System
.
Drawing
.
Size
(
201
,
48
);
this
.
TxtMatchingEndText
.
TabIndex
=
57
;
this
.
TxtMatchingEndText
.
Text
=
"faceTextBox2"
;
//
// ChkMatchingMiddle
//
this
.
ChkMatchingMiddle
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMatchingMiddle
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMatchingMiddle
.
BorderWidth
=
0
;
this
.
ChkMatchingMiddle
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMatchingMiddle
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMatchingMiddle
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
116
);
this
.
ChkMatchingMiddle
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMatchingMiddle
.
Name
=
"ChkMatchingMiddle"
;
this
.
ChkMatchingMiddle
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMatchingMiddle
.
Size
=
new
System
.
Drawing
.
Size
(
199
,
48
);
this
.
ChkMatchingMiddle
.
TabIndex
=
58
;
this
.
ChkMatchingMiddle
.
Text
=
"Middle"
;
this
.
ChkMatchingMiddle
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// TxtMatchingMiddleText
//
this
.
TxtMatchingMiddleText
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
TxtMatchingMiddleText
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
TxtMatchingMiddleText
.
BorderWidth
=
2
;
this
.
TxtMatchingMiddleText
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
TxtMatchingMiddleText
.
Location
=
new
System
.
Drawing
.
Point
(
211
,
116
);
this
.
TxtMatchingMiddleText
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
TxtMatchingMiddleText
.
MaxLength
=
32767
;
this
.
TxtMatchingMiddleText
.
Name
=
"TxtMatchingMiddleText"
;
this
.
TxtMatchingMiddleText
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
TxtMatchingMiddleText
.
SelectedText
=
""
;
this
.
TxtMatchingMiddleText
.
SelectionLength
=
0
;
this
.
TxtMatchingMiddleText
.
SelectionStart
=
0
;
this
.
TxtMatchingMiddleText
.
ShowDel
=
true
;
this
.
TxtMatchingMiddleText
.
ShowQuery
=
false
;
this
.
TxtMatchingMiddleText
.
Size
=
new
System
.
Drawing
.
Size
(
199
,
48
);
this
.
TxtMatchingMiddleText
.
TabIndex
=
59
;
this
.
TxtMatchingMiddleText
.
Text
=
"faceTextBox3"
;
//
// ChkCaseSensitivity
//
this
.
ChkCaseSensitivity
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkCaseSensitivity
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkCaseSensitivity
.
BorderWidth
=
0
;
this
.
ChkCaseSensitivity
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkCaseSensitivity
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkCaseSensitivity
.
Location
=
new
System
.
Drawing
.
Point
(
418
,
116
);
this
.
ChkCaseSensitivity
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkCaseSensitivity
.
Name
=
"ChkCaseSensitivity"
;
this
.
ChkCaseSensitivity
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkCaseSensitivity
.
Size
=
new
System
.
Drawing
.
Size
(
199
,
48
);
this
.
ChkCaseSensitivity
.
TabIndex
=
60
;
this
.
ChkCaseSensitivity
.
Text
=
"Sensitivity"
;
this
.
ChkCaseSensitivity
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// ChoMatchMiddleType
//
this
.
ChoMatchMiddleType
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChoMatchMiddleType
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChoMatchMiddleType
.
BorderWidth
=
2
;
this
.
ChoMatchMiddleType
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChoMatchMiddleType
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChoMatchMiddleType
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
172
);
this
.
ChoMatchMiddleType
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChoMatchMiddleType
.
Name
=
"ChoMatchMiddleType"
;
this
.
ChoMatchMiddleType
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChoMatchMiddleType
.
SelectedIndex
=
-
1
;
this
.
ChoMatchMiddleType
.
SelectedText
=
""
;
this
.
ChoMatchMiddleType
.
Size
=
new
System
.
Drawing
.
Size
(
199
,
48
);
this
.
ChoMatchMiddleType
.
TabIndex
=
61
;
this
.
ChoMatchMiddleType
.
Text
=
"faceComboBox1"
;
this
.
ChoMatchMiddleType
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
//
// NudMiddleTextCount
//
this
.
NudMiddleTextCount
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
NudMiddleTextCount
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
NudMiddleTextCount
.
BorderWidth
=
2
;
this
.
NudMiddleTextCount
.
DecimalPlaces
=
0
;
this
.
NudMiddleTextCount
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
NudMiddleTextCount
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
NudMiddleTextCount
.
Increment
=
1F
;
this
.
NudMiddleTextCount
.
Location
=
new
System
.
Drawing
.
Point
(
211
,
172
);
this
.
NudMiddleTextCount
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudMiddleTextCount
.
Maximum
=
100F
;
this
.
NudMiddleTextCount
.
Minimum
=
1F
;
this
.
NudMiddleTextCount
.
Name
=
"NudMiddleTextCount"
;
this
.
NudMiddleTextCount
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudMiddleTextCount
.
Size
=
new
System
.
Drawing
.
Size
(
199
,
48
);
this
.
NudMiddleTextCount
.
TabIndex
=
62
;
this
.
NudMiddleTextCount
.
Text
=
"1"
;
this
.
NudMiddleTextCount
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
NudMiddleTextCount
.
Value
=
1F
;
//
// FrmCodeExtract
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12
F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
8F
,
15
F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
765
,
817
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
858
,
899
);
this
.
Controls
.
Add
(
this
.
PnlTemp
);
this
.
Controls
.
Add
(
this
.
BtnAddMatch
);
this
.
Controls
.
Add
(
this
.
BtnCancel
);
this
.
Controls
.
Add
(
this
.
BtnOK
);
this
.
Controls
.
Add
(
this
.
LblCode
);
this
.
Controls
.
Add
(
this
.
flowLayoutPanel1
);
this
.
Controls
.
Add
(
this
.
facePanel1
);
this
.
Controls
.
Add
(
this
.
BtnCancel
);
this
.
Controls
.
Add
(
this
.
BtnOK
);
this
.
Icon
=
global
::
SmartScan
.
Properties
.
Resources
.
NEO_64
;
this
.
Name
=
"FrmCodeExtract"
;
this
.
Text
=
"FrmCodeExtract"
;
this
.
Load
+=
new
System
.
EventHandler
(
this
.
FrmCodeExtract_Load
);
this
.
Controls
.
SetChildIndex
(
this
.
flowLayoutPanel1
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
LblCode
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
BtnOK
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
BtnCancel
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
BtnAddMatch
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
facePanel1
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
flowLayoutPanel1
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
LblCode
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
PnlTemp
,
0
);
this
.
facePanel1
.
ResumeLayout
(
false
);
this
.
tableLayoutPanel1
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
this
.
PerformLayout
();
}
...
...
@@ -157,8 +396,20 @@ namespace SmartScan
private
Asa
.
FaceControl
.
FaceLabel
LblCode
;
private
Asa
.
FaceControl
.
FaceButton
BtnOK
;
private
Asa
.
FaceControl
.
FaceButton
BtnCancel
;
private
Asa
.
FaceControl
.
FaceButton
BtnAddMatch
;
private
Asa
.
FaceControl
.
FacePanel
PnlTemp
;
private
System
.
Windows
.
Forms
.
FlowLayoutPanel
flowLayoutPanel1
;
private
Asa
.
FaceControl
.
FacePanel
facePanel1
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel1
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkCheckCodeType
;
private
Asa
.
FaceControl
.
FaceLabel
LblCodeType
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkMatchingStart
;
private
Asa
.
FaceControl
.
FaceTextBox
TxtMatchingStartText
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkMatchingEnd
;
private
Asa
.
FaceControl
.
FaceTextBox
TxtMatchingEndText
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkMatchingMiddle
;
private
Asa
.
FaceControl
.
FaceTextBox
TxtMatchingMiddleText
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkCaseSensitivity
;
private
Asa
.
FaceControl
.
FaceComboBox
ChoMatchMiddleType
;
private
Asa
.
FaceControl
.
FaceNumericUpDown
NudMiddleTextCount
;
}
}
\ No newline at end of file
SmartScan/Form/FrmCodeExtract.cs
查看文件 @
70e21b4
...
...
@@ -21,6 +21,7 @@ namespace SmartScan
public
readonly
Dictionary
<
FaceButton
,
UsrCodeExtractList
>
matchButton
=
new
();
int
windowHeight
=
0
;
MaterialCodeMatch
matchShared
=
new
MaterialCodeMatch
();
public
FrmCodeExtract
(
string
codeText
,
int
codeID
,
string
codeType
,
List
<
MaterialCodeMatch
>
match
)
{
InitializeComponent
();
...
...
@@ -29,6 +30,28 @@ namespace SmartScan
this
.
codeText
=
codeText
.
Replace
(
"\n"
,
""
);
this
.
codeID
=
codeID
;
this
.
codeType
=
codeType
;
TxtMatchingEndText
.
Tag
=
"not"
;
TxtMatchingMiddleText
.
Tag
=
"not"
;
TxtMatchingStartText
.
Tag
=
"not"
;
Language
.
SetLanguage
(
this
);
ChoMatchMiddleType
.
Items
.
Add
(
Language
.
Dialog
(
"MatchType_max"
));
ChoMatchMiddleType
.
Items
.
Add
(
Language
.
Dialog
(
"MatchType_equals"
));
ChoMatchMiddleType
.
Items
.
Add
(
Language
.
Dialog
(
"MatchType_min"
));
if
(
match
.
Count
>
0
)
{
matchShared
=
match
[
0
];
}
ChkMatchingStart
.
Checked
=
matchShared
.
MatchStart
;
TxtMatchingStartText
.
Text
=
matchShared
.
StartText
;
ChkMatchingEnd
.
Checked
=
matchShared
.
MatchEnd
;
TxtMatchingEndText
.
Text
=
matchShared
.
EndText
;
ChkMatchingMiddle
.
Checked
=
matchShared
.
MatchMiddle
;
TxtMatchingMiddleText
.
Text
=
matchShared
.
MiddleText
;
NudMiddleTextCount
.
Value
=
matchShared
.
MiddleTextCount
;
ChkCaseSensitivity
.
Checked
=
matchShared
.
CaseSensitive
;
ChoMatchMiddleType
.
SelectedIndex
=
matchShared
.
MatchMiddleType
+
1
;
ChkCheckCodeType
.
Checked
=
matchShared
.
CheckCodeType
;
LblCodeType
.
Text
=
codeType
;
for
(
int
i
=
0
;
i
<
match
.
Count
;
i
++)
AddMatch
(
match
[
i
]);
...
...
@@ -52,6 +75,7 @@ namespace SmartScan
UsrCodeExtractList
list
=
new
(
codeText
,
codeType
,
codeText
.
Length
,
match
);
list
.
DelClick
+=
List_DelClick
;
list
.
AddClick
+=
List_AddClick
;
list
.
KeyChanged
+=
List_KeyChanged
;
matchButton
.
Add
(
btn
,
list
);
...
...
@@ -66,23 +90,29 @@ namespace SmartScan
clacWindowHeight
();
}
private
void
List_AddClick
(
object
sender
,
EventArgs
e
)
{
BtnAddMatch_Click
(
sender
,
e
);
}
void
clacWindowHeight
()
{
if
(
flowLayoutPanel1
.
Controls
.
Count
>
14
)
{
matchButton
.
Values
.
ToList
().
ForEach
((
x
)=>
{
x
.
GetPanel
().
Top
=
184
+
56
*
2
;
});
matchButton
.
Values
.
ToList
().
ForEach
((
x
)=>
{
x
.
GetPanel
().
Top
=
418
+
56
*
2
;
});
//184
flowLayoutPanel1
.
Height
=
56
*
3
;
this
.
Height
=
windowHeight
+
56
*
2
-
4
;
}
else
if
(
flowLayoutPanel1
.
Controls
.
Count
>
7
)
{
matchButton
.
Values
.
ToList
().
ForEach
((
x
)
=>
{
x
.
GetPanel
().
Top
=
184
+
56
*
1
;
});
matchButton
.
Values
.
ToList
().
ForEach
((
x
)
=>
{
x
.
GetPanel
().
Top
=
418
+
56
*
1
;
});
flowLayoutPanel1
.
Height
=
56
*
2
-
4
;
this
.
Height
=
windowHeight
+
56
;
}
else
{
matchButton
.
Values
.
ToList
().
ForEach
((
x
)
=>
{
x
.
GetPanel
().
Top
=
184
;
});
matchButton
.
Values
.
ToList
().
ForEach
((
x
)
=>
{
x
.
GetPanel
().
Top
=
418
;
});
flowLayoutPanel1
.
Height
=
56
-
4
;
this
.
Height
=
windowHeight
;
}
...
...
SmartScan/Form/FrmMain.cs
查看文件 @
70e21b4
...
...
@@ -364,7 +364,10 @@ namespace SmartScan
private
void
BtnSet_Click
(
object
sender
,
EventArgs
e
)
{
monitor
.
Pause
=
true
;
new
FrmSet
().
ShowDialog
();
FrmSet
set
=
new
FrmSet
();
set
.
Width
=
PicShow
.
Width
;
set
.
Height
=
PicShow
.
Height
;
set
.
ShowDialog
();
monitor
.
Pause
=
false
;
}
...
...
SmartScan/Form/FrmSet.Designer.cs
查看文件 @
70e21b4
...
...
@@ -29,8 +29,7 @@ namespace SmartScan
/// </summary>
private
void
InitializeComponent
()
{
this
.
BtnWorkMode
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
BtnIdentify
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
BtnGenneralSetting
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
BtnLabel
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
BtnMaterial
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
BtnKeyword
=
new
Asa
.
FaceControl
.
FaceButton
();
...
...
@@ -41,35 +40,20 @@ namespace SmartScan
this
.
BtnDataSource
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
SuspendLayout
();
//
// BtnWorkMode
//
this
.
BtnWorkMode
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
BtnWorkMode
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
BtnWorkMode
.
BorderWidth
=
2
;
this
.
BtnWorkMode
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnWorkMode
.
HoldPress
=
false
;
this
.
BtnWorkMode
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
55
);
this
.
BtnWorkMode
.
Name
=
"BtnWorkMode"
;
this
.
BtnWorkMode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnWorkMode
.
Size
=
new
System
.
Drawing
.
Size
(
160
,
50
);
this
.
BtnWorkMode
.
TabIndex
=
3
;
this
.
BtnWorkMode
.
Text
=
"Work"
;
this
.
BtnWorkMode
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnMenu_Click
);
//
// BtnIdentify
//
this
.
BtnIdentify
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
BtnIdentify
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
BtnIdentify
.
BorderWidth
=
2
;
this
.
BtnIdentify
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnIdentify
.
HoldPress
=
false
;
this
.
BtnIdentify
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
111
);
this
.
BtnIdentify
.
Name
=
"BtnIdentify"
;
this
.
BtnIdentify
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnIdentify
.
Size
=
new
System
.
Drawing
.
Size
(
160
,
50
);
this
.
BtnIdentify
.
TabIndex
=
4
;
this
.
BtnIdentify
.
Text
=
"Identify"
;
this
.
BtnIdentify
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnMenu_Click
);
// BtnGenneralSetting
//
this
.
BtnGenneralSetting
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
BtnGenneralSetting
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
BtnGenneralSetting
.
BorderWidth
=
2
;
this
.
BtnGenneralSetting
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnGenneralSetting
.
HoldPress
=
false
;
this
.
BtnGenneralSetting
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
279
);
this
.
BtnGenneralSetting
.
Name
=
"BtnGenneralSetting"
;
this
.
BtnGenneralSetting
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnGenneralSetting
.
Size
=
new
System
.
Drawing
.
Size
(
160
,
50
);
this
.
BtnGenneralSetting
.
TabIndex
=
3
;
this
.
BtnGenneralSetting
.
Text
=
"GeneralSetting"
;
this
.
BtnGenneralSetting
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnMenu_Click
);
//
// BtnLabel
//
...
...
@@ -93,7 +77,7 @@ namespace SmartScan
this
.
BtnMaterial
.
BorderWidth
=
2
;
this
.
BtnMaterial
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnMaterial
.
HoldPress
=
false
;
this
.
BtnMaterial
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
223
);
this
.
BtnMaterial
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
111
);
this
.
BtnMaterial
.
Name
=
"BtnMaterial"
;
this
.
BtnMaterial
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnMaterial
.
Size
=
new
System
.
Drawing
.
Size
(
160
,
50
);
...
...
@@ -108,7 +92,7 @@ namespace SmartScan
this
.
BtnKeyword
.
BorderWidth
=
2
;
this
.
BtnKeyword
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnKeyword
.
HoldPress
=
false
;
this
.
BtnKeyword
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
279
);
this
.
BtnKeyword
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
55
);
this
.
BtnKeyword
.
Name
=
"BtnKeyword"
;
this
.
BtnKeyword
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnKeyword
.
Size
=
new
System
.
Drawing
.
Size
(
160
,
50
);
...
...
@@ -124,7 +108,7 @@ namespace SmartScan
this
.
BtnOK
.
BorderWidth
=
2
;
this
.
BtnOK
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnOK
.
HoldPress
=
false
;
this
.
BtnOK
.
Location
=
new
System
.
Drawing
.
Point
(
891
,
82
7
);
this
.
BtnOK
.
Location
=
new
System
.
Drawing
.
Point
(
641
,
71
7
);
this
.
BtnOK
.
Name
=
"BtnOK"
;
this
.
BtnOK
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnOK
.
Size
=
new
System
.
Drawing
.
Size
(
120
,
40
);
...
...
@@ -140,7 +124,7 @@ namespace SmartScan
this
.
BtnCancel
.
BorderWidth
=
2
;
this
.
BtnCancel
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnCancel
.
HoldPress
=
false
;
this
.
BtnCancel
.
Location
=
new
System
.
Drawing
.
Point
(
1017
,
82
7
);
this
.
BtnCancel
.
Location
=
new
System
.
Drawing
.
Point
(
767
,
71
7
);
this
.
BtnCancel
.
Name
=
"BtnCancel"
;
this
.
BtnCancel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnCancel
.
Size
=
new
System
.
Drawing
.
Size
(
120
,
40
);
...
...
@@ -160,7 +144,7 @@ namespace SmartScan
this
.
PnlTemp
.
Location
=
new
System
.
Drawing
.
Point
(
177
,
55
);
this
.
PnlTemp
.
Name
=
"PnlTemp"
;
this
.
PnlTemp
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
PnlTemp
.
Size
=
new
System
.
Drawing
.
Size
(
1086
,
76
6
);
this
.
PnlTemp
.
Size
=
new
System
.
Drawing
.
Size
(
836
,
65
6
);
this
.
PnlTemp
.
TabIndex
=
11
;
this
.
PnlTemp
.
Text
=
"facePanel1"
;
this
.
PnlTemp
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
...
@@ -174,7 +158,7 @@ namespace SmartScan
this
.
BtnApply
.
BorderWidth
=
2
;
this
.
BtnApply
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnApply
.
HoldPress
=
false
;
this
.
BtnApply
.
Location
=
new
System
.
Drawing
.
Point
(
1143
,
82
7
);
this
.
BtnApply
.
Location
=
new
System
.
Drawing
.
Point
(
893
,
71
7
);
this
.
BtnApply
.
Name
=
"BtnApply"
;
this
.
BtnApply
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnApply
.
Size
=
new
System
.
Drawing
.
Size
(
120
,
40
);
...
...
@@ -189,18 +173,18 @@ namespace SmartScan
this
.
BtnDataSource
.
BorderWidth
=
2
;
this
.
BtnDataSource
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnDataSource
.
HoldPress
=
false
;
this
.
BtnDataSource
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
335
);
this
.
BtnDataSource
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
223
);
this
.
BtnDataSource
.
Name
=
"BtnDataSource"
;
this
.
BtnDataSource
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnDataSource
.
Size
=
new
System
.
Drawing
.
Size
(
160
,
50
);
this
.
BtnDataSource
.
TabIndex
=
7
;
this
.
BtnDataSource
.
Text
=
"
数据源
"
;
this
.
BtnDataSource
.
Text
=
"
Datasource
"
;
this
.
BtnDataSource
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnMenu_Click
);
//
// FrmSet
//
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
274
,
87
8
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
024
,
76
8
);
this
.
Controls
.
Add
(
this
.
BtnApply
);
this
.
Controls
.
Add
(
this
.
PnlTemp
);
this
.
Controls
.
Add
(
this
.
BtnCancel
);
...
...
@@ -209,15 +193,13 @@ namespace SmartScan
this
.
Controls
.
Add
(
this
.
BtnKeyword
);
this
.
Controls
.
Add
(
this
.
BtnMaterial
);
this
.
Controls
.
Add
(
this
.
BtnLabel
);
this
.
Controls
.
Add
(
this
.
BtnIdentify
);
this
.
Controls
.
Add
(
this
.
BtnWorkMode
);
this
.
Controls
.
Add
(
this
.
BtnGenneralSetting
);
this
.
Icon
=
global
::
SmartScan
.
Properties
.
Resources
.
NEO_64
;
this
.
Name
=
"FrmSet"
;
this
.
ShowIcon
=
false
;
this
.
Text
=
"FrmSet"
;
this
.
Load
+=
new
System
.
EventHandler
(
this
.
FrmSet_Load
);
this
.
Controls
.
SetChildIndex
(
this
.
BtnWorkMode
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
BtnIdentify
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
BtnGenneralSetting
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
BtnLabel
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
BtnMaterial
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
BtnKeyword
,
0
);
...
...
@@ -232,8 +214,7 @@ namespace SmartScan
#
endregion
private
Asa
.
FaceControl
.
FaceButton
BtnWorkMode
;
private
Asa
.
FaceControl
.
FaceButton
BtnIdentify
;
private
Asa
.
FaceControl
.
FaceButton
BtnGenneralSetting
;
private
Asa
.
FaceControl
.
FaceButton
BtnLabel
;
private
Asa
.
FaceControl
.
FaceButton
BtnMaterial
;
private
Asa
.
FaceControl
.
FaceButton
BtnKeyword
;
...
...
SmartScan/Form/FrmSet.cs
查看文件 @
70e21b4
...
...
@@ -21,12 +21,14 @@ namespace SmartScan
}
private
void
FrmSet_Load
(
object
sender
,
EventArgs
e
)
{
menu
.
Add
(
BtnWorkMode
,
new
UsrWorkMode
());
menu
.
Add
(
BtnIdentify
,
new
UsrCamera
());
menu
.
Add
(
BtnLabel
,
new
UsrPrintTemplate
());
menu
.
Add
(
BtnMaterial
,
new
UsrMaterialTemplate
());
menu
.
Add
(
BtnKeyword
,
new
UsrMacro
());
menu
.
Add
(
BtnMaterial
,
new
UsrMaterialTemplate
());
menu
.
Add
(
BtnLabel
,
new
UsrPrintTemplate
());
menu
.
Add
(
BtnDataSource
,
new
UsrDataSource
());
menu
.
Add
(
BtnGenneralSetting
,
new
UsrWorkMode
());
// menu.Add(BtnIdentify, new UsrCamera());
foreach
(
FaceButton
button
in
menu
.
Keys
)
{
...
...
@@ -40,8 +42,8 @@ namespace SmartScan
Controls
.
Add
(
pnl
);
}
Btn
WorkMode
.
HoldPress
=
true
;
menu
[
Btn
WorkMode
].
GetPanel
().
Visible
=
true
;
Btn
Keyword
.
HoldPress
=
true
;
menu
[
Btn
Keyword
].
GetPanel
().
Visible
=
true
;
}
private
void
BtnMenu_Click
(
object
sender
,
EventArgs
e
)
...
...
SmartScan/SetControl/UsrCodeExtractList.Designer.cs
查看文件 @
70e21b4
...
...
@@ -30,38 +30,32 @@ namespace SmartScan
private
void
InitializeComponent
()
{
this
.
facePanel1
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
facePanel4
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
ChoMatchMiddleType
=
new
Asa
.
FaceControl
.
FaceComboBox
();
this
.
ChkMatchisnumber
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
LblCodeType
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
ChkCheckCodeType
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
NudMiddleTextCount
=
new
Asa
.
FaceControl
.
FaceNumericUpDown
();
this
.
NudSplitPart
=
new
Asa
.
FaceControl
.
FaceNumericUpDown
();
this
.
LblSplitPart
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
CboMatchingSplit
=
new
Asa
.
FaceControl
.
FaceComboBox
();
this
.
CboKeyword
=
new
Asa
.
FaceControl
.
FaceComboBox
();
this
.
ChkMatchingSplit
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
ChkMatchingStart
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
ChkLengthEnd
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
ChkMatchingEnd
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
BtnAdd
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
NudMaxLength
=
new
Asa
.
FaceControl
.
FaceNumericUpDown
();
this
.
ChkMaxLength
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
NudMinLength
=
new
Asa
.
FaceControl
.
FaceNumericUpDown
();
this
.
ChkMinLength
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
NudSplitPart
=
new
Asa
.
FaceControl
.
FaceNumericUpDown
();
this
.
NudLength
=
new
Asa
.
FaceControl
.
FaceNumericUpDown
();
this
.
ChkMatchingMiddle
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
NudStart
=
new
Asa
.
FaceControl
.
FaceNumericUpDown
();
this
.
TxtMatchingStartText
=
new
Asa
.
FaceControl
.
FaceTextBox
();
this
.
CboKeyword
=
new
Asa
.
FaceControl
.
FaceComboBox
();
this
.
TxtMatchingEndText
=
new
Asa
.
FaceControl
.
FaceTextBox
();
this
.
LblLength
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
TxtMatchingMiddleText
=
new
Asa
.
FaceControl
.
FaceTextBox
();
this
.
LblStart
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
LblLength
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
NudStart
=
new
Asa
.
FaceControl
.
FaceNumericUpDown
();
this
.
LblKeyword
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
ChkCaseSensitivity
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
ChkMinLength
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
NudMinLength
=
new
Asa
.
FaceControl
.
FaceNumericUpDown
();
this
.
ChkMaxLength
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
NudMaxLength
=
new
Asa
.
FaceControl
.
FaceNumericUpDown
();
this
.
LblSplitPart
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
CboMatchingSplit
=
new
Asa
.
FaceControl
.
FaceComboBox
();
this
.
ChkLengthEnd
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
BtnDel
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
ChkMatchisnumber
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
facePanel2
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
faceTextBox1
=
new
Asa
.
FaceControl
.
FaceTextBox
();
this
.
facePanel1
.
SuspendLayout
();
this
.
facePanel4
.
SuspendLayout
();
this
.
tableLayoutPanel1
.
SuspendLayout
();
this
.
facePanel2
.
SuspendLayout
();
this
.
SuspendLayout
();
//
// facePanel1
...
...
@@ -69,160 +63,206 @@ namespace SmartScan
this
.
facePanel1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
facePanel1
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
facePanel1
.
BorderWidth
=
2
;
this
.
facePanel1
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
this
.
facePanel1
.
Controls
.
Add
(
this
.
facePanel4
);
this
.
facePanel1
.
Controls
.
Add
(
this
.
facePanel2
);
this
.
facePanel1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
facePanel1
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
facePanel1
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
7
);
this
.
facePanel1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
facePanel1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
facePanel1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
facePanel1
.
Name
=
"facePanel1"
;
this
.
facePanel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
facePanel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
facePanel1
.
ShowText
=
false
;
this
.
facePanel1
.
Size
=
new
System
.
Drawing
.
Size
(
1199
,
1051
);
this
.
facePanel1
.
Size
=
new
System
.
Drawing
.
Size
(
697
,
416
);
this
.
facePanel1
.
TabIndex
=
0
;
this
.
facePanel1
.
Text
=
"facePanel1"
;
this
.
facePanel1
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
//
// facePanel4
//
this
.
facePanel4
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
facePanel4
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
facePanel4
.
BorderWidth
=
2
;
this
.
facePanel4
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
this
.
facePanel4
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
facePanel4
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
facePanel4
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
65
);
this
.
facePanel4
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
facePanel4
.
Name
=
"facePanel4"
;
this
.
facePanel4
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
facePanel4
.
ShowText
=
false
;
this
.
facePanel4
.
Size
=
new
System
.
Drawing
.
Size
(
689
,
347
);
this
.
facePanel4
.
TabIndex
=
46
;
this
.
facePanel4
.
Text
=
"facePanel4"
;
this
.
facePanel4
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
//
// tableLayoutPanel1
//
this
.
tableLayoutPanel1
.
ColumnCount
=
4
;
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
28F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
22F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
28F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
22F
));
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChoMatchMiddleType
,
0
,
4
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMatchisnumber
,
0
,
7
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
LblCodeType
,
3
,
7
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkCheckCodeType
,
2
,
7
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
NudMiddleTextCount
,
1
,
4
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
NudSplitPart
,
1
,
6
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
LblSplitPart
,
0
,
6
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
CboMatchingSplit
,
1
,
5
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMatchingSplit
,
0
,
5
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMatchingStart
,
0
,
1
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkLengthEnd
,
2
,
4
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMatchingEnd
,
0
,
2
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
NudLength
,
3
,
3
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMatchingMiddle
,
0
,
3
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
NudStart
,
3
,
2
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
TxtMatchingStartText
,
1
,
1
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
CboKeyword
,
3
,
1
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
TxtMatchingEndText
,
1
,
2
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
LblLength
,
2
,
3
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
TxtMatchingMiddleText
,
1
,
3
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
LblStart
,
2
,
2
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
LblKeyword
,
2
,
1
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkCaseSensitivity
,
0
,
8
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMinLength
,
2
,
5
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
NudMinLength
,
3
,
5
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMaxLength
,
2
,
6
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
NudMaxLength
,
3
,
6
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
BtnDel
,
0
,
9
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
faceTextBox1
,
0
,
0
);
this
.
tableLayoutPanel1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
tableLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
7
);
this
.
tableLayoutPanel1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
25F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
25F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
25F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
25F
));
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
CboKeyword
,
3
,
0
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMatchingSplit
,
0
,
1
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
BtnAdd
,
0
,
5
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
NudMaxLength
,
3
,
4
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMaxLength
,
2
,
4
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
NudMinLength
,
1
,
4
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMinLength
,
0
,
4
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
NudSplitPart
,
3
,
1
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
NudLength
,
3
,
2
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
LblStart
,
0
,
2
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
LblLength
,
2
,
2
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
NudStart
,
1
,
2
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
LblKeyword
,
2
,
0
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
LblSplitPart
,
2
,
1
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
CboMatchingSplit
,
1
,
1
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkLengthEnd
,
2
,
3
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
BtnDel
,
3
,
5
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
ChkMatchisnumber
,
0
,
3
);
this
.
tableLayoutPanel1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Top
;
this
.
tableLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
4
);
this
.
tableLayoutPanel1
.
Name
=
"tableLayoutPanel1"
;
this
.
tableLayoutPanel1
.
RowCount
=
10
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
101F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
101F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
101F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
101F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
101F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
101F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
101F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
101F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
101F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
101F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
1185
,
1037
);
this
.
tableLayoutPanel1
.
TabIndex
=
43
;
//
// ChoMatchMiddleType
//
this
.
ChoMatchMiddleType
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChoMatchMiddleType
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChoMatchMiddleType
.
BorderWidth
=
2
;
this
.
ChoMatchMiddleType
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChoMatchMiddleType
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChoMatchMiddleType
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
411
);
this
.
ChoMatchMiddleType
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChoMatchMiddleType
.
Name
=
"ChoMatchMiddleType"
;
this
.
ChoMatchMiddleType
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChoMatchMiddleType
.
SelectedIndex
=
-
1
;
this
.
ChoMatchMiddleType
.
SelectedText
=
""
;
this
.
ChoMatchMiddleType
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
87
);
this
.
ChoMatchMiddleType
.
TabIndex
=
54
;
this
.
ChoMatchMiddleType
.
Text
=
"faceComboBox1"
;
this
.
ChoMatchMiddleType
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
ChoMatchMiddleType
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
CboKeyword_SelectedIndexChanged
);
this
.
tableLayoutPanel1
.
RowCount
=
6
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
56F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
56F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
56F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
56F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
56F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
56F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
681
,
336
);
this
.
tableLayoutPanel1
.
TabIndex
=
44
;
//
// C
hkMatchisnumber
// C
boKeyword
//
this
.
ChkMatchisnumber
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMatchisnumber
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMatchisnumber
.
BorderWidth
=
0
;
this
.
ChkMatchisnumber
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMatchisnumber
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMatchisnumber
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
714
);
this
.
ChkMatchisnumber
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMatchisnumber
.
Name
=
"ChkMatchisnumber"
;
this
.
ChkMatchisnumber
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMatchisnumber
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
87
);
this
.
ChkMatchisnumber
.
TabIndex
=
53
;
this
.
ChkMatchisnumber
.
Text
=
"AsNumber"
;
this
.
ChkMatchisnumber
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
CboKeyword
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
CboKeyword
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
CboKeyword
.
BorderWidth
=
2
;
this
.
CboKeyword
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
CboKeyword
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
CboKeyword
.
Location
=
new
System
.
Drawing
.
Point
(
514
,
4
);
this
.
CboKeyword
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
CboKeyword
.
Name
=
"CboKeyword"
;
this
.
CboKeyword
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
CboKeyword
.
SelectedIndex
=
-
1
;
this
.
CboKeyword
.
SelectedText
=
""
;
this
.
CboKeyword
.
Size
=
new
System
.
Drawing
.
Size
(
163
,
48
);
this
.
CboKeyword
.
TabIndex
=
39
;
this
.
CboKeyword
.
Text
=
"faceComboBox1"
;
this
.
CboKeyword
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
CboKeyword
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
CboKeyword_SelectedIndexChanged
);
//
// ChkMatchingSplit
//
this
.
ChkMatchingSplit
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMatchingSplit
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMatchingSplit
.
BorderWidth
=
0
;
this
.
ChkMatchingSplit
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMatchingSplit
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMatchingSplit
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
60
);
this
.
ChkMatchingSplit
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMatchingSplit
.
Name
=
"ChkMatchingSplit"
;
this
.
ChkMatchingSplit
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMatchingSplit
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
48
);
this
.
ChkMatchingSplit
.
TabIndex
=
44
;
this
.
ChkMatchingSplit
.
Text
=
"Split"
;
this
.
ChkMatchingSplit
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
ChkMatchingSplit
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
ChkMatchingSplit_CheckedChanged
);
//
// BtnAdd
//
this
.
BtnAdd
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
BtnAdd
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
BtnAdd
.
BorderWidth
=
2
;
this
.
BtnAdd
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
BtnAdd
.
ForeColor
=
System
.
Drawing
.
Color
.
DeepSkyBlue
;
this
.
BtnAdd
.
HoldPress
=
false
;
this
.
BtnAdd
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
284
);
this
.
BtnAdd
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnAdd
.
Name
=
"BtnAdd"
;
this
.
BtnAdd
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnAdd
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
48
);
this
.
BtnAdd
.
TabIndex
=
54
;
this
.
BtnAdd
.
Text
=
"Add"
;
this
.
BtnAdd
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnAdd_Click
);
//
// NudMaxLength
//
this
.
NudMaxLength
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
NudMaxLength
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
NudMaxLength
.
BorderWidth
=
2
;
this
.
NudMaxLength
.
DecimalPlaces
=
0
;
this
.
NudMaxLength
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
NudMaxLength
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
NudMaxLength
.
Increment
=
1F
;
this
.
NudMaxLength
.
Location
=
new
System
.
Drawing
.
Point
(
514
,
228
);
this
.
NudMaxLength
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudMaxLength
.
Maximum
=
100F
;
this
.
NudMaxLength
.
Minimum
=
0F
;
this
.
NudMaxLength
.
Name
=
"NudMaxLength"
;
this
.
NudMaxLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudMaxLength
.
Size
=
new
System
.
Drawing
.
Size
(
163
,
48
);
this
.
NudMaxLength
.
TabIndex
=
35
;
this
.
NudMaxLength
.
Text
=
"0"
;
this
.
NudMaxLength
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
NudMaxLength
.
Value
=
0F
;
this
.
NudMaxLength
.
ValueChanged
+=
new
System
.
EventHandler
(
this
.
NudMaxLength_ValueChanged
);
//
// LblCodeType
//
this
.
LblCodeType
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
LblCodeType
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LblCodeType
.
BorderWidth
=
0
;
this
.
LblCodeType
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LblCodeType
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblCodeType
.
Location
=
new
System
.
Drawing
.
Point
(
929
,
714
);
this
.
LblCodeType
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
LblCodeType
.
Name
=
"LblCodeType"
;
this
.
LblCodeType
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
LblCodeType
.
Size
=
new
System
.
Drawing
.
Size
(
249
,
87
);
this
.
LblCodeType
.
TabIndex
=
52
;
this
.
LblCodeType
.
Text
=
"-"
;
this
.
LblCodeType
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// ChkCheckCodeType
//
this
.
ChkCheckCodeType
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkCheckCodeType
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkCheckCodeType
.
BorderWidth
=
0
;
this
.
ChkCheckCodeType
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkCheckCodeType
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkCheckCodeType
.
Location
=
new
System
.
Drawing
.
Point
(
598
,
714
);
this
.
ChkCheckCodeType
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkCheckCodeType
.
Name
=
"ChkCheckCodeType"
;
this
.
ChkCheckCodeType
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkCheckCodeType
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
87
);
this
.
ChkCheckCodeType
.
TabIndex
=
51
;
this
.
ChkCheckCodeType
.
Text
=
"CheckCodeType"
;
this
.
ChkCheckCodeType
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// NudMiddleTextCount
//
this
.
NudMiddleTextCount
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
NudMiddleTextCount
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
NudMiddleTextCount
.
BorderWidth
=
2
;
this
.
NudMiddleTextCount
.
DecimalPlaces
=
0
;
this
.
NudMiddleTextCount
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
NudMiddleTextCount
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
NudMiddleTextCount
.
Increment
=
1F
;
this
.
NudMiddleTextCount
.
Location
=
new
System
.
Drawing
.
Point
(
338
,
411
);
this
.
NudMiddleTextCount
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
NudMiddleTextCount
.
Maximum
=
100F
;
this
.
NudMiddleTextCount
.
Minimum
=
1F
;
this
.
NudMiddleTextCount
.
Name
=
"NudMiddleTextCount"
;
this
.
NudMiddleTextCount
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
NudMiddleTextCount
.
Size
=
new
System
.
Drawing
.
Size
(
246
,
87
);
this
.
NudMiddleTextCount
.
TabIndex
=
50
;
this
.
NudMiddleTextCount
.
Text
=
"1"
;
this
.
NudMiddleTextCount
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
NudMiddleTextCount
.
Value
=
1F
;
this
.
NudMiddleTextCount
.
ValueChanged
+=
new
System
.
EventHandler
(
this
.
NudMinLength_ValueChanged
);
// ChkMaxLength
//
this
.
ChkMaxLength
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMaxLength
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMaxLength
.
BorderWidth
=
0
;
this
.
ChkMaxLength
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMaxLength
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMaxLength
.
Location
=
new
System
.
Drawing
.
Point
(
344
,
228
);
this
.
ChkMaxLength
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMaxLength
.
Name
=
"ChkMaxLength"
;
this
.
ChkMaxLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMaxLength
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
48
);
this
.
ChkMaxLength
.
TabIndex
=
30
;
this
.
ChkMaxLength
.
Text
=
"Max"
;
this
.
ChkMaxLength
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
ChkMaxLength
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
ChkMaxLength_CheckedChanged
);
//
// NudMinLength
//
this
.
NudMinLength
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
NudMinLength
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
NudMinLength
.
BorderWidth
=
2
;
this
.
NudMinLength
.
DecimalPlaces
=
0
;
this
.
NudMinLength
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
NudMinLength
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
NudMinLength
.
Increment
=
1F
;
this
.
NudMinLength
.
Location
=
new
System
.
Drawing
.
Point
(
174
,
228
);
this
.
NudMinLength
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudMinLength
.
Maximum
=
100F
;
this
.
NudMinLength
.
Minimum
=
0F
;
this
.
NudMinLength
.
Name
=
"NudMinLength"
;
this
.
NudMinLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudMinLength
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
48
);
this
.
NudMinLength
.
TabIndex
=
34
;
this
.
NudMinLength
.
Text
=
"0"
;
this
.
NudMinLength
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
NudMinLength
.
Value
=
0F
;
this
.
NudMinLength
.
ValueChanged
+=
new
System
.
EventHandler
(
this
.
NudMinLength_ValueChanged
);
//
// ChkMinLength
//
this
.
ChkMinLength
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMinLength
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMinLength
.
BorderWidth
=
0
;
this
.
ChkMinLength
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMinLength
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMinLength
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
228
);
this
.
ChkMinLength
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMinLength
.
Name
=
"ChkMinLength"
;
this
.
ChkMinLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMinLength
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
48
);
this
.
ChkMinLength
.
TabIndex
=
29
;
this
.
ChkMinLength
.
Text
=
"Min"
;
this
.
ChkMinLength
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
ChkMinLength
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
ChkMinLength_CheckedChanged
);
//
// NudSplitPart
//
...
...
@@ -233,123 +273,19 @@ namespace SmartScan
this
.
NudSplitPart
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
NudSplitPart
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
NudSplitPart
.
Increment
=
1F
;
this
.
NudSplitPart
.
Location
=
new
System
.
Drawing
.
Point
(
338
,
613
);
this
.
NudSplitPart
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
NudSplitPart
.
Location
=
new
System
.
Drawing
.
Point
(
514
,
60
);
this
.
NudSplitPart
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudSplitPart
.
Maximum
=
100F
;
this
.
NudSplitPart
.
Minimum
=
1F
;
this
.
NudSplitPart
.
Name
=
"NudSplitPart"
;
this
.
NudSplitPart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
NudSplitPart
.
Size
=
new
System
.
Drawing
.
Size
(
246
,
87
);
this
.
NudSplitPart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudSplitPart
.
Size
=
new
System
.
Drawing
.
Size
(
163
,
48
);
this
.
NudSplitPart
.
TabIndex
=
47
;
this
.
NudSplitPart
.
Text
=
"1"
;
this
.
NudSplitPart
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
NudSplitPart
.
Value
=
1F
;
this
.
NudSplitPart
.
ValueChanged
+=
new
System
.
EventHandler
(
this
.
NudSplitPart_ValueChanged
);
//
// LblSplitPart
//
this
.
LblSplitPart
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
LblSplitPart
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LblSplitPart
.
BorderWidth
=
0
;
this
.
LblSplitPart
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LblSplitPart
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblSplitPart
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
613
);
this
.
LblSplitPart
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
LblSplitPart
.
Name
=
"LblSplitPart"
;
this
.
LblSplitPart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
LblSplitPart
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
87
);
this
.
LblSplitPart
.
TabIndex
=
46
;
this
.
LblSplitPart
.
Text
=
"Field"
;
this
.
LblSplitPart
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// CboMatchingSplit
//
this
.
CboMatchingSplit
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
CboMatchingSplit
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
CboMatchingSplit
.
BorderWidth
=
2
;
this
.
CboMatchingSplit
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
CboMatchingSplit
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
CboMatchingSplit
.
Location
=
new
System
.
Drawing
.
Point
(
338
,
512
);
this
.
CboMatchingSplit
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
CboMatchingSplit
.
Name
=
"CboMatchingSplit"
;
this
.
CboMatchingSplit
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
CboMatchingSplit
.
SelectedIndex
=
-
1
;
this
.
CboMatchingSplit
.
SelectedText
=
""
;
this
.
CboMatchingSplit
.
Size
=
new
System
.
Drawing
.
Size
(
246
,
87
);
this
.
CboMatchingSplit
.
TabIndex
=
45
;
this
.
CboMatchingSplit
.
Text
=
"faceComboBox1"
;
this
.
CboMatchingSplit
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
CboMatchingSplit
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
CboMatchingSplit_SelectedIndexChanged
);
this
.
CboMatchingSplit
.
TextChanged
+=
new
System
.
EventHandler
(
this
.
CboMatchingSplit_SelectedIndexChanged
);
this
.
CboMatchingSplit
.
KeyDown
+=
new
System
.
Windows
.
Forms
.
KeyEventHandler
(
this
.
CboMatchingSplit_KeyDown
);
//
// ChkMatchingSplit
//
this
.
ChkMatchingSplit
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMatchingSplit
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMatchingSplit
.
BorderWidth
=
0
;
this
.
ChkMatchingSplit
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMatchingSplit
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMatchingSplit
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
512
);
this
.
ChkMatchingSplit
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMatchingSplit
.
Name
=
"ChkMatchingSplit"
;
this
.
ChkMatchingSplit
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMatchingSplit
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
87
);
this
.
ChkMatchingSplit
.
TabIndex
=
44
;
this
.
ChkMatchingSplit
.
Text
=
"Split"
;
this
.
ChkMatchingSplit
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
ChkMatchingSplit
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
ChkMatchingSplit_CheckedChanged
);
//
// ChkMatchingStart
//
this
.
ChkMatchingStart
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMatchingStart
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMatchingStart
.
BorderWidth
=
0
;
this
.
ChkMatchingStart
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMatchingStart
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMatchingStart
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
108
);
this
.
ChkMatchingStart
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMatchingStart
.
Name
=
"ChkMatchingStart"
;
this
.
ChkMatchingStart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMatchingStart
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
87
);
this
.
ChkMatchingStart
.
TabIndex
=
25
;
this
.
ChkMatchingStart
.
Text
=
"Start"
;
this
.
ChkMatchingStart
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// ChkLengthEnd
//
this
.
ChkLengthEnd
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkLengthEnd
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkLengthEnd
.
BorderWidth
=
0
;
this
.
tableLayoutPanel1
.
SetColumnSpan
(
this
.
ChkLengthEnd
,
2
);
this
.
ChkLengthEnd
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkLengthEnd
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkLengthEnd
.
Location
=
new
System
.
Drawing
.
Point
(
598
,
411
);
this
.
ChkLengthEnd
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkLengthEnd
.
Name
=
"ChkLengthEnd"
;
this
.
ChkLengthEnd
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkLengthEnd
.
Size
=
new
System
.
Drawing
.
Size
(
580
,
87
);
this
.
ChkLengthEnd
.
TabIndex
=
42
;
this
.
ChkLengthEnd
.
Text
=
"faceCheckBox7"
;
this
.
ChkLengthEnd
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
ChkLengthEnd
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
ChkLengthEnd_CheckedChanged
);
//
// ChkMatchingEnd
//
this
.
ChkMatchingEnd
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMatchingEnd
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMatchingEnd
.
BorderWidth
=
0
;
this
.
ChkMatchingEnd
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMatchingEnd
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMatchingEnd
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
209
);
this
.
ChkMatchingEnd
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMatchingEnd
.
Name
=
"ChkMatchingEnd"
;
this
.
ChkMatchingEnd
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMatchingEnd
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
87
);
this
.
ChkMatchingEnd
.
TabIndex
=
26
;
this
.
ChkMatchingEnd
.
Text
=
"End"
;
this
.
ChkMatchingEnd
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// NudLength
//
this
.
NudLength
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
...
...
@@ -359,35 +295,50 @@ namespace SmartScan
this
.
NudLength
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
NudLength
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
NudLength
.
Increment
=
1F
;
this
.
NudLength
.
Location
=
new
System
.
Drawing
.
Point
(
929
,
310
);
this
.
NudLength
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
NudLength
.
Location
=
new
System
.
Drawing
.
Point
(
514
,
116
);
this
.
NudLength
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudLength
.
Maximum
=
100F
;
this
.
NudLength
.
Minimum
=
1F
;
this
.
NudLength
.
Name
=
"NudLength"
;
this
.
NudLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
NudLength
.
Size
=
new
System
.
Drawing
.
Size
(
249
,
87
);
this
.
NudLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudLength
.
Size
=
new
System
.
Drawing
.
Size
(
163
,
48
);
this
.
NudLength
.
TabIndex
=
41
;
this
.
NudLength
.
Text
=
"1"
;
this
.
NudLength
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
NudLength
.
Value
=
1F
;
this
.
NudLength
.
ValueChanged
+=
new
System
.
EventHandler
(
this
.
NudLength_ValueChanged
);
//
// ChkMatchingMiddle
//
this
.
ChkMatchingMiddle
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMatchingMiddle
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMatchingMiddle
.
BorderWidth
=
0
;
this
.
ChkMatchingMiddle
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMatchingMiddle
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMatchingMiddle
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
310
);
this
.
ChkMatchingMiddle
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMatchingMiddle
.
Name
=
"ChkMatchingMiddle"
;
this
.
ChkMatchingMiddle
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMatchingMiddle
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
87
);
this
.
ChkMatchingMiddle
.
TabIndex
=
27
;
this
.
ChkMatchingMiddle
.
Text
=
"Middle"
;
this
.
ChkMatchingMiddle
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
ChkMatchingMiddle
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
ChkLengthEnd_CheckedChanged
);
// LblStart
//
this
.
LblStart
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
LblStart
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LblStart
.
BorderWidth
=
0
;
this
.
LblStart
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LblStart
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblStart
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
116
);
this
.
LblStart
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblStart
.
Name
=
"LblStart"
;
this
.
LblStart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblStart
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
48
);
this
.
LblStart
.
TabIndex
=
37
;
this
.
LblStart
.
Text
=
"起始"
;
this
.
LblStart
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// LblLength
//
this
.
LblLength
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
LblLength
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LblLength
.
BorderWidth
=
0
;
this
.
LblLength
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LblLength
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblLength
.
Location
=
new
System
.
Drawing
.
Point
(
344
,
116
);
this
.
LblLength
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblLength
.
Name
=
"LblLength"
;
this
.
LblLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblLength
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
48
);
this
.
LblLength
.
TabIndex
=
38
;
this
.
LblLength
.
Text
=
"长度"
;
this
.
LblLength
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// NudStart
//
...
...
@@ -398,131 +349,19 @@ namespace SmartScan
this
.
NudStart
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
NudStart
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
NudStart
.
Increment
=
1F
;
this
.
NudStart
.
Location
=
new
System
.
Drawing
.
Point
(
929
,
209
);
this
.
NudStart
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
NudStart
.
Location
=
new
System
.
Drawing
.
Point
(
174
,
116
);
this
.
NudStart
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudStart
.
Maximum
=
100F
;
this
.
NudStart
.
Minimum
=
0F
;
this
.
NudStart
.
Name
=
"NudStart"
;
this
.
NudStart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
NudStart
.
Size
=
new
System
.
Drawing
.
Size
(
249
,
87
);
this
.
NudStart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudStart
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
48
);
this
.
NudStart
.
TabIndex
=
40
;
this
.
NudStart
.
Text
=
"0"
;
this
.
NudStart
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
NudStart
.
Value
=
0F
;
this
.
NudStart
.
ValueChanged
+=
new
System
.
EventHandler
(
this
.
NudStart_ValueChanged
);
//
// TxtMatchingStartText
//
this
.
TxtMatchingStartText
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
TxtMatchingStartText
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
TxtMatchingStartText
.
BorderWidth
=
2
;
this
.
TxtMatchingStartText
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
TxtMatchingStartText
.
Location
=
new
System
.
Drawing
.
Point
(
338
,
108
);
this
.
TxtMatchingStartText
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
TxtMatchingStartText
.
MaxLength
=
32767
;
this
.
TxtMatchingStartText
.
Name
=
"TxtMatchingStartText"
;
this
.
TxtMatchingStartText
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
TxtMatchingStartText
.
SelectedText
=
""
;
this
.
TxtMatchingStartText
.
SelectionLength
=
0
;
this
.
TxtMatchingStartText
.
SelectionStart
=
0
;
this
.
TxtMatchingStartText
.
ShowDel
=
true
;
this
.
TxtMatchingStartText
.
ShowQuery
=
false
;
this
.
TxtMatchingStartText
.
Size
=
new
System
.
Drawing
.
Size
(
246
,
87
);
this
.
TxtMatchingStartText
.
TabIndex
=
31
;
this
.
TxtMatchingStartText
.
Text
=
"faceTextBox1"
;
//
// CboKeyword
//
this
.
CboKeyword
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
CboKeyword
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
CboKeyword
.
BorderWidth
=
2
;
this
.
CboKeyword
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
CboKeyword
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
CboKeyword
.
Location
=
new
System
.
Drawing
.
Point
(
929
,
108
);
this
.
CboKeyword
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
CboKeyword
.
Name
=
"CboKeyword"
;
this
.
CboKeyword
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
CboKeyword
.
SelectedIndex
=
-
1
;
this
.
CboKeyword
.
SelectedText
=
""
;
this
.
CboKeyword
.
Size
=
new
System
.
Drawing
.
Size
(
249
,
87
);
this
.
CboKeyword
.
TabIndex
=
39
;
this
.
CboKeyword
.
Text
=
"faceComboBox1"
;
this
.
CboKeyword
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
CboKeyword
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
CboKeyword_SelectedIndexChanged
);
//
// TxtMatchingEndText
//
this
.
TxtMatchingEndText
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
TxtMatchingEndText
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
TxtMatchingEndText
.
BorderWidth
=
2
;
this
.
TxtMatchingEndText
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
TxtMatchingEndText
.
Location
=
new
System
.
Drawing
.
Point
(
338
,
209
);
this
.
TxtMatchingEndText
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
TxtMatchingEndText
.
MaxLength
=
32767
;
this
.
TxtMatchingEndText
.
Name
=
"TxtMatchingEndText"
;
this
.
TxtMatchingEndText
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
TxtMatchingEndText
.
SelectedText
=
""
;
this
.
TxtMatchingEndText
.
SelectionLength
=
0
;
this
.
TxtMatchingEndText
.
SelectionStart
=
0
;
this
.
TxtMatchingEndText
.
ShowDel
=
true
;
this
.
TxtMatchingEndText
.
ShowQuery
=
false
;
this
.
TxtMatchingEndText
.
Size
=
new
System
.
Drawing
.
Size
(
246
,
87
);
this
.
TxtMatchingEndText
.
TabIndex
=
32
;
this
.
TxtMatchingEndText
.
Text
=
"faceTextBox2"
;
//
// LblLength
//
this
.
LblLength
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
LblLength
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LblLength
.
BorderWidth
=
0
;
this
.
LblLength
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LblLength
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblLength
.
Location
=
new
System
.
Drawing
.
Point
(
598
,
310
);
this
.
LblLength
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
LblLength
.
Name
=
"LblLength"
;
this
.
LblLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
LblLength
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
87
);
this
.
LblLength
.
TabIndex
=
38
;
this
.
LblLength
.
Text
=
"长度"
;
this
.
LblLength
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// TxtMatchingMiddleText
//
this
.
TxtMatchingMiddleText
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
TxtMatchingMiddleText
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
TxtMatchingMiddleText
.
BorderWidth
=
2
;
this
.
TxtMatchingMiddleText
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
TxtMatchingMiddleText
.
Location
=
new
System
.
Drawing
.
Point
(
338
,
310
);
this
.
TxtMatchingMiddleText
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
TxtMatchingMiddleText
.
MaxLength
=
32767
;
this
.
TxtMatchingMiddleText
.
Name
=
"TxtMatchingMiddleText"
;
this
.
TxtMatchingMiddleText
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
TxtMatchingMiddleText
.
SelectedText
=
""
;
this
.
TxtMatchingMiddleText
.
SelectionLength
=
0
;
this
.
TxtMatchingMiddleText
.
SelectionStart
=
0
;
this
.
TxtMatchingMiddleText
.
ShowDel
=
true
;
this
.
TxtMatchingMiddleText
.
ShowQuery
=
false
;
this
.
TxtMatchingMiddleText
.
Size
=
new
System
.
Drawing
.
Size
(
246
,
87
);
this
.
TxtMatchingMiddleText
.
TabIndex
=
33
;
this
.
TxtMatchingMiddleText
.
Text
=
"faceTextBox3"
;
this
.
TxtMatchingMiddleText
.
TextChanged
+=
new
System
.
EventHandler
(
this
.
NudLength_ValueChanged
);
//
// LblStart
//
this
.
LblStart
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
LblStart
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LblStart
.
BorderWidth
=
0
;
this
.
LblStart
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LblStart
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblStart
.
Location
=
new
System
.
Drawing
.
Point
(
598
,
209
);
this
.
LblStart
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
LblStart
.
Name
=
"LblStart"
;
this
.
LblStart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
LblStart
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
87
);
this
.
LblStart
.
TabIndex
=
37
;
this
.
LblStart
.
Text
=
"起始"
;
this
.
LblStart
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// LblKeyword
//
this
.
LblKeyword
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
...
...
@@ -530,109 +369,68 @@ namespace SmartScan
this
.
LblKeyword
.
BorderWidth
=
0
;
this
.
LblKeyword
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LblKeyword
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblKeyword
.
Location
=
new
System
.
Drawing
.
Point
(
598
,
108
);
this
.
LblKeyword
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
LblKeyword
.
Location
=
new
System
.
Drawing
.
Point
(
344
,
4
);
this
.
LblKeyword
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblKeyword
.
Name
=
"LblKeyword"
;
this
.
LblKeyword
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
LblKeyword
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
87
);
this
.
LblKeyword
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblKeyword
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
48
);
this
.
LblKeyword
.
TabIndex
=
36
;
this
.
LblKeyword
.
Text
=
"key"
;
this
.
LblKeyword
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// ChkCaseSensitivity
//
this
.
ChkCaseSensitivity
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkCaseSensitivity
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkCaseSensitivity
.
BorderWidth
=
0
;
this
.
tableLayoutPanel1
.
SetColumnSpan
(
this
.
ChkCaseSensitivity
,
2
);
this
.
ChkCaseSensitivity
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkCaseSensitivity
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkCaseSensitivity
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
815
);
this
.
ChkCaseSensitivity
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkCaseSensitivity
.
Name
=
"ChkCaseSensitivity"
;
this
.
ChkCaseSensitivity
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkCaseSensitivity
.
Size
=
new
System
.
Drawing
.
Size
(
577
,
87
);
this
.
ChkCaseSensitivity
.
TabIndex
=
28
;
this
.
ChkCaseSensitivity
.
Text
=
"Sensitivity"
;
this
.
ChkCaseSensitivity
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// ChkMinLength
//
this
.
ChkMinLength
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMinLength
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMinLength
.
BorderWidth
=
0
;
this
.
ChkMinLength
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMinLength
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMinLength
.
Location
=
new
System
.
Drawing
.
Point
(
598
,
512
);
this
.
ChkMinLength
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMinLength
.
Name
=
"ChkMinLength"
;
this
.
ChkMinLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMinLength
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
87
);
this
.
ChkMinLength
.
TabIndex
=
29
;
this
.
ChkMinLength
.
Text
=
"Min"
;
this
.
ChkMinLength
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
ChkMinLength
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
ChkMinLength_CheckedChanged
);
//
// NudMinLength
// LblSplitPart
//
this
.
NudMinLength
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
NudMinLength
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
NudMinLength
.
BorderWidth
=
2
;
this
.
NudMinLength
.
DecimalPlaces
=
0
;
this
.
NudMinLength
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
NudMinLength
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
NudMinLength
.
Increment
=
1F
;
this
.
NudMinLength
.
Location
=
new
System
.
Drawing
.
Point
(
929
,
512
);
this
.
NudMinLength
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
NudMinLength
.
Maximum
=
100F
;
this
.
NudMinLength
.
Minimum
=
0F
;
this
.
NudMinLength
.
Name
=
"NudMinLength"
;
this
.
NudMinLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
NudMinLength
.
Size
=
new
System
.
Drawing
.
Size
(
249
,
87
);
this
.
NudMinLength
.
TabIndex
=
34
;
this
.
NudMinLength
.
Text
=
"0"
;
this
.
NudMinLength
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
NudMinLength
.
Value
=
0F
;
this
.
NudMinLength
.
ValueChanged
+=
new
System
.
EventHandler
(
this
.
NudMinLength_ValueChanged
);
this
.
LblSplitPart
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
LblSplitPart
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LblSplitPart
.
BorderWidth
=
0
;
this
.
LblSplitPart
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LblSplitPart
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblSplitPart
.
Location
=
new
System
.
Drawing
.
Point
(
344
,
60
);
this
.
LblSplitPart
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblSplitPart
.
Name
=
"LblSplitPart"
;
this
.
LblSplitPart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblSplitPart
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
48
);
this
.
LblSplitPart
.
TabIndex
=
46
;
this
.
LblSplitPart
.
Text
=
"Field"
;
this
.
LblSplitPart
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// C
hkMaxLength
// C
boMatchingSplit
//
this
.
ChkMaxLength
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMaxLength
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMaxLength
.
BorderWidth
=
0
;
this
.
ChkMaxLength
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMaxLength
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMaxLength
.
Location
=
new
System
.
Drawing
.
Point
(
598
,
613
);
this
.
ChkMaxLength
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMaxLength
.
Name
=
"ChkMaxLength"
;
this
.
ChkMaxLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
ChkMaxLength
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
87
);
this
.
ChkMaxLength
.
TabIndex
=
30
;
this
.
ChkMaxLength
.
Text
=
"Max"
;
this
.
ChkMaxLength
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
ChkMaxLength
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
ChkMaxLength_CheckedChanged
);
this
.
CboMatchingSplit
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
CboMatchingSplit
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
CboMatchingSplit
.
BorderWidth
=
2
;
this
.
CboMatchingSplit
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
CboMatchingSplit
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
CboMatchingSplit
.
Location
=
new
System
.
Drawing
.
Point
(
174
,
60
);
this
.
CboMatchingSplit
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
CboMatchingSplit
.
Name
=
"CboMatchingSplit"
;
this
.
CboMatchingSplit
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
CboMatchingSplit
.
SelectedIndex
=
-
1
;
this
.
CboMatchingSplit
.
SelectedText
=
""
;
this
.
CboMatchingSplit
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
48
);
this
.
CboMatchingSplit
.
TabIndex
=
45
;
this
.
CboMatchingSplit
.
Text
=
"faceComboBox1"
;
this
.
CboMatchingSplit
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
CboMatchingSplit
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
CboMatchingSplit_SelectedIndexChanged
);
this
.
CboMatchingSplit
.
TextChanged
+=
new
System
.
EventHandler
(
this
.
CboMatchingSplit_SelectedIndexChanged
);
this
.
CboMatchingSplit
.
KeyDown
+=
new
System
.
Windows
.
Forms
.
KeyEventHandler
(
this
.
CboMatchingSplit_KeyDown
);
//
//
NudMaxLength
//
ChkLengthEnd
//
this
.
NudMaxLength
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
NudMaxLength
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
NudMaxLength
.
BorderWidth
=
2
;
this
.
NudMaxLength
.
DecimalPlaces
=
0
;
this
.
NudMaxLength
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
NudMaxLength
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
NudMaxLength
.
Increment
=
1F
;
this
.
NudMaxLength
.
Location
=
new
System
.
Drawing
.
Point
(
929
,
613
);
this
.
NudMaxLength
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
NudMaxLength
.
Maximum
=
100F
;
this
.
NudMaxLength
.
Minimum
=
0F
;
this
.
NudMaxLength
.
Name
=
"NudMaxLength"
;
this
.
NudMaxLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
NudMaxLength
.
Size
=
new
System
.
Drawing
.
Size
(
249
,
87
);
this
.
NudMaxLength
.
TabIndex
=
35
;
this
.
NudMaxLength
.
Text
=
"0"
;
this
.
NudMaxLength
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
NudMaxLength
.
Value
=
0F
;
this
.
NudMaxLength
.
ValueChanged
+=
new
System
.
EventHandler
(
this
.
NudMaxLength_ValueChanged
);
this
.
ChkLengthEnd
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkLengthEnd
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkLengthEnd
.
BorderWidth
=
0
;
this
.
ChkLengthEnd
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkLengthEnd
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkLengthEnd
.
Location
=
new
System
.
Drawing
.
Point
(
344
,
172
);
this
.
ChkLengthEnd
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkLengthEnd
.
Name
=
"ChkLengthEnd"
;
this
.
ChkLengthEnd
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkLengthEnd
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
48
);
this
.
ChkLengthEnd
.
TabIndex
=
42
;
this
.
ChkLengthEnd
.
Text
=
"faceCheckBox7"
;
this
.
ChkLengthEnd
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
ChkLengthEnd
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
ChkLengthEnd_CheckedChanged
);
//
// BtnDel
//
...
...
@@ -642,48 +440,83 @@ namespace SmartScan
this
.
BtnDel
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
BtnDel
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
BtnDel
.
HoldPress
=
false
;
this
.
BtnDel
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
916
);
this
.
BtnDel
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
BtnDel
.
Location
=
new
System
.
Drawing
.
Point
(
514
,
284
);
this
.
BtnDel
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnDel
.
Name
=
"BtnDel"
;
this
.
BtnDel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
BtnDel
.
Size
=
new
System
.
Drawing
.
Size
(
317
,
114
);
this
.
BtnDel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnDel
.
Size
=
new
System
.
Drawing
.
Size
(
163
,
48
);
this
.
BtnDel
.
TabIndex
=
43
;
this
.
BtnDel
.
Text
=
"Del"
;
this
.
BtnDel
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnDel_Click
);
//
// ChkMatchisnumber
//
this
.
ChkMatchisnumber
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkMatchisnumber
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkMatchisnumber
.
BorderWidth
=
0
;
this
.
ChkMatchisnumber
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
ChkMatchisnumber
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkMatchisnumber
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
172
);
this
.
ChkMatchisnumber
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMatchisnumber
.
Name
=
"ChkMatchisnumber"
;
this
.
ChkMatchisnumber
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkMatchisnumber
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
48
);
this
.
ChkMatchisnumber
.
TabIndex
=
53
;
this
.
ChkMatchisnumber
.
Text
=
"AsNumber"
;
this
.
ChkMatchisnumber
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// facePanel2
//
this
.
facePanel2
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
facePanel2
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
facePanel2
.
BorderWidth
=
2
;
this
.
facePanel2
.
Controls
.
Add
(
this
.
faceTextBox1
);
this
.
facePanel2
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Top
;
this
.
facePanel2
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
facePanel2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
4
);
this
.
facePanel2
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
facePanel2
.
Name
=
"facePanel2"
;
this
.
facePanel2
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
facePanel2
.
ShowText
=
false
;
this
.
facePanel2
.
Size
=
new
System
.
Drawing
.
Size
(
689
,
61
);
this
.
facePanel2
.
TabIndex
=
44
;
this
.
facePanel2
.
Text
=
"facePanel2"
;
this
.
facePanel2
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
//
// faceTextBox1
//
this
.
faceTextBox1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
faceTextBox1
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
faceTextBox1
.
BorderWidth
=
2
;
this
.
tableLayoutPanel1
.
SetColumnSpan
(
this
.
faceTextBox1
,
4
);
this
.
faceTextBox1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
faceTextBox1
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
7
);
this
.
faceTextBox1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
faceTextBox1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
4
);
this
.
faceTextBox1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
faceTextBox1
.
MaxLength
=
32767
;
this
.
faceTextBox1
.
Name
=
"faceTextBox1"
;
this
.
faceTextBox1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
faceTextBox1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
faceTextBox1
.
ReadOnly
=
true
;
this
.
faceTextBox1
.
SelectedText
=
""
;
this
.
faceTextBox1
.
SelectionLength
=
0
;
this
.
faceTextBox1
.
SelectionStart
=
0
;
this
.
faceTextBox1
.
ShowDel
=
false
;
this
.
faceTextBox1
.
ShowQuery
=
false
;
this
.
faceTextBox1
.
Size
=
new
System
.
Drawing
.
Size
(
1171
,
87
);
this
.
faceTextBox1
.
Size
=
new
System
.
Drawing
.
Size
(
681
,
53
);
this
.
faceTextBox1
.
TabIndex
=
48
;
this
.
faceTextBox1
.
Text
=
"faceTextBox1"
;
this
.
faceTextBox1
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
//
// UsrCodeExtractList
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
14F
,
27
F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
8F
,
15
F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
Controls
.
Add
(
this
.
facePanel1
);
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
7
);
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
Name
=
"UsrCodeExtractList"
;
this
.
Size
=
new
System
.
Drawing
.
Size
(
1220
,
1071
);
this
.
Size
=
new
System
.
Drawing
.
Size
(
697
,
416
);
this
.
facePanel1
.
ResumeLayout
(
false
);
this
.
facePanel4
.
ResumeLayout
(
false
);
this
.
tableLayoutPanel1
.
ResumeLayout
(
false
);
this
.
facePanel2
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
}
...
...
@@ -691,20 +524,12 @@ namespace SmartScan
#
endregion
private
Asa
.
FaceControl
.
FacePanel
facePanel1
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel1
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkMatchingStart
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkLengthEnd
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkMatchingEnd
;
private
Asa
.
FaceControl
.
FaceNumericUpDown
NudLength
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkMatchingMiddle
;
private
Asa
.
FaceControl
.
FaceNumericUpDown
NudStart
;
private
Asa
.
FaceControl
.
FaceTextBox
TxtMatchingStartText
;
private
Asa
.
FaceControl
.
FaceComboBox
CboKeyword
;
private
Asa
.
FaceControl
.
FaceTextBox
TxtMatchingEndText
;
private
Asa
.
FaceControl
.
FaceLabel
LblLength
;
private
Asa
.
FaceControl
.
FaceTextBox
TxtMatchingMiddleText
;
private
Asa
.
FaceControl
.
FaceLabel
LblStart
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkCaseSensitivity
;
private
Asa
.
FaceControl
.
FaceLabel
LblKeyword
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkMinLength
;
private
Asa
.
FaceControl
.
FaceNumericUpDown
NudMaxLength
;
...
...
@@ -716,10 +541,10 @@ namespace SmartScan
private
Asa
.
FaceControl
.
FaceComboBox
CboMatchingSplit
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkMatchingSplit
;
private
Asa
.
FaceControl
.
FaceTextBox
faceTextBox1
;
private
Asa
.
FaceControl
.
FaceNumericUpDown
NudMiddleTextCount
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkCheckCodeType
;
private
Asa
.
FaceControl
.
FaceLabel
LblCodeType
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkMatchisnumber
;
private
Asa
.
FaceControl
.
FaceComboBox
ChoMatchMiddleType
;
private
Asa
.
FaceControl
.
FacePanel
facePanel4
;
private
Asa
.
FaceControl
.
FacePanel
facePanel2
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel1
;
private
Asa
.
FaceControl
.
FaceButton
BtnAdd
;
}
}
SmartScan/SetControl/UsrCodeExtractList.cs
查看文件 @
70e21b4
using
Asa.FaceControl
;
using
BLL
;
using
Model
;
using
System
;
using
System.Windows.Forms
;
...
...
@@ -11,6 +12,7 @@ namespace SmartScan
private
readonly
string
codeText
;
private
readonly
string
codeType
;
public
event
EventHandler
DelClick
;
public
event
EventHandler
AddClick
;
public
event
KeyChangedHandler
KeyChanged
;
public
delegate
void
KeyChangedHandler
(
object
sender
,
string
key
);
...
...
@@ -18,15 +20,9 @@ namespace SmartScan
{
InitializeComponent
();
faceTextBox1
.
Tag
=
"not"
;
TxtMatchingEndText
.
Tag
=
"not"
;
TxtMatchingMiddleText
.
Tag
=
"not"
;
TxtMatchingStartText
.
Tag
=
"not"
;
Language
.
SetLanguage
(
this
);
changed
=
true
;
ChoMatchMiddleType
.
Items
.
Add
(
Language
.
Dialog
(
"MatchType_max"
));
ChoMatchMiddleType
.
Items
.
Add
(
Language
.
Dialog
(
"MatchType_equals"
));
ChoMatchMiddleType
.
Items
.
Add
(
Language
.
Dialog
(
"MatchType_min"
));
changed
=
true
;
Language
.
SetLanguage
(
this
);
this
.
codeText
=
codeText
;
...
...
@@ -35,17 +31,11 @@ namespace SmartScan
CboMatchingSplit
.
Items
.
AddRange
(
BLLCommon
.
CODE_SPLIT
);
NudStart
.
Maximum
=
codeLength
;
NudLength
.
Maximum
=
codeLength
;
ChkMatchingStart
.
Checked
=
match
.
MatchStart
;
TxtMatchingStartText
.
Text
=
match
.
StartText
;
ChkMatchingEnd
.
Checked
=
match
.
MatchEnd
;
TxtMatchingEndText
.
Text
=
match
.
EndText
;
ChkMatchingMiddle
.
Checked
=
match
.
MatchMiddle
;
TxtMatchingMiddleText
.
Text
=
match
.
MiddleText
;
NudMiddleTextCount
.
Value
=
match
.
MiddleTextCount
;
ChkMatchingSplit
.
Checked
=
match
.
MatchSplit
;
CboMatchingSplit
.
Text
=
match
.
SplitText
;
NudSplitPart
.
Value
=
match
.
SplitPart
;
ChkCaseSensitivity
.
Checked
=
match
.
CaseSensitive
;
ChkMinLength
.
Checked
=
match
.
MatchMinLength
;
NudMinLength
.
Value
=
match
.
MinLength
;
ChkMaxLength
.
Checked
=
match
.
MatchMaxLength
;
...
...
@@ -54,11 +44,9 @@ namespace SmartScan
CboKeyword
.
SelectedText
=
match
.
Keyword
;
NudStart
.
Value
=
match
.
SubstringStart
;
match
.
CodeType
=
codeType
;
ChoMatchMiddleType
.
SelectedIndex
=
match
.
MatchMiddleType
+
1
;
ChkMatchisnumber
.
Checked
=
match
.
MatchISNumber
;
ChkCheckCodeType
.
Checked
=
match
.
CheckCodeType
;
LblCodeType
.
Text
=
codeType
;
if
(
match
.
SubstringLength
==
-
1
)
{
ChkLengthEnd
.
Checked
=
true
;
...
...
@@ -80,17 +68,17 @@ namespace SmartScan
{
Model
.
MaterialCodeMatch
match
=
new
()
{
MatchStart
=
ChkMatchingStart
.
Checked
,
StartText
=
TxtMatchingStartText
.
Text
,
MatchEnd
=
ChkMatchingEnd
.
Checked
,
EndText
=
TxtMatchingEndText
.
Text
,
MatchMiddle
=
ChkMatchingMiddle
.
Checked
,
MiddleText
=
TxtMatchingMiddleText
.
Text
,
MiddleTextCount
=
Convert
.
ToInt32
(
NudMiddleTextCount
.
Value
),
//
MatchStart = ChkMatchingStart.Checked,
//
StartText = TxtMatchingStartText.Text,
//
MatchEnd = ChkMatchingEnd.Checked,
//
EndText = TxtMatchingEndText.Text,
//
MatchMiddle = ChkMatchingMiddle.Checked,
//
MiddleText = TxtMatchingMiddleText.Text,
//
MiddleTextCount = Convert.ToInt32(NudMiddleTextCount.Value),
MatchSplit
=
ChkMatchingSplit
.
Checked
,
SplitText
=
CboMatchingSplit
.
Text
,
SplitPart
=
Convert
.
ToInt32
(
NudSplitPart
.
Value
),
CaseSensitive
=
ChkCaseSensitivity
.
Checked
,
//
CaseSensitive = ChkCaseSensitivity.Checked,
MatchMinLength
=
ChkMinLength
.
Checked
,
MinLength
=
Convert
.
ToInt32
(
NudMinLength
.
Value
),
MatchMaxLength
=
ChkMaxLength
.
Checked
,
...
...
@@ -98,9 +86,9 @@ namespace SmartScan
Keyword
=
CboKeyword
.
SelectedText
,
SubstringStart
=
Convert
.
ToInt32
(
NudStart
.
Value
),
SubstringLength
=
ChkLengthEnd
.
Checked
?
-
1
:
Convert
.
ToInt32
(
NudLength
.
Value
),
CheckCodeType
=
ChkCheckCodeType
.
Checked
,
CodeType
=
LblCodeType
.
Text
,
MatchMiddleType
=
ChoMatchMiddleType
.
SelectedIndex
-
1
,
//
CheckCodeType = ChkCheckCodeType.Checked,
//
CodeType = LblCodeType.Text,
//
MatchMiddleType = ChoMatchMiddleType.SelectedIndex - 1,
MatchISNumber
=
ChkMatchisnumber
.
Checked
};
return
match
;
...
...
@@ -119,28 +107,28 @@ namespace SmartScan
if
(
changed
)
return
;
string
text
=
codeText
;
if
(
ChkMatchingMiddle
.
Checked
)
{
int
textcount
=
1
;
int
.
TryParse
(
NudMiddleTextCount
.
Text
,
out
textcount
);
var
t
=
ChoMatchMiddleType
.
SelectedIndex
-
1
;
int
index
=
0
;
int
count
=
0
;
while
((
index
=
text
.
IndexOf
(
TxtMatchingMiddleText
.
Text
,
index
))
!=
-
1
&&
!
string
.
IsNullOrEmpty
(
TxtMatchingMiddleText
.
Text
))
{
count
++;
index
+=
TxtMatchingMiddleText
.
Text
.
Length
;
}
if
(
t
==
-
1
&&
count
>
textcount
)
text
=
""
;
if
(
t
==
0
&&
count
!=
textcount
)
text
=
""
;
if
(
t
==
1
&&
count
<
textcount
)
text
=
""
;
faceTextBox1
.
Text
=
text
;
if
(
string
.
IsNullOrEmpty
(
text
))
return
;
}
//
if (ChkMatchingMiddle.Checked) {
//
int textcount=1;
//
int.TryParse(NudMiddleTextCount.Text, out textcount);
//
var t = ChoMatchMiddleType.SelectedIndex - 1;
//
int index = 0;
//
int count = 0;
//
while ((index = text.IndexOf(TxtMatchingMiddleText.Text, index)) != -1 && !string.IsNullOrEmpty(TxtMatchingMiddleText.Text))
//
{
//
count++;
//
index += TxtMatchingMiddleText.Text.Length;
//
}
//
if (t == -1 && count > textcount)
//
text = "";
//
if (t == 0 && count != textcount)
//
text = "";
//
if (t == 1 && count < textcount)
//
text = "";
//
faceTextBox1.Text = text;
//
if (string.IsNullOrEmpty(text))
//
return;
//
}
if
(
ChkMatchingSplit
.
Checked
)
{
...
...
@@ -257,5 +245,10 @@ namespace SmartScan
if
(
e
.
KeyCode
==
Keys
.
Enter
)
e
.
Handled
=
false
;
}
private
void
BtnAdd_Click
(
object
sender
,
EventArgs
e
)
{
AddClick
?.
Invoke
(
this
,
new
EventArgs
());
}
}
}
SmartScan/SetControl/UsrMaterialTemplate.Designer.cs
查看文件 @
70e21b4
...
...
@@ -30,8 +30,10 @@ namespace SmartScan
private
void
InitializeComponent
()
{
this
.
facePanel1
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
BtnOcrCode
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
BtnSaveImage
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
BtnExtractCode
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
Btn
PrimaryCod
e
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
Btn
TemplateValit
e
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
ImgShow
=
new
Asa
.
FaceControl
.
FacePictureBox
();
this
.
LstCode
=
new
Asa
.
FaceControl
.
FaceListBox
();
this
.
BtnScanCode
=
new
Asa
.
FaceControl
.
FaceButton
();
...
...
@@ -51,8 +53,10 @@ namespace SmartScan
this
.
facePanel1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
facePanel1
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
facePanel1
.
BorderWidth
=
2
;
this
.
facePanel1
.
Controls
.
Add
(
this
.
BtnOcrCode
);
this
.
facePanel1
.
Controls
.
Add
(
this
.
BtnSaveImage
);
this
.
facePanel1
.
Controls
.
Add
(
this
.
BtnExtractCode
);
this
.
facePanel1
.
Controls
.
Add
(
this
.
Btn
PrimaryCod
e
);
this
.
facePanel1
.
Controls
.
Add
(
this
.
Btn
TemplateValit
e
);
this
.
facePanel1
.
Controls
.
Add
(
this
.
ImgShow
);
this
.
facePanel1
.
Controls
.
Add
(
this
.
LstCode
);
this
.
facePanel1
.
Controls
.
Add
(
this
.
BtnScanCode
);
...
...
@@ -70,11 +74,42 @@ namespace SmartScan
this
.
facePanel1
.
Name
=
"facePanel1"
;
this
.
facePanel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
facePanel1
.
ShowText
=
false
;
this
.
facePanel1
.
Size
=
new
System
.
Drawing
.
Size
(
11
73
,
536
);
this
.
facePanel1
.
Size
=
new
System
.
Drawing
.
Size
(
11
82
,
536
);
this
.
facePanel1
.
TabIndex
=
1
;
this
.
facePanel1
.
Text
=
"facePanel1"
;
this
.
facePanel1
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
//
// BtnOcrCode
//
this
.
BtnOcrCode
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
BtnOcrCode
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
BtnOcrCode
.
BorderWidth
=
2
;
this
.
BtnOcrCode
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnOcrCode
.
HoldPress
=
false
;
this
.
BtnOcrCode
.
Location
=
new
System
.
Drawing
.
Point
(
477
,
8
);
this
.
BtnOcrCode
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnOcrCode
.
Name
=
"BtnOcrCode"
;
this
.
BtnOcrCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnOcrCode
.
Size
=
new
System
.
Drawing
.
Size
(
227
,
56
);
this
.
BtnOcrCode
.
TabIndex
=
19
;
this
.
BtnOcrCode
.
Text
=
"OCR"
;
//
// BtnSaveImage
//
this
.
BtnSaveImage
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
BtnSaveImage
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
BtnSaveImage
.
BorderWidth
=
2
;
this
.
BtnSaveImage
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnSaveImage
.
HoldPress
=
false
;
this
.
BtnSaveImage
.
Location
=
new
System
.
Drawing
.
Point
(
713
,
136
);
this
.
BtnSaveImage
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnSaveImage
.
Name
=
"BtnSaveImage"
;
this
.
BtnSaveImage
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnSaveImage
.
Size
=
new
System
.
Drawing
.
Size
(
461
,
56
);
this
.
BtnSaveImage
.
TabIndex
=
18
;
this
.
BtnSaveImage
.
Text
=
"图片另存"
;
this
.
BtnSaveImage
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnSaveImage_Click
);
//
// BtnExtractCode
//
this
.
BtnExtractCode
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
...
...
@@ -92,22 +127,23 @@ namespace SmartScan
this
.
BtnExtractCode
.
Text
=
"提取"
;
this
.
BtnExtractCode
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnExtractCode_Click
);
//
// BtnPrimaryCode
//
this
.
BtnPrimaryCode
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
this
.
BtnPrimaryCode
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
BtnPrimaryCode
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
BtnPrimaryCode
.
BorderWidth
=
2
;
this
.
BtnPrimaryCode
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnPrimaryCode
.
HoldPress
=
false
;
this
.
BtnPrimaryCode
.
Location
=
new
System
.
Drawing
.
Point
(
477
,
453
);
this
.
BtnPrimaryCode
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnPrimaryCode
.
Name
=
"BtnPrimaryCode"
;
this
.
BtnPrimaryCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnPrimaryCode
.
Size
=
new
System
.
Drawing
.
Size
(
227
,
56
);
this
.
BtnPrimaryCode
.
TabIndex
=
15
;
this
.
BtnPrimaryCode
.
Text
=
"特征码"
;
this
.
BtnPrimaryCode
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnPrimaryCode_Click
);
// BtnTemplateValite
//
this
.
BtnTemplateValite
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)));
this
.
BtnTemplateValite
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
BtnTemplateValite
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
BtnTemplateValite
.
BorderWidth
=
2
;
this
.
BtnTemplateValite
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnTemplateValite
.
HoldPress
=
false
;
this
.
BtnTemplateValite
.
Location
=
new
System
.
Drawing
.
Point
(
477
,
453
);
this
.
BtnTemplateValite
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnTemplateValite
.
Name
=
"BtnTemplateValite"
;
this
.
BtnTemplateValite
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnTemplateValite
.
Size
=
new
System
.
Drawing
.
Size
(
227
,
56
);
this
.
BtnTemplateValite
.
TabIndex
=
15
;
this
.
BtnTemplateValite
.
Text
=
"模板验证"
;
this
.
BtnTemplateValite
.
Visible
=
false
;
this
.
BtnTemplateValite
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnTemplateValite_Click
);
//
// ImgShow
//
...
...
@@ -118,11 +154,11 @@ namespace SmartScan
this
.
ImgShow
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ImgShow
.
BorderWidth
=
2
;
this
.
ImgShow
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ImgShow
.
Location
=
new
System
.
Drawing
.
Point
(
712
,
8
);
this
.
ImgShow
.
Location
=
new
System
.
Drawing
.
Point
(
712
,
200
);
this
.
ImgShow
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ImgShow
.
Name
=
"ImgShow"
;
this
.
ImgShow
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ImgShow
.
Size
=
new
System
.
Drawing
.
Size
(
4
53
,
521
);
this
.
ImgShow
.
Size
=
new
System
.
Drawing
.
Size
(
4
62
,
310
);
this
.
ImgShow
.
TabIndex
=
14
;
this
.
ImgShow
.
Text
=
"facePictureBox1"
;
//
...
...
@@ -136,12 +172,12 @@ namespace SmartScan
this
.
LstCode
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
9F
);
this
.
LstCode
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LstCode
.
ItemHeight
=
40
;
this
.
LstCode
.
Location
=
new
System
.
Drawing
.
Point
(
243
,
135
);
this
.
LstCode
.
Location
=
new
System
.
Drawing
.
Point
(
243
,
72
);
this
.
LstCode
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LstCode
.
Name
=
"LstCode"
;
this
.
LstCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LstCode
.
SelectedIndex
=
-
1
;
this
.
LstCode
.
Size
=
new
System
.
Drawing
.
Size
(
461
,
3
11
);
this
.
LstCode
.
Size
=
new
System
.
Drawing
.
Size
(
461
,
3
74
);
this
.
LstCode
.
TabIndex
=
13
;
this
.
LstCode
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Left
;
this
.
LstCode
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
LstCode_SelectedIndexChanged
);
...
...
@@ -153,11 +189,11 @@ namespace SmartScan
this
.
BtnScanCode
.
BorderWidth
=
2
;
this
.
BtnScanCode
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnScanCode
.
HoldPress
=
false
;
this
.
BtnScanCode
.
Location
=
new
System
.
Drawing
.
Point
(
243
,
71
);
this
.
BtnScanCode
.
Location
=
new
System
.
Drawing
.
Point
(
243
,
8
);
this
.
BtnScanCode
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnScanCode
.
Name
=
"BtnScanCode"
;
this
.
BtnScanCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnScanCode
.
Size
=
new
System
.
Drawing
.
Size
(
461
,
56
);
this
.
BtnScanCode
.
Size
=
new
System
.
Drawing
.
Size
(
227
,
56
);
this
.
BtnScanCode
.
TabIndex
=
12
;
this
.
BtnScanCode
.
Text
=
"识别"
;
this
.
BtnScanCode
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnScanCode_Click
);
...
...
@@ -169,7 +205,7 @@ namespace SmartScan
this
.
BtnLocalImage
.
BorderWidth
=
2
;
this
.
BtnLocalImage
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnLocalImage
.
HoldPress
=
false
;
this
.
BtnLocalImage
.
Location
=
new
System
.
Drawing
.
Point
(
477
,
8
);
this
.
BtnLocalImage
.
Location
=
new
System
.
Drawing
.
Point
(
947
,
71
);
this
.
BtnLocalImage
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnLocalImage
.
Name
=
"BtnLocalImage"
;
this
.
BtnLocalImage
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
...
...
@@ -185,7 +221,7 @@ namespace SmartScan
this
.
BtnCameraImage
.
BorderWidth
=
2
;
this
.
BtnCameraImage
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnCameraImage
.
HoldPress
=
false
;
this
.
BtnCameraImage
.
Location
=
new
System
.
Drawing
.
Point
(
243
,
8
);
this
.
BtnCameraImage
.
Location
=
new
System
.
Drawing
.
Point
(
712
,
71
);
this
.
BtnCameraImage
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnCameraImage
.
Name
=
"BtnCameraImage"
;
this
.
BtnCameraImage
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
...
...
@@ -201,13 +237,13 @@ namespace SmartScan
this
.
BtnCloseLight
.
BorderWidth
=
2
;
this
.
BtnCloseLight
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnCloseLight
.
HoldPress
=
false
;
this
.
BtnCloseLight
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
454
);
this
.
BtnCloseLight
.
Location
=
new
System
.
Drawing
.
Point
(
947
,
7
);
this
.
BtnCloseLight
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnCloseLight
.
Name
=
"BtnCloseLight"
;
this
.
BtnCloseLight
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnCloseLight
.
Size
=
new
System
.
Drawing
.
Size
(
227
,
56
);
this
.
BtnCloseLight
.
TabIndex
=
9
;
this
.
BtnCloseLight
.
Text
=
"关闭"
;
this
.
BtnCloseLight
.
Text
=
"关闭
光源
"
;
this
.
BtnCloseLight
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnCloseLight_Click
);
//
// BtnOpenLight
...
...
@@ -217,7 +253,7 @@ namespace SmartScan
this
.
BtnOpenLight
.
BorderWidth
=
2
;
this
.
BtnOpenLight
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnOpenLight
.
HoldPress
=
false
;
this
.
BtnOpenLight
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
390
);
this
.
BtnOpenLight
.
Location
=
new
System
.
Drawing
.
Point
(
712
,
7
);
this
.
BtnOpenLight
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnOpenLight
.
Name
=
"BtnOpenLight"
;
this
.
BtnOpenLight
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
...
...
@@ -310,7 +346,6 @@ namespace SmartScan
private
Asa
.
FaceControl
.
FaceButton
BtnAddMate
;
private
Asa
.
FaceControl
.
FaceListBox
LstMate
;
private
Asa
.
FaceControl
.
FaceButton
BtnExtractCode
;
private
Asa
.
FaceControl
.
FaceButton
BtnPrimaryCode
;
private
Asa
.
FaceControl
.
FacePictureBox
ImgShow
;
private
Asa
.
FaceControl
.
FaceListBox
LstCode
;
private
Asa
.
FaceControl
.
FaceButton
BtnScanCode
;
...
...
@@ -318,5 +353,8 @@ namespace SmartScan
private
Asa
.
FaceControl
.
FaceButton
BtnCameraImage
;
private
Asa
.
FaceControl
.
FaceButton
BtnCloseLight
;
private
Asa
.
FaceControl
.
FaceButton
BtnOpenLight
;
private
Asa
.
FaceControl
.
FaceButton
BtnSaveImage
;
private
Asa
.
FaceControl
.
FaceButton
BtnOcrCode
;
private
Asa
.
FaceControl
.
FaceButton
BtnTemplateValite
;
}
}
SmartScan/SetControl/UsrMaterialTemplate.cs
查看文件 @
70e21b4
...
...
@@ -18,7 +18,7 @@ namespace SmartScan
public
UsrMaterialTemplate
()
{
InitializeComponent
();
//BtnOcrCode.Enabled
= Config.Func_EnabledOCR;
BtnOcrCode
.
Visible
=
Config
.
Func_EnabledOCR
;
LstMate
.
Items
.
AddRange
(
BLLCommon
.
mateEdit
.
Name
);
mateCopy
=
BLLCommon
.
mateEdit
.
ToCopy
();
Language
.
SetLanguage
(
this
);
...
...
@@ -68,16 +68,16 @@ namespace SmartScan
text
=
text
.
Replace
(
"\n"
,
""
);
//主键
string
s
=
string
.
Format
(
"({0}) "
,
index
+
1
)
+
text
;
string
s
=
string
.
Format
(
"({0}) "
,
index
+
1
);
if
(
code
.
ID
==
mateCopy
[
mateIndex
].
PrimaryCode
)
s
+=
"
<P>
"
;
s
+=
"
<P>
"
;
//条码的关键字
List
<
string
>
arr
=
new
();
if
(
mateCopy
[
mateIndex
].
Code
[
index
].
CodeType
.
Equals
(
Setting_Str
.
OCR
))
{
s
+=
"
<OCR>
"
;
s
+=
"
<OCR>
"
;
}
s
+=
text
;
arr
=
new
();
for
(
int
i
=
0
;
i
<
mateCopy
[
mateIndex
].
Match
.
Count
;
i
++)
{
...
...
@@ -309,7 +309,12 @@ namespace SmartScan
private
void
BtnExtractCode_Click
(
object
sender
,
EventArgs
e
)
{
if
(
codeIndex
==
-
1
)
return
;
if
(
codeIndex
==
-
1
)
{
string
text
=
Language
.
Dialog
(
LanguageDialogKey
.
REMIND_SELECTCODE
,
"请选择一个条码!"
);
new
FaceMessageBox
(
""
,
text
,
MessageBoxButtons
.
OK
).
ShowDialog
();
return
;
}
MaterialCode
code
=
mateCopy
[
mateIndex
].
Code
[
codeIndex
];
List
<
MaterialCodeMatch
>
match
=
mateCopy
[
mateIndex
].
Match
.
FindAll
(
s
=>
s
.
CodeID
==
code
.
ID
);
...
...
@@ -419,5 +424,27 @@ namespace SmartScan
{
codeIndex
=
LstCode
.
SelectedIndex
;
}
private
void
BtnSaveImage_Click
(
object
sender
,
EventArgs
e
)
{
if
(
bmp
==
null
)
return
;
SaveFileDialog
dlg
=
new
()
{
Filter
=
"JPEG图片|*.jpg|BMP图片|*.bmp|PNG图片|*.png"
};
if
(
dlg
.
ShowDialog
()
!=
DialogResult
.
OK
)
return
;
switch
(
dlg
.
FilterIndex
)
{
case
0
:
bmp
.
Save
(
dlg
.
FileName
,
System
.
Drawing
.
Imaging
.
ImageFormat
.
Jpeg
);
break
;
case
1
:
bmp
.
Save
(
dlg
.
FileName
,
System
.
Drawing
.
Imaging
.
ImageFormat
.
Bmp
);
break
;
case
2
:
bmp
.
Save
(
dlg
.
FileName
,
System
.
Drawing
.
Imaging
.
ImageFormat
.
Png
);
break
;
}
string
text
=
Asa
.
FaceControl
.
Language
.
Dialog
(
LanguageDialogKey
.
SAVE_SUCCEED
);
new
Asa
.
FaceControl
.
FaceMessageBox
(
""
,
text
,
MessageBoxButtons
.
OK
).
ShowDialog
();
}
private
void
BtnTemplateValite_Click
(
object
sender
,
EventArgs
e
)
{
}
}
}
SmartScan/SetControl/UsrWorkMode.Designer.cs
查看文件 @
70e21b4
...
...
@@ -30,6 +30,8 @@ namespace SmartScan
private
void
InitializeComponent
()
{
this
.
facePanel1
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
ChkAutoPrint
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
ChkPromptAfterPrinting
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
ChkTriggerOpenLight
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
LblDefaultMate
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
LstMate
=
new
Asa
.
FaceControl
.
FaceListBox
();
...
...
@@ -48,8 +50,7 @@ namespace SmartScan
this
.
RdoCondense
=
new
Asa
.
FaceControl
.
FaceRadioBox
();
this
.
RdoOriginal
=
new
Asa
.
FaceControl
.
FaceRadioBox
();
this
.
LblHistoryImage
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
ChkPromptAfterPrinting
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
ChkAutoPrint
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
faceCheckBox1
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
facePanel1
.
SuspendLayout
();
this
.
SuspendLayout
();
//
...
...
@@ -58,6 +59,7 @@ namespace SmartScan
this
.
facePanel1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
facePanel1
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
facePanel1
.
BorderWidth
=
2
;
this
.
facePanel1
.
Controls
.
Add
(
this
.
faceCheckBox1
);
this
.
facePanel1
.
Controls
.
Add
(
this
.
ChkAutoPrint
);
this
.
facePanel1
.
Controls
.
Add
(
this
.
ChkPromptAfterPrinting
);
this
.
facePanel1
.
Controls
.
Add
(
this
.
ChkTriggerOpenLight
);
...
...
@@ -79,15 +81,48 @@ namespace SmartScan
this
.
facePanel1
.
Controls
.
Add
(
this
.
RdoOriginal
);
this
.
facePanel1
.
Controls
.
Add
(
this
.
LblHistoryImage
);
this
.
facePanel1
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
facePanel1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
facePanel1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
4
);
this
.
facePanel1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
facePanel1
.
Name
=
"facePanel1"
;
this
.
facePanel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
facePanel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
facePanel1
.
ShowText
=
false
;
this
.
facePanel1
.
Size
=
new
System
.
Drawing
.
Size
(
794
,
61
4
);
this
.
facePanel1
.
Size
=
new
System
.
Drawing
.
Size
(
1059
,
82
4
);
this
.
facePanel1
.
TabIndex
=
0
;
this
.
facePanel1
.
Text
=
"facePanel1"
;
this
.
facePanel1
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
//
// ChkAutoPrint
//
this
.
ChkAutoPrint
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkAutoPrint
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkAutoPrint
.
BorderWidth
=
0
;
this
.
ChkAutoPrint
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ChkAutoPrint
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkAutoPrint
.
Location
=
new
System
.
Drawing
.
Point
(
348
,
708
);
this
.
ChkAutoPrint
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkAutoPrint
.
Name
=
"ChkAutoPrint"
;
this
.
ChkAutoPrint
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkAutoPrint
.
Size
=
new
System
.
Drawing
.
Size
(
604
,
44
);
this
.
ChkAutoPrint
.
TabIndex
=
18
;
this
.
ChkAutoPrint
.
Text
=
"自动打印"
;
this
.
ChkAutoPrint
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// ChkPromptAfterPrinting
//
this
.
ChkPromptAfterPrinting
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkPromptAfterPrinting
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkPromptAfterPrinting
.
BorderWidth
=
0
;
this
.
ChkPromptAfterPrinting
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ChkPromptAfterPrinting
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkPromptAfterPrinting
.
Location
=
new
System
.
Drawing
.
Point
(
348
,
658
);
this
.
ChkPromptAfterPrinting
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkPromptAfterPrinting
.
Name
=
"ChkPromptAfterPrinting"
;
this
.
ChkPromptAfterPrinting
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkPromptAfterPrinting
.
Size
=
new
System
.
Drawing
.
Size
(
604
,
44
);
this
.
ChkPromptAfterPrinting
.
TabIndex
=
18
;
this
.
ChkPromptAfterPrinting
.
Text
=
"打印完成后提示"
;
this
.
ChkPromptAfterPrinting
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// ChkTriggerOpenLight
//
this
.
ChkTriggerOpenLight
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
...
...
@@ -95,10 +130,11 @@ namespace SmartScan
this
.
ChkTriggerOpenLight
.
BorderWidth
=
0
;
this
.
ChkTriggerOpenLight
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ChkTriggerOpenLight
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkTriggerOpenLight
.
Location
=
new
System
.
Drawing
.
Point
(
261
,
486
);
this
.
ChkTriggerOpenLight
.
Location
=
new
System
.
Drawing
.
Point
(
348
,
608
);
this
.
ChkTriggerOpenLight
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkTriggerOpenLight
.
Name
=
"ChkTriggerOpenLight"
;
this
.
ChkTriggerOpenLight
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkTriggerOpenLight
.
Size
=
new
System
.
Drawing
.
Size
(
453
,
35
);
this
.
ChkTriggerOpenLight
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkTriggerOpenLight
.
Size
=
new
System
.
Drawing
.
Size
(
604
,
44
);
this
.
ChkTriggerOpenLight
.
TabIndex
=
17
;
this
.
ChkTriggerOpenLight
.
Text
=
"触发信号亮灯"
;
this
.
ChkTriggerOpenLight
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -110,10 +146,11 @@ namespace SmartScan
this
.
LblDefaultMate
.
BorderWidth
=
0
;
this
.
LblDefaultMate
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
LblDefaultMate
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblDefaultMate
.
Location
=
new
System
.
Drawing
.
Point
(
568
,
16
);
this
.
LblDefaultMate
.
Location
=
new
System
.
Drawing
.
Point
(
757
,
20
);
this
.
LblDefaultMate
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LblDefaultMate
.
Name
=
"LblDefaultMate"
;
this
.
LblDefaultMate
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblDefaultMate
.
Size
=
new
System
.
Drawing
.
Size
(
2
00
,
35
);
this
.
LblDefaultMate
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LblDefaultMate
.
Size
=
new
System
.
Drawing
.
Size
(
2
67
,
44
);
this
.
LblDefaultMate
.
TabIndex
=
16
;
this
.
LblDefaultMate
.
Text
=
"优先匹配模板"
;
//
...
...
@@ -124,11 +161,12 @@ namespace SmartScan
this
.
LstMate
.
BorderWidth
=
2
;
this
.
LstMate
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
LstMate
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LstMate
.
Location
=
new
System
.
Drawing
.
Point
(
568
,
57
);
this
.
LstMate
.
Location
=
new
System
.
Drawing
.
Point
(
757
,
71
);
this
.
LstMate
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LstMate
.
Name
=
"LstMate"
;
this
.
LstMate
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LstMate
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LstMate
.
SelectedIndex
=
-
1
;
this
.
LstMate
.
Size
=
new
System
.
Drawing
.
Size
(
2
00
,
20
1
);
this
.
LstMate
.
Size
=
new
System
.
Drawing
.
Size
(
2
67
,
25
1
);
this
.
LstMate
.
TabIndex
=
15
;
//
// ChkPrintCompletedClear
...
...
@@ -138,10 +176,11 @@ namespace SmartScan
this
.
ChkPrintCompletedClear
.
BorderWidth
=
0
;
this
.
ChkPrintCompletedClear
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ChkPrintCompletedClear
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkPrintCompletedClear
.
Location
=
new
System
.
Drawing
.
Point
(
261
,
366
);
this
.
ChkPrintCompletedClear
.
Location
=
new
System
.
Drawing
.
Point
(
348
,
458
);
this
.
ChkPrintCompletedClear
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkPrintCompletedClear
.
Name
=
"ChkPrintCompletedClear"
;
this
.
ChkPrintCompletedClear
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkPrintCompletedClear
.
Size
=
new
System
.
Drawing
.
Size
(
453
,
35
);
this
.
ChkPrintCompletedClear
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkPrintCompletedClear
.
Size
=
new
System
.
Drawing
.
Size
(
604
,
44
);
this
.
ChkPrintCompletedClear
.
TabIndex
=
14
;
this
.
ChkPrintCompletedClear
.
Text
=
"标签打印完成后清除数据"
;
this
.
ChkPrintCompletedClear
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -153,10 +192,11 @@ namespace SmartScan
this
.
ChkOpenMaximize
.
BorderWidth
=
0
;
this
.
ChkOpenMaximize
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ChkOpenMaximize
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkOpenMaximize
.
Location
=
new
System
.
Drawing
.
Point
(
261
,
446
);
this
.
ChkOpenMaximize
.
Location
=
new
System
.
Drawing
.
Point
(
348
,
558
);
this
.
ChkOpenMaximize
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkOpenMaximize
.
Name
=
"ChkOpenMaximize"
;
this
.
ChkOpenMaximize
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkOpenMaximize
.
Size
=
new
System
.
Drawing
.
Size
(
453
,
35
);
this
.
ChkOpenMaximize
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkOpenMaximize
.
Size
=
new
System
.
Drawing
.
Size
(
604
,
44
);
this
.
ChkOpenMaximize
.
TabIndex
=
13
;
this
.
ChkOpenMaximize
.
Text
=
"软件打开最大化"
;
this
.
ChkOpenMaximize
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -168,11 +208,12 @@ namespace SmartScan
this
.
LstPrinter
.
BorderWidth
=
2
;
this
.
LstPrinter
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
LstPrinter
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LstPrinter
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
108
);
this
.
LstPrinter
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
135
);
this
.
LstPrinter
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LstPrinter
.
Name
=
"LstPrinter"
;
this
.
LstPrinter
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LstPrinter
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LstPrinter
.
SelectedIndex
=
-
1
;
this
.
LstPrinter
.
Size
=
new
System
.
Drawing
.
Size
(
350
,
150
);
this
.
LstPrinter
.
Size
=
new
System
.
Drawing
.
Size
(
467
,
188
);
this
.
LstPrinter
.
TabIndex
=
8
;
//
// ChkOpenEnterWork
...
...
@@ -182,10 +223,11 @@ namespace SmartScan
this
.
ChkOpenEnterWork
.
BorderWidth
=
0
;
this
.
ChkOpenEnterWork
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ChkOpenEnterWork
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkOpenEnterWork
.
Location
=
new
System
.
Drawing
.
Point
(
261
,
406
);
this
.
ChkOpenEnterWork
.
Location
=
new
System
.
Drawing
.
Point
(
348
,
508
);
this
.
ChkOpenEnterWork
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkOpenEnterWork
.
Name
=
"ChkOpenEnterWork"
;
this
.
ChkOpenEnterWork
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkOpenEnterWork
.
Size
=
new
System
.
Drawing
.
Size
(
453
,
35
);
this
.
ChkOpenEnterWork
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkOpenEnterWork
.
Size
=
new
System
.
Drawing
.
Size
(
604
,
44
);
this
.
ChkOpenEnterWork
.
TabIndex
=
12
;
this
.
ChkOpenEnterWork
.
Text
=
"软件打开自动进入工作"
;
this
.
ChkOpenEnterWork
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -197,10 +239,11 @@ namespace SmartScan
this
.
ChkLabelEmptyCheck
.
BorderWidth
=
0
;
this
.
ChkLabelEmptyCheck
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ChkLabelEmptyCheck
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkLabelEmptyCheck
.
Location
=
new
System
.
Drawing
.
Point
(
261
,
326
);
this
.
ChkLabelEmptyCheck
.
Location
=
new
System
.
Drawing
.
Point
(
348
,
408
);
this
.
ChkLabelEmptyCheck
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkLabelEmptyCheck
.
Name
=
"ChkLabelEmptyCheck"
;
this
.
ChkLabelEmptyCheck
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkLabelEmptyCheck
.
Size
=
new
System
.
Drawing
.
Size
(
453
,
35
);
this
.
ChkLabelEmptyCheck
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkLabelEmptyCheck
.
Size
=
new
System
.
Drawing
.
Size
(
604
,
44
);
this
.
ChkLabelEmptyCheck
.
TabIndex
=
11
;
this
.
ChkLabelEmptyCheck
.
Text
=
"标签空内容校验"
;
this
.
ChkLabelEmptyCheck
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -212,10 +255,11 @@ namespace SmartScan
this
.
ChkSelectPN
.
BorderWidth
=
0
;
this
.
ChkSelectPN
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ChkSelectPN
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkSelectPN
.
Location
=
new
System
.
Drawing
.
Point
(
261
,
286
);
this
.
ChkSelectPN
.
Location
=
new
System
.
Drawing
.
Point
(
348
,
358
);
this
.
ChkSelectPN
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkSelectPN
.
Name
=
"ChkSelectPN"
;
this
.
ChkSelectPN
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkSelectPN
.
Size
=
new
System
.
Drawing
.
Size
(
453
,
35
);
this
.
ChkSelectPN
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
ChkSelectPN
.
Size
=
new
System
.
Drawing
.
Size
(
604
,
44
);
this
.
ChkSelectPN
.
TabIndex
=
10
;
this
.
ChkSelectPN
.
Text
=
"通过服务器查询PN"
;
this
.
ChkSelectPN
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -227,10 +271,11 @@ namespace SmartScan
this
.
LblDefaultLabel
.
BorderWidth
=
0
;
this
.
LblDefaultLabel
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
LblDefaultLabel
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblDefaultLabel
.
Location
=
new
System
.
Drawing
.
Point
(
362
,
16
);
this
.
LblDefaultLabel
.
Location
=
new
System
.
Drawing
.
Point
(
483
,
20
);
this
.
LblDefaultLabel
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LblDefaultLabel
.
Name
=
"LblDefaultLabel"
;
this
.
LblDefaultLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblDefaultLabel
.
Size
=
new
System
.
Drawing
.
Size
(
2
00
,
35
);
this
.
LblDefaultLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LblDefaultLabel
.
Size
=
new
System
.
Drawing
.
Size
(
2
67
,
44
);
this
.
LblDefaultLabel
.
TabIndex
=
9
;
this
.
LblDefaultLabel
.
Text
=
"默认打印标签"
;
//
...
...
@@ -242,10 +287,11 @@ namespace SmartScan
this
.
RdoVertical
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
RdoVertical
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
RdoVertical
.
Group
=
"1"
;
this
.
RdoVertical
.
Location
=
new
System
.
Drawing
.
Point
(
184
,
57
);
this
.
RdoVertical
.
Location
=
new
System
.
Drawing
.
Point
(
245
,
71
);
this
.
RdoVertical
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
RdoVertical
.
Name
=
"RdoVertical"
;
this
.
RdoVertical
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
RdoVertical
.
Size
=
new
System
.
Drawing
.
Size
(
172
,
45
);
this
.
RdoVertical
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
RdoVertical
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
56
);
this
.
RdoVertical
.
TabIndex
=
7
;
this
.
RdoVertical
.
Text
=
"纵向打印"
;
//
...
...
@@ -257,10 +303,11 @@ namespace SmartScan
this
.
RdoLandscape
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
RdoLandscape
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
RdoLandscape
.
Group
=
"1"
;
this
.
RdoLandscape
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
57
);
this
.
RdoLandscape
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
71
);
this
.
RdoLandscape
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
RdoLandscape
.
Name
=
"RdoLandscape"
;
this
.
RdoLandscape
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
RdoLandscape
.
Size
=
new
System
.
Drawing
.
Size
(
172
,
45
);
this
.
RdoLandscape
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
RdoLandscape
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
56
);
this
.
RdoLandscape
.
TabIndex
=
6
;
this
.
RdoLandscape
.
Text
=
"横向打印"
;
//
...
...
@@ -271,11 +318,12 @@ namespace SmartScan
this
.
LstLabel
.
BorderWidth
=
2
;
this
.
LstLabel
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
LstLabel
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LstLabel
.
Location
=
new
System
.
Drawing
.
Point
(
362
,
57
);
this
.
LstLabel
.
Location
=
new
System
.
Drawing
.
Point
(
483
,
71
);
this
.
LstLabel
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LstLabel
.
Name
=
"LstLabel"
;
this
.
LstLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LstLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LstLabel
.
SelectedIndex
=
-
1
;
this
.
LstLabel
.
Size
=
new
System
.
Drawing
.
Size
(
2
00
,
20
1
);
this
.
LstLabel
.
Size
=
new
System
.
Drawing
.
Size
(
2
67
,
25
1
);
this
.
LstLabel
.
TabIndex
=
5
;
//
// LblPrint
...
...
@@ -285,10 +333,11 @@ namespace SmartScan
this
.
LblPrint
.
BorderWidth
=
0
;
this
.
LblPrint
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
LblPrint
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblPrint
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
16
);
this
.
LblPrint
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
20
);
this
.
LblPrint
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LblPrint
.
Name
=
"LblPrint"
;
this
.
LblPrint
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblPrint
.
Size
=
new
System
.
Drawing
.
Size
(
350
,
35
);
this
.
LblPrint
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LblPrint
.
Size
=
new
System
.
Drawing
.
Size
(
467
,
44
);
this
.
LblPrint
.
TabIndex
=
4
;
this
.
LblPrint
.
Text
=
"打印机"
;
//
...
...
@@ -300,10 +349,11 @@ namespace SmartScan
this
.
RdoNoImage
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
RdoNoImage
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
RdoNoImage
.
Group
=
"2"
;
this
.
RdoNoImage
.
Location
=
new
System
.
Drawing
.
Point
(
20
,
409
);
this
.
RdoNoImage
.
Location
=
new
System
.
Drawing
.
Point
(
27
,
511
);
this
.
RdoNoImage
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
RdoNoImage
.
Name
=
"RdoNoImage"
;
this
.
RdoNoImage
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
RdoNoImage
.
Size
=
new
System
.
Drawing
.
Size
(
235
,
35
);
this
.
RdoNoImage
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
RdoNoImage
.
Size
=
new
System
.
Drawing
.
Size
(
313
,
44
);
this
.
RdoNoImage
.
TabIndex
=
3
;
this
.
RdoNoImage
.
Text
=
"不保存"
;
this
.
RdoNoImage
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -316,10 +366,11 @@ namespace SmartScan
this
.
RdoCondense
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
RdoCondense
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
RdoCondense
.
Group
=
"2"
;
this
.
RdoCondense
.
Location
=
new
System
.
Drawing
.
Point
(
20
,
368
);
this
.
RdoCondense
.
Location
=
new
System
.
Drawing
.
Point
(
27
,
460
);
this
.
RdoCondense
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
RdoCondense
.
Name
=
"RdoCondense"
;
this
.
RdoCondense
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
RdoCondense
.
Size
=
new
System
.
Drawing
.
Size
(
235
,
35
);
this
.
RdoCondense
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
RdoCondense
.
Size
=
new
System
.
Drawing
.
Size
(
313
,
44
);
this
.
RdoCondense
.
TabIndex
=
2
;
this
.
RdoCondense
.
Text
=
"压缩图"
;
this
.
RdoCondense
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -332,10 +383,11 @@ namespace SmartScan
this
.
RdoOriginal
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
RdoOriginal
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
RdoOriginal
.
Group
=
"2"
;
this
.
RdoOriginal
.
Location
=
new
System
.
Drawing
.
Point
(
20
,
327
);
this
.
RdoOriginal
.
Location
=
new
System
.
Drawing
.
Point
(
27
,
409
);
this
.
RdoOriginal
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
RdoOriginal
.
Name
=
"RdoOriginal"
;
this
.
RdoOriginal
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
RdoOriginal
.
Size
=
new
System
.
Drawing
.
Size
(
235
,
35
);
this
.
RdoOriginal
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
RdoOriginal
.
Size
=
new
System
.
Drawing
.
Size
(
313
,
44
);
this
.
RdoOriginal
.
TabIndex
=
1
;
this
.
RdoOriginal
.
Text
=
"原始图"
;
this
.
RdoOriginal
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -347,51 +399,39 @@ namespace SmartScan
this
.
LblHistoryImage
.
BorderWidth
=
0
;
this
.
LblHistoryImage
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
LblHistoryImage
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblHistoryImage
.
Location
=
new
System
.
Drawing
.
Point
(
20
,
286
);
this
.
LblHistoryImage
.
Location
=
new
System
.
Drawing
.
Point
(
27
,
358
);
this
.
LblHistoryImage
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LblHistoryImage
.
Name
=
"LblHistoryImage"
;
this
.
LblHistoryImage
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblHistoryImage
.
Size
=
new
System
.
Drawing
.
Size
(
235
,
35
);
this
.
LblHistoryImage
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
LblHistoryImage
.
Size
=
new
System
.
Drawing
.
Size
(
313
,
44
);
this
.
LblHistoryImage
.
TabIndex
=
0
;
this
.
LblHistoryImage
.
Text
=
"追溯图像保存"
;
this
.
LblHistoryImage
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// ChkPromptAfterPrinting
//
this
.
ChkPromptAfterPrinting
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkPromptAfterPrinting
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkPromptAfterPrinting
.
BorderWidth
=
0
;
this
.
ChkPromptAfterPrinting
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ChkPromptAfterPrinting
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkPromptAfterPrinting
.
Location
=
new
System
.
Drawing
.
Point
(
261
,
526
);
this
.
ChkPromptAfterPrinting
.
Name
=
"ChkPromptAfterPrinting"
;
this
.
ChkPromptAfterPrinting
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkPromptAfterPrinting
.
Size
=
new
System
.
Drawing
.
Size
(
453
,
35
);
this
.
ChkPromptAfterPrinting
.
TabIndex
=
18
;
this
.
ChkPromptAfterPrinting
.
Text
=
"打印完成后提示"
;
this
.
ChkPromptAfterPrinting
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// ChkAutoPrint
//
this
.
ChkAutoPrint
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
ChkAutoPrint
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkAutoPrint
.
BorderWidth
=
0
;
this
.
ChkAutoPrint
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
ChkAutoPrint
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkAutoPrint
.
Location
=
new
System
.
Drawing
.
Point
(
261
,
566
);
this
.
ChkAutoPrint
.
Name
=
"ChkAutoPrint"
;
this
.
ChkAutoPrint
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkAutoPrint
.
Size
=
new
System
.
Drawing
.
Size
(
453
,
35
);
this
.
ChkAutoPrint
.
TabIndex
=
18
;
this
.
ChkAutoPrint
.
Text
=
"自动打印"
;
this
.
ChkAutoPrint
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
// faceCheckBox1
//
this
.
faceCheckBox1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
faceCheckBox1
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
faceCheckBox1
.
BorderWidth
=
0
;
this
.
faceCheckBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
faceCheckBox1
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
faceCheckBox1
.
Location
=
new
System
.
Drawing
.
Point
(
348
,
757
);
this
.
faceCheckBox1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
faceCheckBox1
.
Name
=
"faceCheckBox1"
;
this
.
faceCheckBox1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
faceCheckBox1
.
Size
=
new
System
.
Drawing
.
Size
(
604
,
44
);
this
.
faceCheckBox1
.
TabIndex
=
19
;
this
.
faceCheckBox1
.
Text
=
"允许修改打内容"
;
this
.
faceCheckBox1
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// UsrWorkMode
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12
F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
8F
,
15
F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
Controls
.
Add
(
this
.
facePanel1
);
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
Name
=
"UsrWorkMode"
;
this
.
Size
=
new
System
.
Drawing
.
Size
(
843
,
638
);
this
.
Size
=
new
System
.
Drawing
.
Size
(
1124
,
832
);
this
.
facePanel1
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
...
...
@@ -420,5 +460,6 @@ namespace SmartScan
private
Asa
.
FaceControl
.
FaceCheckBox
ChkTriggerOpenLight
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkAutoPrint
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkPromptAfterPrinting
;
private
Asa
.
FaceControl
.
FaceCheckBox
faceCheckBox1
;
}
}
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论