Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张东亮
/
NS100
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 2f575419
由
刘韬
编写于
2025-01-09 13:44:37 +0800
浏览文件
选项
浏览文件
标签
下载
差异文件
Merge branch 'master' of
http://106.15.194.121:8083/zdl/NS100
2 个父辈
f313cbeb
4bbefe4a
隐藏空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
730 行增加
和
655 行删除
BLL/Extension/Item_General.cs
BLL/MaterialEdit.cs
IDHIKCamera/IDHIK.cs
Model/AMatch.cs
SmartScan/Form/FrmCodeExtract.Designer.cs
SmartScan/Form/FrmDrawText.Designer.cs
SmartScan/Form/FrmRetrospect.Designer.cs
SmartScan/Form/FrmRetrospect.cs
SmartScan/Language/en-US.lngres
SmartScan/Language/zh-CN.lngres
SmartScan/PlusSettingFrm/UsrKeywordlabeling.cs
SmartScan/ScanWork.cs
SmartScan/SetControl/FrmDataFilePreview.Designer.cs
SmartScan/SetControl/FrmDataFilePreview.cs
SmartScan/SetControl/UsrCodeExtractList.Designer.cs
SmartScan/SetControl/UsrCodeExtractList.cs
SmartScan/SetControl/UsrDataSource.Designer.cs
SmartScan/SetControl/UsrPrintTemplate.Designer.cs
SmartScan/WebCallWork.cs
BLL/Extension/Item_General.cs
查看文件 @
2f57541
...
...
@@ -368,6 +368,26 @@ namespace BLL
debounceHelper
.
HandleTextChanged
((
FaceComboBox
)
sender
,
txt
);
}
private
Dictionary
<
string
,
string
>
UpdateLastKey
(
Dictionary
<
string
,
string
>
lastkey
)
{
Dictionary
<
string
,
string
>
keyValues
=
new
Dictionary
<
string
,
string
>();
if
(
lastkey
==
null
)
return
null
;
foreach
(
var
temp
in
lastkey
.
Keys
)
{
keyValues
.
Add
(
temp
,
lastkey
[
temp
]);
if
(
temp
.
Contains
(
":"
))
{
string
date
=
temp
.
Split
(
':'
)[
1
];
if
(
int
.
TryParse
(
date
,
out
int
value
)&&
value
==
0
&&
int
.
TryParse
(
lastkey
[
temp
],
out
int
value2
))
{
keyValues
[
temp
]
=
value2
.
ToString
(
$
"D{date.Length}"
);
}
}
}
return
keyValues
;
}
private
void
PrintLabel
(
object
sender
,
EventArgs
e
)
{
LogNet
.
log
.
Info
(
"Enter PrintLabel Method"
);
...
...
@@ -383,6 +403,7 @@ namespace BLL
else
lastkey
.
Add
(
extensions
[
i
].
Key
,
extensions
[
i
].
Control
.
Text
);
}
lastkey
=
UpdateLastKey
(
lastkey
);
LogNet
.
log
.
Info
(
"lastkey:"
+
JsonConvert
.
SerializeObject
(
lastkey
));
#
region
判断指定关键字是否存在内容
List
<
string
>
strings
=
new
List
<
string
>();
...
...
BLL/MaterialEdit.cs
查看文件 @
2f57541
...
...
@@ -144,6 +144,7 @@ namespace BLL
mateName
=
""
;
keyword
=
null
;
LogNet
.
log
.
Info
(
$
"code数量:{code.Count}"
);
code
.
ForEach
((
c
)
=>
{
LogNet
.
log
.
Info
(
$
"扫描到 {c.Angle}, {c.CodeType},{c.Text}"
);
...
...
@@ -431,7 +432,8 @@ namespace BLL
Islable
=
false
;
aMatch
.
IsCodeUsed
[
j
]
=
true
;
aMatch
.
Points
=
new
Point
((
int
)
code
[
j
].
Center
.
X
,
(
int
)
code
[
j
].
Center
.
Y
);
aMatch
.
Angle
=
(
int
)
code
[
j
].
Angle
;
aMatch
.
Angle
=
(
int
)
code
[
j
].
Angle
;
aMatch
.
CodeType
=
code
[
j
].
CodeType
;
}
MatchCodeIndex
.
Add
(
j
);
keyword
.
Add
(
key
,
matchKey
[
key
]);
...
...
@@ -515,6 +517,7 @@ namespace BLL
//aMatch.IsCodeUsed[0] = true;
aMatch
.
Points
=
new
Point
((
int
)
code
[
0
].
Center
.
X
,
(
int
)
code
[
0
].
Center
.
Y
);
aMatch
.
Angle
=
(
int
)
code
[
0
].
Angle
;
aMatch
.
CodeType
=
code
[
0
].
CodeType
;
}
return
true
;
}
...
...
IDHIKCamera/IDHIK.cs
查看文件 @
2f57541
using
MvCodeReaderSDKNet
;
using
MVIDCodeReaderNet
;
using
MvCodeReaderSDKNet
;
using
System
;
using
System.Collections.Generic
;
using
System.Drawing
;
...
...
@@ -430,9 +429,9 @@ namespace IDHIKCamera
MvCodeReader
.
MV_CODEREADER_IMAGE_OUT_INFO_EX2
stFrameInfoEx2
=
new
MvCodeReader
.
MV_CODEREADER_IMAGE_OUT_INFO_EX2
();
pstFrameInfoEx2
=
Marshal
.
AllocHGlobal
(
Marshal
.
SizeOf
(
typeof
(
MvCodeReader
.
MV_CODEREADER_IMAGE_OUT_INFO_EX2
)));
Marshal
.
StructureToPtr
(
stFrameInfoEx2
,
pstFrameInfoEx2
,
false
);
for
(
int
i
=
0
;
i
<
10
;
i
++)
for
(
int
i
=
0
;
i
<
4
;
i
++)
{
nRet
=
cameraCurr
[
index
].
MV_CODEREADER_GetOneFrameTimeoutEx2_NET
(
ref
pData
,
pstFrameInfoEx2
,
2
000
);
nRet
=
cameraCurr
[
index
].
MV_CODEREADER_GetOneFrameTimeoutEx2_NET
(
ref
pData
,
pstFrameInfoEx2
,
1
000
);
if
(
nRet
==
MvCodeReader
.
MV_CODEREADER_OK
)
{
...
...
@@ -442,7 +441,7 @@ namespace IDHIKCamera
else
{
LibLogUtil
.
Error
(
" Can not grab one : "
+
nRet
);
Thread
.
Sleep
(
10
0
);
Thread
.
Sleep
(
5
0
);
}
}
List
<
Point
[
]>
pts
=
new
List
<
Point
[
]>
();
...
...
Model/AMatch.cs
查看文件 @
2f57541
...
...
@@ -2,6 +2,7 @@
using
System.Collections.Generic
;
using
System.Drawing
;
using
System.Linq
;
using
System.Runtime.Serialization
;
using
System.Text
;
using
System.Threading.Tasks
;
...
...
@@ -21,6 +22,11 @@ namespace Model
/// 第一个匹配条码的角度
/// </summary>
public
int
Angle
{
get
;
set
;
}
=
0
;
//
// 摘要:
// 条码类型
[
DataMember
]
public
string
CodeType
{
get
;
set
;
}
}
/// <summary>
...
...
SmartScan/Form/FrmCodeExtract.Designer.cs
查看文件 @
2f57541
...
...
@@ -34,33 +34,39 @@ namespace SmartScan
this
.
PnlTemp
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
flowLayoutPanel1
=
new
System
.
Windows
.
Forms
.
FlowLayoutPanel
();
this
.
pnlMatch
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
NudMiddleTextCount
=
new
Asa
.
FaceControl
.
FaceNumericUpDown
();
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
.
lblMatchRes
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
Characteristicbarcode
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
pnlRawCode
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
richTextBox1
=
new
System
.
Windows
.
Forms
.
RichTextBox
();
this
.
pnlKeywords
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
tableLayoutPanel2
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
tableLayoutPanel3
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
tableLayoutPanel4
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
BtnAdd
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
BtnDel
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
tableLayoutPanel5
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
Characteristicbarcode
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
lblMatchRes
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
ChoMatchMiddleType
=
new
Asa
.
FaceControl
.
FaceComboBox
();
this
.
ChkCaseSensitivity
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
TxtMatchingMiddleText
=
new
Asa
.
FaceControl
.
FaceTextBox
();
this
.
ChkMatchingMiddle
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
TxtMatchingEndText
=
new
Asa
.
FaceControl
.
FaceTextBox
();
this
.
ChkMatchingEnd
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
TxtMatchingStartText
=
new
Asa
.
FaceControl
.
FaceTextBox
();
this
.
ChkMatchingStart
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
LblCodeType
=
new
Asa
.
FaceControl
.
FaceLabel
();
this
.
ChkCheckCodeType
=
new
Asa
.
FaceControl
.
FaceCheckBox
();
this
.
NudMiddleTextCount
=
new
Asa
.
FaceControl
.
FaceNumericUpDown
();
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
tableLayoutPanel6
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
pnlMatch
.
SuspendLayout
();
this
.
tableLayoutPanel1
.
SuspendLayout
();
this
.
pnlRawCode
.
SuspendLayout
();
this
.
pnlKeywords
.
SuspendLayout
();
this
.
tableLayoutPanel2
.
SuspendLayout
();
this
.
tableLayoutPanel3
.
SuspendLayout
();
this
.
tableLayoutPanel4
.
SuspendLayout
();
this
.
tableLayoutPanel5
.
SuspendLayout
();
this
.
tableLayoutPanel1
.
SuspendLayout
();
this
.
tableLayoutPanel6
.
SuspendLayout
();
this
.
SuspendLayout
();
//
// BtnOK
...
...
@@ -114,10 +120,10 @@ namespace SmartScan
//
// flowLayoutPanel1
//
this
.
flowLayoutPanel1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Bottom
;
this
.
flowLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
29
);
this
.
flowLayoutPanel1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
flowLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
flowLayoutPanel1
.
Name
=
"flowLayoutPanel1"
;
this
.
flowLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
4
83
,
147
);
this
.
flowLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
4
01
,
134
);
this
.
flowLayoutPanel1
.
TabIndex
=
29
;
//
// pnlMatch
...
...
@@ -137,187 +143,215 @@ namespace SmartScan
this
.
pnlMatch
.
TextImageRelation
=
System
.
Windows
.
Forms
.
TextImageRelation
.
TextAboveImage
;
this
.
pnlMatch
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
//
// tableLayoutPanel1
//
this
.
tableLayoutPanel1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
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
.
Controls
.
Add
(
this
.
lblMatchRes
,
3
,
3
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
Characteristicbarcode
,
3
,
2
);
this
.
tableLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
36
);
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
(
483
,
232
);
this
.
tableLayoutPanel1
.
TabIndex
=
0
;
// pnlRawCode
//
// NudMiddleTextCount
this
.
pnlRawCode
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
pnlRawCode
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
pnlRawCode
.
BorderWidth
=
2
;
this
.
pnlRawCode
.
Controls
.
Add
(
this
.
richTextBox1
);
this
.
pnlRawCode
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
pnlRawCode
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
pnlRawCode
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
pnlRawCode
.
Name
=
"pnlRawCode"
;
this
.
pnlRawCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
pnlRawCode
.
Size
=
new
System
.
Drawing
.
Size
(
489
,
335
);
this
.
pnlRawCode
.
TabIndex
=
31
;
this
.
pnlRawCode
.
Text
=
"原始条码信息"
;
this
.
pnlRawCode
.
TextImageRelation
=
System
.
Windows
.
Forms
.
TextImageRelation
.
ImageAboveText
;
this
.
pnlRawCode
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
//
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
(
4
,
172
);
this
.
NudMiddleTextCount
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudMiddleTextCount
.
Maximum
=
9999F
;
this
.
NudMiddleTextCount
.
Minimum
=
1F
;
this
.
NudMiddleTextCount
.
Name
=
"NudMiddleTextCount"
;
this
.
NudMiddleTextCount
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudMiddleTextCount
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
56
);
this
.
NudMiddleTextCount
.
TabIndex
=
62
;
this
.
NudMiddleTextCount
.
Text
=
"1"
;
this
.
NudMiddleTextCount
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
NudMiddleTextCount
.
Value
=
1F
;
this
.
NudMiddleTextCount
.
ValueChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
// richTextBox1
//
// ChkCheckCodeType
this
.
richTextBox1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
richTextBox1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
richTextBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
16F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
richTextBox1
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
Menu
;
this
.
richTextBox1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
richTextBox1
.
Name
=
"richTextBox1"
;
this
.
richTextBox1
.
Size
=
new
System
.
Drawing
.
Size
(
483
,
329
);
this
.
richTextBox1
.
TabIndex
=
7
;
this
.
richTextBox1
.
Text
=
"weqw"
;
//
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
(
112
,
48
);
this
.
ChkCheckCodeType
.
TabIndex
=
52
;
this
.
ChkCheckCodeType
.
Text
=
"CheckCodeType"
;
this
.
ChkCheckCodeType
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
ChkCheckCodeType
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
// pnlKeywords
//
// LblCodeType
this
.
pnlKeywords
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
pnlKeywords
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
pnlKeywords
.
BorderWidth
=
2
;
this
.
pnlKeywords
.
Controls
.
Add
(
this
.
tableLayoutPanel5
);
this
.
pnlKeywords
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
pnlKeywords
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
pnlKeywords
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
pnlKeywords
.
Name
=
"pnlKeywords"
;
this
.
pnlKeywords
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
pnlKeywords
.
Size
=
new
System
.
Drawing
.
Size
(
489
,
179
);
this
.
pnlKeywords
.
TabIndex
=
32
;
this
.
pnlKeywords
.
Text
=
"关键字"
;
this
.
pnlKeywords
.
TextImageRelation
=
System
.
Windows
.
Forms
.
TextImageRelation
.
ImageAboveText
;
this
.
pnlKeywords
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
//
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
(
124
,
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
(
232
,
48
);
this
.
LblCodeType
.
TabIndex
=
53
;
this
.
LblCodeType
.
Text
=
"-"
;
this
.
LblCodeType
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
// tableLayoutPanel2
//
// ChkMatchingStart
this
.
tableLayoutPanel2
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tableLayoutPanel2
.
ColumnCount
=
2
;
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
50F
));
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
50F
));
this
.
tableLayoutPanel2
.
Controls
.
Add
(
this
.
tableLayoutPanel3
,
1
,
0
);
this
.
tableLayoutPanel2
.
Controls
.
Add
(
this
.
tableLayoutPanel4
,
0
,
0
);
this
.
tableLayoutPanel2
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
59
);
this
.
tableLayoutPanel2
.
Name
=
"tableLayoutPanel2"
;
this
.
tableLayoutPanel2
.
RowCount
=
1
;
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
50F
));
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
1002
,
624
);
this
.
tableLayoutPanel2
.
TabIndex
=
33
;
//
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
(
112
,
48
);
this
.
ChkMatchingStart
.
TabIndex
=
54
;
this
.
ChkMatchingStart
.
Text
=
"Start"
;
this
.
ChkMatchingStart
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
ChkMatchingStart
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
// tableLayoutPanel3
//
// TxtMatchingStartText
this
.
tableLayoutPanel3
.
ColumnCount
=
1
;
this
.
tableLayoutPanel3
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
tableLayoutPanel3
.
Controls
.
Add
(
this
.
pnlKeywords
,
0
,
0
);
this
.
tableLayoutPanel3
.
Controls
.
Add
(
this
.
PnlTemp
,
0
,
1
);
this
.
tableLayoutPanel3
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
tableLayoutPanel3
.
Location
=
new
System
.
Drawing
.
Point
(
504
,
3
);
this
.
tableLayoutPanel3
.
Name
=
"tableLayoutPanel3"
;
this
.
tableLayoutPanel3
.
RowCount
=
2
;
this
.
tableLayoutPanel3
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
30F
));
this
.
tableLayoutPanel3
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
70F
));
this
.
tableLayoutPanel3
.
Size
=
new
System
.
Drawing
.
Size
(
495
,
618
);
this
.
tableLayoutPanel3
.
TabIndex
=
32
;
//
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
(
124
,
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
(
112
,
48
);
this
.
TxtMatchingStartText
.
TabIndex
=
55
;
this
.
TxtMatchingStartText
.
Text
=
"faceTextBox1"
;
this
.
TxtMatchingStartText
.
TextChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
// tableLayoutPanel4
//
// ChkMatchingEnd
this
.
tableLayoutPanel4
.
ColumnCount
=
1
;
this
.
tableLayoutPanel4
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
tableLayoutPanel4
.
Controls
.
Add
(
this
.
pnlRawCode
,
0
,
0
);
this
.
tableLayoutPanel4
.
Controls
.
Add
(
this
.
pnlMatch
,
0
,
1
);
this
.
tableLayoutPanel4
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
tableLayoutPanel4
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
tableLayoutPanel4
.
Name
=
"tableLayoutPanel4"
;
this
.
tableLayoutPanel4
.
RowCount
=
2
;
this
.
tableLayoutPanel4
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
tableLayoutPanel4
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
277F
));
this
.
tableLayoutPanel4
.
Size
=
new
System
.
Drawing
.
Size
(
495
,
618
);
this
.
tableLayoutPanel4
.
TabIndex
=
33
;
//
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
(
244
,
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
(
112
,
48
);
this
.
ChkMatchingEnd
.
TabIndex
=
56
;
this
.
ChkMatchingEnd
.
Text
=
"End"
;
this
.
ChkMatchingEnd
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
ChkMatchingEnd
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
// 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
(
3
,
3
);
this
.
BtnAdd
.
Name
=
"BtnAdd"
;
this
.
BtnAdd
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnAdd
.
Size
=
new
System
.
Drawing
.
Size
(
58
,
61
);
this
.
BtnAdd
.
TabIndex
=
0
;
this
.
BtnAdd
.
Text
=
"Add"
;
this
.
BtnAdd
.
Click
+=
new
System
.
EventHandler
(
this
.
List_AddClick
);
//
// BtnDel
//
this
.
BtnDel
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
BtnDel
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
BtnDel
.
BorderWidth
=
2
;
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
(
3
,
70
);
this
.
BtnDel
.
Name
=
"BtnDel"
;
this
.
BtnDel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnDel
.
Size
=
new
System
.
Drawing
.
Size
(
58
,
61
);
this
.
BtnDel
.
TabIndex
=
1
;
this
.
BtnDel
.
Text
=
"Del"
;
this
.
BtnDel
.
Click
+=
new
System
.
EventHandler
(
this
.
List_DelClick
);
//
// tableLayoutPanel5
//
this
.
tableLayoutPanel5
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tableLayoutPanel5
.
ColumnCount
=
2
;
this
.
tableLayoutPanel5
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
tableLayoutPanel5
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
70F
));
this
.
tableLayoutPanel5
.
Controls
.
Add
(
this
.
flowLayoutPanel1
,
0
,
0
);
this
.
tableLayoutPanel5
.
Controls
.
Add
(
this
.
tableLayoutPanel6
,
1
,
0
);
this
.
tableLayoutPanel5
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
33
);
this
.
tableLayoutPanel5
.
Name
=
"tableLayoutPanel5"
;
this
.
tableLayoutPanel5
.
RowCount
=
1
;
this
.
tableLayoutPanel5
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
tableLayoutPanel5
.
Size
=
new
System
.
Drawing
.
Size
(
477
,
140
);
this
.
tableLayoutPanel5
.
TabIndex
=
0
;
//
//
TxtMatchingEndText
//
Characteristicbarcode
//
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
(
364
,
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
(
115
,
48
);
this
.
TxtMatchingEndText
.
TabIndex
=
57
;
this
.
TxtMatchingEndText
.
Text
=
"faceTextBox2"
;
this
.
TxtMatchingEndText
.
TextChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
this
.
Characteristicbarcode
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
Characteristicbarcode
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
Characteristicbarcode
.
BorderWidth
=
0
;
this
.
Characteristicbarcode
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
Characteristicbarcode
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
Characteristicbarcode
.
Location
=
new
System
.
Drawing
.
Point
(
364
,
116
);
this
.
Characteristicbarcode
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
Characteristicbarcode
.
Name
=
"Characteristicbarcode"
;
this
.
Characteristicbarcode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
Characteristicbarcode
.
Size
=
new
System
.
Drawing
.
Size
(
115
,
48
);
this
.
Characteristicbarcode
.
TabIndex
=
64
;
this
.
Characteristicbarcode
.
Text
=
"特征码"
;
this
.
Characteristicbarcode
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
Characteristicbarcode
.
Visible
=
false
;
//
//
ChkMatchingMiddle
//
lblMatchRes
//
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
(
112
,
48
);
this
.
ChkMatchingMiddle
.
TabIndex
=
58
;
this
.
ChkMatchingMiddle
.
Text
=
"Middle"
;
this
.
ChkMatchingMiddle
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
ChkMatchingMiddle
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
this
.
lblMatchRes
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
lblMatchRes
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
lblMatchRes
.
BorderWidth
=
0
;
this
.
lblMatchRes
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
lblMatchRes
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
,
System
.
Drawing
.
FontStyle
.
Bold
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMatchRes
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
lblMatchRes
.
Location
=
new
System
.
Drawing
.
Point
(
364
,
172
);
this
.
lblMatchRes
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
lblMatchRes
.
Name
=
"lblMatchRes"
;
this
.
lblMatchRes
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
lblMatchRes
.
Size
=
new
System
.
Drawing
.
Size
(
115
,
56
);
this
.
lblMatchRes
.
TabIndex
=
63
;
//
// 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
(
124
,
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
(
112
,
56
);
this
.
ChoMatchMiddleType
.
TabIndex
=
61
;
this
.
ChoMatchMiddleType
.
Text
=
"faceComboBox1"
;
this
.
ChoMatchMiddleType
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
ChoMatchMiddleType
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
//
// 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
(
244
,
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
(
112
,
48
);
this
.
ChkCaseSensitivity
.
TabIndex
=
60
;
this
.
ChkCaseSensitivity
.
Text
=
"Sensitivity"
;
this
.
ChkCaseSensitivity
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
ChkCaseSensitivity
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
//
// TxtMatchingMiddleText
//
...
...
@@ -340,166 +374,201 @@ namespace SmartScan
this
.
TxtMatchingMiddleText
.
Text
=
"faceTextBox3"
;
this
.
TxtMatchingMiddleText
.
TextChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
//
// Chk
CaseSensitivity
// Chk
MatchingMiddle
//
this
.
Chk
CaseSensitivity
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
Chk
CaseSensitivity
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
Chk
CaseSensitivity
.
BorderWidth
=
0
;
this
.
Chk
CaseSensitivity
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
Chk
CaseSensitivity
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
Chk
CaseSensitivity
.
Location
=
new
System
.
Drawing
.
Point
(
24
4
,
116
);
this
.
Chk
CaseSensitivity
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
Chk
CaseSensitivity
.
Name
=
"ChkCaseSensitivity
"
;
this
.
Chk
CaseSensitivity
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
Chk
CaseSensitivity
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
48
);
this
.
Chk
CaseSensitivity
.
TabIndex
=
60
;
this
.
Chk
CaseSensitivity
.
Text
=
"Sensitivity
"
;
this
.
Chk
CaseSensitivity
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
Chk
CaseSensitivity
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
this
.
Chk
MatchingMiddle
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
Chk
MatchingMiddle
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
Chk
MatchingMiddle
.
BorderWidth
=
0
;
this
.
Chk
MatchingMiddle
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
Chk
MatchingMiddle
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
Chk
MatchingMiddle
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
116
);
this
.
Chk
MatchingMiddle
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
Chk
MatchingMiddle
.
Name
=
"ChkMatchingMiddle
"
;
this
.
Chk
MatchingMiddle
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
Chk
MatchingMiddle
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
48
);
this
.
Chk
MatchingMiddle
.
TabIndex
=
58
;
this
.
Chk
MatchingMiddle
.
Text
=
"Middle
"
;
this
.
Chk
MatchingMiddle
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
Chk
MatchingMiddle
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
//
//
ChoMatchMiddleType
//
TxtMatchingEndText
//
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
(
124
,
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
(
112
,
56
);
this
.
ChoMatchMiddleType
.
TabIndex
=
61
;
this
.
ChoMatchMiddleType
.
Text
=
"faceComboBox1"
;
this
.
ChoMatchMiddleType
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
ChoMatchMiddleType
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
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
(
364
,
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
(
115
,
48
);
this
.
TxtMatchingEndText
.
TabIndex
=
57
;
this
.
TxtMatchingEndText
.
Text
=
"faceTextBox2"
;
this
.
TxtMatchingEndText
.
TextChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
//
//
lblMatchRes
//
ChkMatchingEnd
//
this
.
lblMatchRes
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
lblMatchRes
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
lblMatchRes
.
BorderWidth
=
0
;
this
.
lblMatchRes
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
lblMatchRes
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
,
System
.
Drawing
.
FontStyle
.
Bold
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMatchRes
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
lblMatchRes
.
Location
=
new
System
.
Drawing
.
Point
(
364
,
172
);
this
.
lblMatchRes
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
lblMatchRes
.
Name
=
"lblMatchRes"
;
this
.
lblMatchRes
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
lblMatchRes
.
Size
=
new
System
.
Drawing
.
Size
(
115
,
56
);
this
.
lblMatchRes
.
TabIndex
=
63
;
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
(
244
,
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
(
112
,
48
);
this
.
ChkMatchingEnd
.
TabIndex
=
56
;
this
.
ChkMatchingEnd
.
Text
=
"End"
;
this
.
ChkMatchingEnd
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
ChkMatchingEnd
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
//
//
Characteristicbarcode
//
TxtMatchingStartText
//
this
.
Characteristicbarcode
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
Characteristicbarcode
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
Characteristicbarcode
.
BorderWidth
=
0
;
this
.
Characteristicbarcode
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
Characteristicbarcode
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
Characteristicbarcode
.
Location
=
new
System
.
Drawing
.
Point
(
364
,
116
);
this
.
Characteristicbarcode
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
Characteristicbarcode
.
Name
=
"Characteristicbarcode"
;
this
.
Characteristicbarcode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
Characteristicbarcode
.
Size
=
new
System
.
Drawing
.
Size
(
115
,
48
);
this
.
Characteristicbarcode
.
TabIndex
=
64
;
this
.
Characteristicbarcode
.
Text
=
"特征码"
;
this
.
Characteristicbarcode
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
Characteristicbarcode
.
Visible
=
false
;
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
(
124
,
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
(
112
,
48
);
this
.
TxtMatchingStartText
.
TabIndex
=
55
;
this
.
TxtMatchingStartText
.
Text
=
"faceTextBox1"
;
this
.
TxtMatchingStartText
.
TextChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
//
//
pnlRawCode
//
ChkMatchingStart
//
this
.
pnlRawCode
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
pnlRawCode
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
pnlRawCode
.
BorderWidth
=
2
;
this
.
pnlRawCode
.
Controls
.
Add
(
this
.
richTextBox1
)
;
this
.
pnlRawCode
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
pnlRawCode
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
))))
);
this
.
pnlRawCode
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
pnlRawCode
.
Name
=
"pnlRawCode
"
;
this
.
pnlRawCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
pnlRawCode
.
Size
=
new
System
.
Drawing
.
Size
(
489
,
335
);
this
.
pnlRawCode
.
TabIndex
=
31
;
this
.
pnlRawCode
.
Text
=
"原始条码信息
"
;
this
.
pnlRawCode
.
TextImageRelation
=
System
.
Windows
.
Forms
.
TextImageRelation
.
ImageAboveTex
t
;
this
.
pnlRawCode
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
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
(
112
,
48
);
this
.
ChkMatchingStart
.
TabIndex
=
54
;
this
.
ChkMatchingStart
.
Text
=
"Start
"
;
this
.
ChkMatchingStart
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLef
t
;
this
.
ChkMatchingStart
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
//
//
richTextBox1
//
LblCodeType
//
this
.
richTextBox1
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
richTextBox1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
richTextBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
16F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
richTextBox1
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
Menu
;
this
.
richTextBox1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
richTextBox1
.
Name
=
"richTextBox1"
;
this
.
richTextBox1
.
Size
=
new
System
.
Drawing
.
Size
(
483
,
329
);
this
.
richTextBox1
.
TabIndex
=
7
;
this
.
richTextBox1
.
Text
=
"weqw"
;
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
(
124
,
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
(
232
,
48
);
this
.
LblCodeType
.
TabIndex
=
53
;
this
.
LblCodeType
.
Text
=
"-"
;
this
.
LblCodeType
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
//
pnlKeywords
//
ChkCheckCodeType
//
this
.
pnlKeywords
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
pnlKeywords
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
pnlKeywords
.
BorderWidth
=
2
;
this
.
pnlKeywords
.
Controls
.
Add
(
this
.
flowLayoutPanel1
)
;
this
.
pnlKeywords
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
pnlKeywords
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
))))
);
this
.
pnlKeywords
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
pnlKeywords
.
Name
=
"pnlKeywords
"
;
this
.
pnlKeywords
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
pnlKeywords
.
Size
=
new
System
.
Drawing
.
Size
(
489
,
179
);
this
.
pnlKeywords
.
TabIndex
=
3
2
;
this
.
pnlKeywords
.
Text
=
"关键字
"
;
this
.
pnlKeywords
.
TextImageRelation
=
System
.
Windows
.
Forms
.
TextImageRelation
.
ImageAboveTex
t
;
this
.
pnlKeywords
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
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
(
112
,
48
);
this
.
ChkCheckCodeType
.
TabIndex
=
5
2
;
this
.
ChkCheckCodeType
.
Text
=
"CheckCodeType
"
;
this
.
ChkCheckCodeType
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLef
t
;
this
.
ChkCheckCodeType
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
//
//
tableLayoutPanel2
//
NudMiddleTextCount
//
this
.
tableLayoutPanel2
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tableLayoutPanel2
.
ColumnCount
=
2
;
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
50F
));
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
50F
));
this
.
tableLayoutPanel2
.
Controls
.
Add
(
this
.
tableLayoutPanel3
,
1
,
0
);
this
.
tableLayoutPanel2
.
Controls
.
Add
(
this
.
tableLayoutPanel4
,
0
,
0
);
this
.
tableLayoutPanel2
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
59
);
this
.
tableLayoutPanel2
.
Name
=
"tableLayoutPanel2"
;
this
.
tableLayoutPanel2
.
RowCount
=
1
;
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
50F
));
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
1002
,
624
);
this
.
tableLayoutPanel2
.
TabIndex
=
33
;
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
(
4
,
172
);
this
.
NudMiddleTextCount
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudMiddleTextCount
.
Maximum
=
9999F
;
this
.
NudMiddleTextCount
.
Minimum
=
1F
;
this
.
NudMiddleTextCount
.
Name
=
"NudMiddleTextCount"
;
this
.
NudMiddleTextCount
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
NudMiddleTextCount
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
56
);
this
.
NudMiddleTextCount
.
TabIndex
=
62
;
this
.
NudMiddleTextCount
.
Text
=
"1"
;
this
.
NudMiddleTextCount
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
this
.
NudMiddleTextCount
.
Value
=
1F
;
this
.
NudMiddleTextCount
.
ValueChanged
+=
new
System
.
EventHandler
(
this
.
matchChanged
);
//
// tableLayoutPanel
3
// tableLayoutPanel
1
//
this
.
tableLayoutPanel3
.
ColumnCount
=
1
;
this
.
tableLayoutPanel3
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
tableLayoutPanel3
.
Controls
.
Add
(
this
.
pnlKeywords
,
0
,
0
);
this
.
tableLayoutPanel3
.
Controls
.
Add
(
this
.
PnlTemp
,
0
,
1
);
this
.
tableLayoutPanel3
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
tableLayoutPanel3
.
Location
=
new
System
.
Drawing
.
Point
(
504
,
3
);
this
.
tableLayoutPanel3
.
Name
=
"tableLayoutPanel3"
;
this
.
tableLayoutPanel3
.
RowCount
=
2
;
this
.
tableLayoutPanel3
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
30F
));
this
.
tableLayoutPanel3
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
70F
));
this
.
tableLayoutPanel3
.
Size
=
new
System
.
Drawing
.
Size
(
495
,
618
);
this
.
tableLayoutPanel3
.
TabIndex
=
32
;
this
.
tableLayoutPanel1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
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
.
Controls
.
Add
(
this
.
lblMatchRes
,
3
,
3
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
Characteristicbarcode
,
3
,
2
);
this
.
tableLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
36
);
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
(
483
,
232
);
this
.
tableLayoutPanel1
.
TabIndex
=
0
;
//
// tableLayoutPanel
4
// tableLayoutPanel
6
//
this
.
tableLayoutPanel4
.
ColumnCount
=
1
;
this
.
tableLayoutPanel4
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
tableLayoutPanel4
.
Controls
.
Add
(
this
.
pnlRawCode
,
0
,
0
);
this
.
tableLayoutPanel4
.
Controls
.
Add
(
this
.
pnlMatch
,
0
,
1
);
this
.
tableLayoutPanel4
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
tableLayoutPanel4
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
tableLayoutPanel4
.
Name
=
"tableLayoutPanel4"
;
this
.
tableLayoutPanel4
.
RowCount
=
2
;
this
.
tableLayoutPanel4
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
tableLayoutPanel4
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
277F
));
this
.
tableLayoutPanel4
.
Size
=
new
System
.
Drawing
.
Size
(
495
,
618
);
this
.
tableLayoutPanel4
.
TabIndex
=
33
;
this
.
tableLayoutPanel6
.
ColumnCount
=
1
;
this
.
tableLayoutPanel6
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
50F
));
this
.
tableLayoutPanel6
.
Controls
.
Add
(
this
.
BtnDel
,
0
,
1
);
this
.
tableLayoutPanel6
.
Controls
.
Add
(
this
.
BtnAdd
,
0
,
0
);
this
.
tableLayoutPanel6
.
Location
=
new
System
.
Drawing
.
Point
(
410
,
3
);
this
.
tableLayoutPanel6
.
Name
=
"tableLayoutPanel6"
;
this
.
tableLayoutPanel6
.
RowCount
=
2
;
this
.
tableLayoutPanel6
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
50F
));
this
.
tableLayoutPanel6
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
50F
));
this
.
tableLayoutPanel6
.
Size
=
new
System
.
Drawing
.
Size
(
64
,
134
);
this
.
tableLayoutPanel6
.
TabIndex
=
30
;
//
// FrmCodeExtract
//
...
...
@@ -516,12 +585,14 @@ namespace SmartScan
this
.
Controls
.
SetChildIndex
(
this
.
BtnCancel
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
tableLayoutPanel2
,
0
);
this
.
pnlMatch
.
ResumeLayout
(
false
);
this
.
tableLayoutPanel1
.
ResumeLayout
(
false
);
this
.
pnlRawCode
.
ResumeLayout
(
false
);
this
.
pnlKeywords
.
ResumeLayout
(
false
);
this
.
tableLayoutPanel2
.
ResumeLayout
(
false
);
this
.
tableLayoutPanel3
.
ResumeLayout
(
false
);
this
.
tableLayoutPanel4
.
ResumeLayout
(
false
);
this
.
tableLayoutPanel5
.
ResumeLayout
(
false
);
this
.
tableLayoutPanel1
.
ResumeLayout
(
false
);
this
.
tableLayoutPanel6
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
}
...
...
@@ -532,7 +603,16 @@ namespace SmartScan
private
Asa
.
FaceControl
.
FacePanel
PnlTemp
;
private
System
.
Windows
.
Forms
.
FlowLayoutPanel
flowLayoutPanel1
;
private
Asa
.
FaceControl
.
FacePanel
pnlMatch
;
private
Asa
.
FaceControl
.
FacePanel
pnlRawCode
;
private
Asa
.
FaceControl
.
FacePanel
pnlKeywords
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel2
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel3
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel4
;
private
System
.
Windows
.
Forms
.
RichTextBox
richTextBox1
;
private
Asa
.
FaceControl
.
FaceButton
BtnAdd
;
private
Asa
.
FaceControl
.
FaceButton
BtnDel
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel1
;
private
Asa
.
FaceControl
.
FaceNumericUpDown
NudMiddleTextCount
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkCheckCodeType
;
private
Asa
.
FaceControl
.
FaceLabel
LblCodeType
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkMatchingStart
;
...
...
@@ -543,14 +623,9 @@ namespace SmartScan
private
Asa
.
FaceControl
.
FaceTextBox
TxtMatchingMiddleText
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkCaseSensitivity
;
private
Asa
.
FaceControl
.
FaceComboBox
ChoMatchMiddleType
;
private
Asa
.
FaceControl
.
FaceNumericUpDown
NudMiddleTextCount
;
private
Asa
.
FaceControl
.
FaceLabel
lblMatchRes
;
private
Asa
.
FaceControl
.
FacePanel
pnlRawCode
;
private
Asa
.
FaceControl
.
FacePanel
pnlKeywords
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel2
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel3
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel4
;
private
System
.
Windows
.
Forms
.
RichTextBox
richTextBox1
;
private
Asa
.
FaceControl
.
FaceCheckBox
Characteristicbarcode
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel5
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel6
;
}
}
\ No newline at end of file
SmartScan/Form/FrmDrawText.Designer.cs
查看文件 @
2f57541
...
...
@@ -72,7 +72,7 @@
this
.
Controls
.
Add
(
this
.
faceButton1
);
this
.
Icon
=
((
System
.
Drawing
.
Bitmap
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
Name
=
"FrmDrawText"
;
this
.
Text
=
"Using OCR
r
esult"
;
this
.
Text
=
"Using OCR
R
esult"
;
this
.
Controls
.
SetChildIndex
(
this
.
faceButton1
,
0
);
this
.
Controls
.
SetChildIndex
(
this
.
faceButton2
,
0
);
this
.
ResumeLayout
(
false
);
...
...
SmartScan/Form/FrmRetrospect.Designer.cs
查看文件 @
2f57541
...
...
@@ -76,8 +76,7 @@ namespace SmartScan
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
faceBut_prin
,
2
,
4
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
LstRecord
,
0
,
10
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
faceLabel1
,
0
,
9
);
this
.
tableLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
16
,
50
);
this
.
tableLayoutPanel1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
tableLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
33
);
this
.
tableLayoutPanel1
.
Name
=
"tableLayoutPanel1"
;
this
.
tableLayoutPanel1
.
RowCount
=
10
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
5F
));
...
...
@@ -91,8 +90,8 @@ namespace SmartScan
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
8F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
5F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
35F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
24
F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
1
524
,
970
);
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
16
F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
1
016
,
647
);
this
.
tableLayoutPanel1
.
TabIndex
=
19
;
//
// butt_startserver
...
...
@@ -103,11 +102,11 @@ namespace SmartScan
this
.
butt_startserver
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
butt_startserver
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
butt_startserver
.
HoldPress
=
false
;
this
.
butt_startserver
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
504
);
this
.
butt_startserver
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
butt_startserver
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
335
);
this
.
butt_startserver
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
3
,
2
,
3
);
this
.
butt_startserver
.
Name
=
"butt_startserver"
;
this
.
butt_startserver
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
butt_startserver
.
Size
=
new
System
.
Drawing
.
Size
(
298
,
69
);
this
.
butt_startserver
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
3
,
2
,
3
);
this
.
butt_startserver
.
Size
=
new
System
.
Drawing
.
Size
(
199
,
45
);
this
.
butt_startserver
.
TabIndex
=
22
;
this
.
butt_startserver
.
Text
=
"启动服务"
;
this
.
butt_startserver
.
Visible
=
false
;
...
...
@@ -119,11 +118,10 @@ namespace SmartScan
this
.
DtpUpper
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
DtpUpper
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
DtpUpper
.
Format
=
System
.
Windows
.
Forms
.
DateTimePickerFormat
.
Custom
;
this
.
DtpUpper
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
52
);
this
.
DtpUpper
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
DtpUpper
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
35
);
this
.
DtpUpper
.
Name
=
"DtpUpper"
;
this
.
DtpUpper
.
ShowCheckBox
=
true
;
this
.
DtpUpper
.
Size
=
new
System
.
Drawing
.
Size
(
296
,
35
);
this
.
DtpUpper
.
Size
=
new
System
.
Drawing
.
Size
(
197
,
26
);
this
.
DtpUpper
.
TabIndex
=
6
;
//
// LstLabel
...
...
@@ -135,12 +133,11 @@ namespace SmartScan
this
.
LstLabel
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
9F
);
this
.
LstLabel
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LstLabel
.
ItemHeight
=
40
;
this
.
LstLabel
.
Location
=
new
System
.
Drawing
.
Point
(
1070
,
629
);
this
.
LstLabel
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LstLabel
.
Location
=
new
System
.
Drawing
.
Point
(
714
,
418
);
this
.
LstLabel
.
Name
=
"LstLabel"
;
this
.
LstLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LstLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LstLabel
.
SelectedIndex
=
-
1
;
this
.
LstLabel
.
Size
=
new
System
.
Drawing
.
Size
(
450
,
337
);
this
.
LstLabel
.
Size
=
new
System
.
Drawing
.
Size
(
299
,
226
);
this
.
LstLabel
.
TabIndex
=
18
;
this
.
LstLabel
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Left
;
//
...
...
@@ -152,11 +149,10 @@ namespace SmartScan
this
.
BtnExport
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
BtnExport
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnExport
.
HoldPress
=
false
;
this
.
BtnExport
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
350
);
this
.
BtnExport
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnExport
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
233
);
this
.
BtnExport
.
Name
=
"BtnExport"
;
this
.
BtnExport
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnExport
.
Size
=
new
System
.
Drawing
.
Size
(
296
,
69
);
this
.
BtnExport
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnExport
.
Size
=
new
System
.
Drawing
.
Size
(
197
,
45
);
this
.
BtnExport
.
TabIndex
=
10
;
this
.
BtnExport
.
Text
=
"导出"
;
this
.
BtnExport
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnExport_Click
);
...
...
@@ -168,11 +164,10 @@ namespace SmartScan
this
.
LblDateRange
.
BorderWidth
=
0
;
this
.
LblDateRange
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LblDateRange
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblDateRange
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
4
);
this
.
LblDateRange
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblDateRange
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
LblDateRange
.
Name
=
"LblDateRange"
;
this
.
LblDateRange
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblDateRange
.
Size
=
new
System
.
Drawing
.
Size
(
296
,
40
);
this
.
LblDateRange
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblDateRange
.
Size
=
new
System
.
Drawing
.
Size
(
197
,
26
);
this
.
LblDateRange
.
TabIndex
=
21
;
this
.
LblDateRange
.
Text
=
"日期"
;
this
.
LblDateRange
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -183,17 +178,16 @@ namespace SmartScan
this
.
TxtCode
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
TxtCode
.
BorderWidth
=
2
;
this
.
TxtCode
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
TxtCode
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
196
);
this
.
TxtCode
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
TxtCode
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
131
);
this
.
TxtCode
.
MaxLength
=
32767
;
this
.
TxtCode
.
Name
=
"TxtCode"
;
this
.
TxtCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
TxtCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
TxtCode
.
SelectedText
=
""
;
this
.
TxtCode
.
SelectionLength
=
0
;
this
.
TxtCode
.
SelectionStart
=
0
;
this
.
TxtCode
.
ShowDel
=
true
;
this
.
TxtCode
.
ShowQuery
=
false
;
this
.
TxtCode
.
Size
=
new
System
.
Drawing
.
Size
(
296
,
69
);
this
.
TxtCode
.
Size
=
new
System
.
Drawing
.
Size
(
197
,
45
);
this
.
TxtCode
.
TabIndex
=
8
;
//
// BtnSelect
...
...
@@ -204,11 +198,10 @@ namespace SmartScan
this
.
BtnSelect
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
BtnSelect
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnSelect
.
HoldPress
=
false
;
this
.
BtnSelect
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
273
);
this
.
BtnSelect
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnSelect
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
182
);
this
.
BtnSelect
.
Name
=
"BtnSelect"
;
this
.
BtnSelect
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnSelect
.
Size
=
new
System
.
Drawing
.
Size
(
296
,
69
);
this
.
BtnSelect
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnSelect
.
Size
=
new
System
.
Drawing
.
Size
(
197
,
45
);
this
.
BtnSelect
.
TabIndex
=
9
;
this
.
BtnSelect
.
Text
=
"查询"
;
this
.
BtnSelect
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnSelect_Click
);
...
...
@@ -220,11 +213,10 @@ namespace SmartScan
this
.
LblCode
.
BorderWidth
=
0
;
this
.
LblCode
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LblCode
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblCode
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
148
);
this
.
LblCode
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblCode
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
99
);
this
.
LblCode
.
Name
=
"LblCode"
;
this
.
LblCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblCode
.
Size
=
new
System
.
Drawing
.
Size
(
296
,
40
);
this
.
LblCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblCode
.
Size
=
new
System
.
Drawing
.
Size
(
197
,
26
);
this
.
LblCode
.
TabIndex
=
20
;
this
.
LblCode
.
Text
=
"条码"
;
this
.
LblCode
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -235,22 +227,20 @@ namespace SmartScan
this
.
DtpLower
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
DtpLower
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
DtpLower
.
Format
=
System
.
Windows
.
Forms
.
DateTimePickerFormat
.
Custom
;
this
.
DtpLower
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
100
);
this
.
DtpLower
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
DtpLower
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
67
);
this
.
DtpLower
.
Name
=
"DtpLower"
;
this
.
DtpLower
.
ShowCheckBox
=
true
;
this
.
DtpLower
.
Size
=
new
System
.
Drawing
.
Size
(
296
,
35
);
this
.
DtpLower
.
Size
=
new
System
.
Drawing
.
Size
(
197
,
26
);
this
.
DtpLower
.
TabIndex
=
7
;
//
// PicLabel
//
this
.
PicLabel
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
40
)))),
((
int
)(((
byte
)(
40
)))),
((
int
)(((
byte
)(
40
)))));
this
.
PicLabel
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
PicLabel
.
Location
=
new
System
.
Drawing
.
Point
(
1070
,
4
);
this
.
PicLabel
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
PicLabel
.
Location
=
new
System
.
Drawing
.
Point
(
714
,
3
);
this
.
PicLabel
.
Name
=
"PicLabel"
;
this
.
tableLayoutPanel1
.
SetRowSpan
(
this
.
PicLabel
,
4
);
this
.
PicLabel
.
Size
=
new
System
.
Drawing
.
Size
(
450
,
184
);
this
.
PicLabel
.
Size
=
new
System
.
Drawing
.
Size
(
299
,
122
);
this
.
PicLabel
.
SizeMode
=
System
.
Windows
.
Forms
.
PictureBoxSizeMode
.
Zoom
;
this
.
PicLabel
.
TabIndex
=
16
;
this
.
PicLabel
.
TabStop
=
false
;
...
...
@@ -263,12 +253,11 @@ namespace SmartScan
this
.
PicShow
.
BorderWidth
=
2
;
this
.
PicShow
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
PicShow
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
PicShow
.
Location
=
new
System
.
Drawing
.
Point
(
308
,
4
);
this
.
PicShow
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
PicShow
.
Location
=
new
System
.
Drawing
.
Point
(
206
,
3
);
this
.
PicShow
.
Name
=
"PicShow"
;
this
.
PicShow
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
PicShow
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
tableLayoutPanel1
.
SetRowSpan
(
this
.
PicShow
,
11
);
this
.
PicShow
.
Size
=
new
System
.
Drawing
.
Size
(
754
,
962
);
this
.
PicShow
.
Size
=
new
System
.
Drawing
.
Size
(
502
,
641
);
this
.
PicShow
.
TabIndex
=
12
;
this
.
PicShow
.
Text
=
"facePictureBox1"
;
//
...
...
@@ -281,13 +270,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
(
1070
,
350
);
this
.
LstCode
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LstCode
.
Location
=
new
System
.
Drawing
.
Point
(
714
,
233
);
this
.
LstCode
.
Name
=
"LstCode"
;
this
.
LstCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LstCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
tableLayoutPanel1
.
SetRowSpan
(
this
.
LstCode
,
3
);
this
.
LstCode
.
SelectedIndex
=
-
1
;
this
.
LstCode
.
Size
=
new
System
.
Drawing
.
Size
(
450
,
223
);
this
.
LstCode
.
Size
=
new
System
.
Drawing
.
Size
(
299
,
147
);
this
.
LstCode
.
TabIndex
=
17
;
this
.
LstCode
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Left
;
//
...
...
@@ -298,11 +286,10 @@ namespace SmartScan
this
.
LblAllLabel
.
BorderWidth
=
0
;
this
.
LblAllLabel
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LblAllLabel
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblAllLabel
.
Location
=
new
System
.
Drawing
.
Point
(
1070
,
581
);
this
.
LblAllLabel
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblAllLabel
.
Location
=
new
System
.
Drawing
.
Point
(
714
,
386
);
this
.
LblAllLabel
.
Name
=
"LblAllLabel"
;
this
.
LblAllLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblAllLabel
.
Size
=
new
System
.
Drawing
.
Size
(
450
,
40
);
this
.
LblAllLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblAllLabel
.
Size
=
new
System
.
Drawing
.
Size
(
299
,
26
);
this
.
LblAllLabel
.
TabIndex
=
20
;
this
.
LblAllLabel
.
Text
=
"faceLabel2"
;
this
.
LblAllLabel
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -315,11 +302,10 @@ namespace SmartScan
this
.
BtnExportAll
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
BtnExportAll
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnExportAll
.
HoldPress
=
false
;
this
.
BtnExportAll
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
427
);
this
.
BtnExportAll
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnExportAll
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
284
);
this
.
BtnExportAll
.
Name
=
"BtnExportAll"
;
this
.
BtnExportAll
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnExportAll
.
Size
=
new
System
.
Drawing
.
Size
(
296
,
69
);
this
.
BtnExportAll
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnExportAll
.
Size
=
new
System
.
Drawing
.
Size
(
197
,
45
);
this
.
BtnExportAll
.
TabIndex
=
11
;
this
.
BtnExportAll
.
Text
=
"导出所有"
;
this
.
BtnExportAll
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnExportAll_Click
);
...
...
@@ -331,11 +317,10 @@ namespace SmartScan
this
.
LblAllCode
.
BorderWidth
=
0
;
this
.
LblAllCode
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LblAllCode
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblAllCode
.
Location
=
new
System
.
Drawing
.
Point
(
1070
,
273
);
this
.
LblAllCode
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblAllCode
.
Location
=
new
System
.
Drawing
.
Point
(
714
,
182
);
this
.
LblAllCode
.
Name
=
"LblAllCode"
;
this
.
LblAllCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblAllCode
.
Size
=
new
System
.
Drawing
.
Size
(
450
,
69
);
this
.
LblAllCode
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblAllCode
.
Size
=
new
System
.
Drawing
.
Size
(
299
,
45
);
this
.
LblAllCode
.
TabIndex
=
19
;
this
.
LblAllCode
.
Text
=
"faceLabel1"
;
this
.
LblAllCode
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -348,10 +333,11 @@ namespace SmartScan
this
.
faceBut_prin
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
faceBut_prin
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
faceBut_prin
.
HoldPress
=
false
;
this
.
faceBut_prin
.
Location
=
new
System
.
Drawing
.
Point
(
1069
,
195
);
this
.
faceBut_prin
.
Location
=
new
System
.
Drawing
.
Point
(
713
,
130
);
this
.
faceBut_prin
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
faceBut_prin
.
Name
=
"faceBut_prin"
;
this
.
faceBut_prin
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
faceBut_prin
.
Size
=
new
System
.
Drawing
.
Size
(
452
,
71
);
this
.
faceBut_prin
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
faceBut_prin
.
Size
=
new
System
.
Drawing
.
Size
(
301
,
47
);
this
.
faceBut_prin
.
TabIndex
=
23
;
this
.
faceBut_prin
.
Text
=
"打印"
;
this
.
faceBut_prin
.
Click
+=
new
System
.
EventHandler
(
this
.
faceBut_prin_Click
);
...
...
@@ -363,12 +349,11 @@ namespace SmartScan
this
.
LstRecord
.
BorderWidth
=
2
;
this
.
LstRecord
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LstRecord
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LstRecord
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
629
);
this
.
LstRecord
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LstRecord
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
418
);
this
.
LstRecord
.
Name
=
"LstRecord"
;
this
.
LstRecord
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LstRecord
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LstRecord
.
SelectedIndex
=
-
1
;
this
.
LstRecord
.
Size
=
new
System
.
Drawing
.
Size
(
296
,
337
);
this
.
LstRecord
.
Size
=
new
System
.
Drawing
.
Size
(
197
,
226
);
this
.
LstRecord
.
TabIndex
=
19
;
this
.
LstRecord
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
LstRecord_SelectedIndexChanged
);
//
...
...
@@ -379,24 +364,21 @@ namespace SmartScan
this
.
faceLabel1
.
BorderWidth
=
2
;
this
.
faceLabel1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
faceLabel1
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
faceLabel1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
581
);
this
.
faceLabel1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
faceLabel1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
386
);
this
.
faceLabel1
.
Name
=
"faceLabel1"
;
this
.
faceLabel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
faceLabel1
.
Size
=
new
System
.
Drawing
.
Size
(
296
,
40
);
this
.
faceLabel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
faceLabel1
.
Size
=
new
System
.
Drawing
.
Size
(
197
,
26
);
this
.
faceLabel1
.
TabIndex
=
24
;
this
.
faceLabel1
.
Text
=
"共查询到0条信息"
;
//
// FrmRetrospect
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
9F
,
18
F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12
F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
558
,
788
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
039
,
525
);
this
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
this
.
Icon
=
global
::
SmartScan
.
Properties
.
Resources
.
App
;
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
Name
=
"FrmRetrospect"
;
this
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
12
);
this
.
Text
=
"FrmRetrospect"
;
this
.
Load
+=
new
System
.
EventHandler
(
this
.
FrmRetrospect_Load
);
this
.
Controls
.
SetChildIndex
(
this
.
tableLayoutPanel1
,
0
);
...
...
SmartScan/Form/FrmRetrospect.cs
查看文件 @
2f57541
...
...
@@ -125,6 +125,8 @@ namespace SmartScan
private
void
FrmRetrospect_Load
(
object
sender
,
EventArgs
e
)
{
int
SH
=
Screen
.
PrimaryScreen
.
Bounds
.
Height
;
//1080
int
SW
=
Screen
.
PrimaryScreen
.
Bounds
.
Width
;
//1920
...
...
@@ -137,11 +139,12 @@ namespace SmartScan
DtpUpper
.
Value
=
DateTime
.
Now
.
Date
;
tableLayoutPanel1
.
Width
=
this
.
Width
-
20
;
tableLayoutPanel1
.
Height
=
this
.
Height
-
60
;
if
(
ConfigHelper
.
Config
.
Get
(
"Display_EnableGetData"
,
"1181"
)
==
"1181"
)
if
(
ConfigHelper
.
Config
.
Get
(
"Display_EnableGetData"
,
"1181"
)
==
"1181"
)
{
butt_startserver
.
Visible
=
true
;
}
this
.
StartPosition
=
FormStartPosition
.
CenterScreen
;
}
private
void
BtnSelect_Click
(
object
sender
,
EventArgs
e
)
...
...
SmartScan/Language/en-US.lngres
查看文件 @
2f57541
...
...
@@ -22,7 +22,7 @@ Dialog_RepeatPrint 该料盘标签已打印 The Label Has Been Printed
Dialog_MaterialScanning 拍照识别... In Recognition...
Dialog_MaterialTemplateMatching 模版匹配... Template Matching...
Dialog_MaterialProcessing 计算结果... Processing Results...
Dialog_PleaseWaiting 请稍后... Please Wait
ing
...
Dialog_PleaseWaiting 请稍后... Please Wait...
Dialog_MatchType_max 匹配数量至多 Match Times At Most
Dialog_MatchType_equals 匹配数量等于 Match Times Equals
Dialog_MatchType_min 匹配数量至少 Match Times At Least
...
...
@@ -158,11 +158,11 @@ UsrMaterialTemplate_pnlCodeOp 条码操作 Barcode Operation Arial,12,,
UsrMaterialTemplate_pnlImg 图片 Image Arial,12,,
UsrMaterialTemplate_pnlImgOp 图片操作 Image Operation Arial,12,,
UsrDataSource_UsrDataSource
UsrDataSource_ChkRecursive 遍历同目录
Traversal Same Catalogue
Arial,12,,
UsrDataSource_groupBox_lblkey 标签可用字段
Label Available Fields
Arial,12,,
UsrDataSource_ChkRecursive 遍历同目录
All files under current folder
Arial,12,,
UsrDataSource_groupBox_lblkey 标签可用字段
Data string in the label
Arial,12,,
UsrDataSource_BtnSelectFile 选择文件 Select File Arial,12,,
UsrDataSource_faceLabel2 关键字匹配数据标题 Keyword
Matches The Data Title
Arial,12,,
UsrDataSource_faceLabel1 识别关键词
Identify Keywor
d Arial,12,,
UsrDataSource_faceLabel2 关键字匹配数据标题 Keyword
s head
Arial,12,,
UsrDataSource_faceLabel1 识别关键词
Keywords capture
d Arial,12,,
UsrDataSource_LblFilestatus 文件状态: File Status: Arial,12,,
UsrDataSource_LblContent 标签数据源 Label Data Source Arial,12,,
UsrMacro_UsrMacro
...
...
@@ -264,3 +264,7 @@ UsrKeywordlabeling_UpdateLabel 修改关键字 Modify keywords Arial,12,,
UsrKeywordlabeling_SaveLabel 确认 Confirm Arial,12,,
FrmKeyCollection_FrmKeyCollection 选择关键字 Select keywords Arial,12,,
FrmKeyCollection_faceButton1 确认 Confirm Arial,12,,
FrmDataFilePreview_BtnCancel 取消 Cancel 微软雅黑,12,,
FrmDataFilePreview_BtnOK 确认 OK 微软雅黑,12,,
FrmDataFilePreview_LblEncoding 编码格式 Encoding Format 微软雅黑,12,,
FrmDataFilePreview_FrmDataFilePreview 文件预览 File Preview 微软雅黑,12,,
SmartScan/Language/zh-CN.lngres
查看文件 @
2f57541
...
...
@@ -263,3 +263,8 @@ UsrKeywordlabeling_UpdateLabel 修改关键字 修改关键字 微软雅黑,12,,
UsrKeywordlabeling_SaveLabel 确认 确认 微软雅黑,12,,
FrmKeyCollection_FrmKeyCollection 选择关键字 选择关键字 微软雅黑,12,,
FrmKeyCollection_faceButton1 确认 确认 微软雅黑,12,,
FrmDataFilePreview_BtnCancel 取消 取消 微软雅黑,12,,
FrmDataFilePreview_BtnOK 确认 确认 微软雅黑,12,,
FrmDataFilePreview_LblEncoding 编码格式 编码格式 微软雅黑,12,,
FrmDataFilePreview_FrmDataFilePreview 文件预览 文件预览 微软雅黑,12,,
SmartScan/PlusSettingFrm/UsrKeywordlabeling.cs
查看文件 @
2f57541
...
...
@@ -14,6 +14,7 @@ using System.Data;
using
System.Drawing
;
using
System.IO
;
using
System.Linq
;
using
System.Security.Cryptography
;
using
System.Text
;
using
System.Threading.Tasks
;
using
System.Windows.Forms
;
...
...
@@ -259,7 +260,7 @@ namespace SmartScan.PlusSettingFrm
item
.
key
=
""
;
}
}
public
static
Point
LabelingAngle
(
string
keyvalue
,
AMatch
aMatch
,
System
.
Drawing
.
Point
centrality
,
bool
isvaor
,
int
PlateW
,
out
int
angle
)
public
static
Point
LabelingAngle
(
string
keyvalue
,
AMatch
aMatch
,
System
.
Drawing
.
Point
centrality
,
bool
isvaor
,
int
PlateW
,
out
int
angle
,
bool
isQRCode
)
{
Point
lable
=
aMatch
.
Points
;
Point
newpoint
=
aMatch
.
Points
;
...
...
@@ -276,7 +277,7 @@ namespace SmartScan.PlusSettingFrm
//X += Data.X; Y += Data.Y;
LogUtil
.
info
(
$
"关键字{Data.key}={Data.value};顺时针旋转角度={Data.ClockwiseAngle};xy偏移{Data.X};{Data.Y};标签角度:{Data.LabelAngle}"
);
}
newpoint
=
Overwritelabel
(
centrality
,
aMatch
.
Points
,
isvaor
,
PlateW
,
aMatch
.
Angle
,
RotateAngle
,
out
angle
);
newpoint
=
Overwritelabel
(
centrality
,
aMatch
.
Points
,
isvaor
,
PlateW
,
aMatch
.
Angle
,
RotateAngle
,
out
angle
,
isQRCode
);
//if (Data != null&&Data.LabelAngle > 0)
//{
// angle = Data.LabelAngle;
...
...
@@ -291,12 +292,23 @@ namespace SmartScan.PlusSettingFrm
LogUtil
.
info
(
$
"处理后角度={angle};处理后贴标位置:{newpoint};标签变换角度:{Data.LabelAngle}"
);
return
new
Point
(
newpoint
.
X
,
newpoint
.
Y
);
}
public
static
Point
Overwritelabel
(
Point
centrality
,
Point
lable
,
bool
isvaor
,
int
PlateW
,
int
Angle
,
int
RotateAngle
,
out
int
angle
)
public
static
Point
Overwritelabel
(
Point
centrality
,
Point
lable
,
bool
isvaor
,
int
PlateW
,
int
Angle
,
int
RotateAngle
,
out
int
angle
,
bool
isQRCode
)
{
Point
Points
=
LabelingPosition
.
ClockwiseRotation
(
lable
,
centrality
,
RotateAngle
);
if
(
isvaor
)
{
angle
=
ScanningCameraAngle
(
Angle
,
RotateAngle
);
if
(
isQRCode
)
{
int
deg
=
Angle
;
deg
+=
90
;
if
(
deg
>
360
)
deg
=
deg
-
360
;
angle
=
ScanningCameraAngle
(
deg
,
RotateAngle
);
}
else
{
angle
=
ScanningCameraAngle
(
Angle
,
RotateAngle
);
}
}
else
{
...
...
@@ -309,7 +321,7 @@ namespace SmartScan.PlusSettingFrm
{
//ID MVS相机, 右侧为正角度, 左侧为负角度
int
angle
;
int
rotationAngle
=
RotateAngle
+
8
3
;
// 83;
int
rotationAngle
=
RotateAngle
+
8
0
;
// 83;
if
(
angles
<
0
)
{
angle
=
angles
*
-
1
+
rotationAngle
;
...
...
SmartScan/ScanWork.cs
查看文件 @
2f57541
...
...
@@ -338,7 +338,8 @@ namespace SmartScan
private
void
SetKey
(
bool
hasMatch
)
{
LogNet
.
log
.
Info
(
"Work SetKey hasMatch:"
+
hasMatch
);
//if (workCodeKeyword.Count == 0){ return;}
//if (workCodeKeyword.Count == 0){ return;}
//if(hasMatch)
BLLCommon
.
extension
.
SetKey
(
originalCodeText
,
workCodeKeyword
,
hasMatch
,
out
_
);
if
(
workCodeKeyword
.
Any
(
a
=>
a
.
Value
.
StartsWith
(
"<OCR>"
)))
{
...
...
SmartScan/SetControl/FrmDataFilePreview.Designer.cs
查看文件 @
2f57541
...
...
@@ -87,10 +87,10 @@ namespace SmartScan
this
.
LblEncoding
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LblEncoding
.
BorderWidth
=
0
;
this
.
LblEncoding
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblEncoding
.
Location
=
new
System
.
Drawing
.
Point
(
354
,
44
);
this
.
LblEncoding
.
Location
=
new
System
.
Drawing
.
Point
(
211
,
44
);
this
.
LblEncoding
.
Name
=
"LblEncoding"
;
this
.
LblEncoding
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblEncoding
.
Size
=
new
System
.
Drawing
.
Size
(
139
,
35
);
this
.
LblEncoding
.
Size
=
new
System
.
Drawing
.
Size
(
282
,
35
);
this
.
LblEncoding
.
TabIndex
=
22
;
this
.
LblEncoding
.
Text
=
"编码格式"
;
this
.
LblEncoding
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
...
...
SmartScan/SetControl/FrmDataFilePreview.cs
查看文件 @
2f57541
...
...
@@ -25,6 +25,8 @@ namespace SmartScan
FrmDataFilePreview
frmDataFile
=
new
FrmDataFilePreview
();
frmDataFile
.
Filename
=
filename
;
Encodingtxt
=
frmDataFile
.
EncodingTxt
;
Asa
.
FaceControl
.
Language
.
SetLanguage
(
frmDataFile
);
if
(
frmDataFile
.
ShowDialog
()
!=
DialogResult
.
OK
)
return
false
;
...
...
SmartScan/SetControl/UsrCodeExtractList.Designer.cs
查看文件 @
2f57541
...
...
@@ -34,7 +34,6 @@ namespace SmartScan
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
CboKeyword
=
new
Asa
.
FaceControl
.
FaceComboBox
();
this
.
ChkMatchingSplit
=
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
();
...
...
@@ -48,7 +47,6 @@ namespace SmartScan
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
.
pnlParseResult
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
faceTextBox1
=
new
Asa
.
FaceControl
.
FaceTextBox
();
...
...
@@ -69,7 +67,7 @@ namespace SmartScan
this
.
facePanel1
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
facePanel1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
facePanel1
.
Name
=
"facePanel1"
;
this
.
facePanel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
facePanel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
facePanel1
.
ShowText
=
false
;
this
.
facePanel1
.
Size
=
new
System
.
Drawing
.
Size
(
523
,
432
);
this
.
facePanel1
.
TabIndex
=
0
;
...
...
@@ -86,7 +84,7 @@ namespace SmartScan
this
.
pnlExtractRule
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
pnlExtractRule
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
84
);
this
.
pnlExtractRule
.
Name
=
"pnlExtractRule"
;
this
.
pnlExtractRule
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
pnlExtractRule
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
pnlExtractRule
.
Size
=
new
System
.
Drawing
.
Size
(
517
,
345
);
this
.
pnlExtractRule
.
TabIndex
=
46
;
this
.
pnlExtractRule
.
Text
=
"提取"
;
...
...
@@ -98,13 +96,12 @@ namespace SmartScan
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tableLayoutPanel1
.
ColumnCount
=
4
;
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
25
F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
2
5
F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
25
F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
2
5
F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
30
F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
2
0
F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
30
F
));
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
2
0
F
));
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
);
...
...
@@ -118,18 +115,16 @@ namespace SmartScan
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
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
33
);
this
.
tableLayoutPanel1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
3
,
2
,
3
);
this
.
tableLayoutPanel1
.
Name
=
"tableLayoutPanel1"
;
this
.
tableLayoutPanel1
.
RowCount
=
6
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
45F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
45F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
45F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
45F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
45F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
45F
));
this
.
tableLayoutPanel1
.
RowCount
=
5
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
55F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
55F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
55F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
55F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
55F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
511
,
300
);
this
.
tableLayoutPanel1
.
TabIndex
=
44
;
//
...
...
@@ -140,12 +135,12 @@ namespace SmartScan
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
(
384
,
3
);
this
.
CboKeyword
.
Location
=
new
System
.
Drawing
.
Point
(
411
,
3
);
this
.
CboKeyword
.
Name
=
"CboKeyword"
;
this
.
CboKeyword
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
CboKeyword
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
CboKeyword
.
SelectedIndex
=
-
1
;
this
.
CboKeyword
.
SelectedText
=
""
;
this
.
CboKeyword
.
Size
=
new
System
.
Drawing
.
Size
(
124
,
3
9
);
this
.
CboKeyword
.
Size
=
new
System
.
Drawing
.
Size
(
97
,
4
9
);
this
.
CboKeyword
.
TabIndex
=
39
;
this
.
CboKeyword
.
Text
=
"faceComboBox1"
;
this
.
CboKeyword
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
...
...
@@ -158,31 +153,15 @@ namespace SmartScan
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
(
3
,
4
8
);
this
.
ChkMatchingSplit
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
5
8
);
this
.
ChkMatchingSplit
.
Name
=
"ChkMatchingSplit"
;
this
.
ChkMatchingSplit
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
ChkMatchingSplit
.
Size
=
new
System
.
Drawing
.
Size
(
1
21
,
3
9
);
this
.
ChkMatchingSplit
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkMatchingSplit
.
Size
=
new
System
.
Drawing
.
Size
(
1
47
,
4
9
);
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
(
3
,
228
);
this
.
BtnAdd
.
Name
=
"BtnAdd"
;
this
.
BtnAdd
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnAdd
.
Size
=
new
System
.
Drawing
.
Size
(
121
,
69
);
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
)))));
...
...
@@ -192,12 +171,12 @@ namespace SmartScan
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
(
384
,
18
3
);
this
.
NudMaxLength
.
Location
=
new
System
.
Drawing
.
Point
(
411
,
22
3
);
this
.
NudMaxLength
.
Maximum
=
9999F
;
this
.
NudMaxLength
.
Minimum
=
0F
;
this
.
NudMaxLength
.
Name
=
"NudMaxLength"
;
this
.
NudMaxLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
NudMaxLength
.
Size
=
new
System
.
Drawing
.
Size
(
124
,
39
);
this
.
NudMaxLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
NudMaxLength
.
Size
=
new
System
.
Drawing
.
Size
(
97
,
74
);
this
.
NudMaxLength
.
TabIndex
=
35
;
this
.
NudMaxLength
.
Text
=
"0"
;
this
.
NudMaxLength
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
...
...
@@ -211,10 +190,10 @@ namespace SmartScan
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
(
25
7
,
18
3
);
this
.
ChkMaxLength
.
Location
=
new
System
.
Drawing
.
Point
(
25
8
,
22
3
);
this
.
ChkMaxLength
.
Name
=
"ChkMaxLength"
;
this
.
ChkMaxLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
ChkMaxLength
.
Size
=
new
System
.
Drawing
.
Size
(
1
21
,
39
);
this
.
ChkMaxLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkMaxLength
.
Size
=
new
System
.
Drawing
.
Size
(
1
47
,
74
);
this
.
ChkMaxLength
.
TabIndex
=
30
;
this
.
ChkMaxLength
.
Text
=
"Max"
;
this
.
ChkMaxLength
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
...
...
@@ -229,12 +208,12 @@ namespace SmartScan
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
(
1
30
,
18
3
);
this
.
NudMinLength
.
Location
=
new
System
.
Drawing
.
Point
(
1
56
,
22
3
);
this
.
NudMinLength
.
Maximum
=
9999F
;
this
.
NudMinLength
.
Minimum
=
0F
;
this
.
NudMinLength
.
Name
=
"NudMinLength"
;
this
.
NudMinLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
NudMinLength
.
Size
=
new
System
.
Drawing
.
Size
(
121
,
39
);
this
.
NudMinLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
NudMinLength
.
Size
=
new
System
.
Drawing
.
Size
(
96
,
74
);
this
.
NudMinLength
.
TabIndex
=
34
;
this
.
NudMinLength
.
Text
=
"0"
;
this
.
NudMinLength
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
...
...
@@ -248,10 +227,10 @@ namespace SmartScan
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
(
3
,
18
3
);
this
.
ChkMinLength
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
22
3
);
this
.
ChkMinLength
.
Name
=
"ChkMinLength"
;
this
.
ChkMinLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
ChkMinLength
.
Size
=
new
System
.
Drawing
.
Size
(
1
21
,
39
);
this
.
ChkMinLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkMinLength
.
Size
=
new
System
.
Drawing
.
Size
(
1
47
,
74
);
this
.
ChkMinLength
.
TabIndex
=
29
;
this
.
ChkMinLength
.
Text
=
"Min"
;
this
.
ChkMinLength
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
...
...
@@ -266,12 +245,12 @@ 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
(
384
,
4
8
);
this
.
NudSplitPart
.
Location
=
new
System
.
Drawing
.
Point
(
411
,
5
8
);
this
.
NudSplitPart
.
Maximum
=
9999F
;
this
.
NudSplitPart
.
Minimum
=
1F
;
this
.
NudSplitPart
.
Name
=
"NudSplitPart"
;
this
.
NudSplitPart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
NudSplitPart
.
Size
=
new
System
.
Drawing
.
Size
(
124
,
3
9
);
this
.
NudSplitPart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
NudSplitPart
.
Size
=
new
System
.
Drawing
.
Size
(
97
,
4
9
);
this
.
NudSplitPart
.
TabIndex
=
47
;
this
.
NudSplitPart
.
Text
=
"1"
;
this
.
NudSplitPart
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
...
...
@@ -287,12 +266,12 @@ 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
(
384
,
9
3
);
this
.
NudLength
.
Location
=
new
System
.
Drawing
.
Point
(
411
,
11
3
);
this
.
NudLength
.
Maximum
=
9999F
;
this
.
NudLength
.
Minimum
=
1F
;
this
.
NudLength
.
Name
=
"NudLength"
;
this
.
NudLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
NudLength
.
Size
=
new
System
.
Drawing
.
Size
(
124
,
3
9
);
this
.
NudLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
NudLength
.
Size
=
new
System
.
Drawing
.
Size
(
97
,
4
9
);
this
.
NudLength
.
TabIndex
=
41
;
this
.
NudLength
.
Text
=
"1"
;
this
.
NudLength
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
...
...
@@ -306,10 +285,10 @@ namespace SmartScan
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
(
3
,
9
3
);
this
.
LblStart
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
11
3
);
this
.
LblStart
.
Name
=
"LblStart"
;
this
.
LblStart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblStart
.
Size
=
new
System
.
Drawing
.
Size
(
1
21
,
3
9
);
this
.
LblStart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblStart
.
Size
=
new
System
.
Drawing
.
Size
(
1
47
,
4
9
);
this
.
LblStart
.
TabIndex
=
37
;
this
.
LblStart
.
Text
=
"起始"
;
this
.
LblStart
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
...
...
@@ -321,10 +300,10 @@ namespace SmartScan
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
(
25
7
,
9
3
);
this
.
LblLength
.
Location
=
new
System
.
Drawing
.
Point
(
25
8
,
11
3
);
this
.
LblLength
.
Name
=
"LblLength"
;
this
.
LblLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblLength
.
Size
=
new
System
.
Drawing
.
Size
(
1
21
,
3
9
);
this
.
LblLength
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblLength
.
Size
=
new
System
.
Drawing
.
Size
(
1
47
,
4
9
);
this
.
LblLength
.
TabIndex
=
38
;
this
.
LblLength
.
Text
=
"长度"
;
this
.
LblLength
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
...
...
@@ -338,12 +317,12 @@ 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
(
1
30
,
9
3
);
this
.
NudStart
.
Location
=
new
System
.
Drawing
.
Point
(
1
56
,
11
3
);
this
.
NudStart
.
Maximum
=
9999F
;
this
.
NudStart
.
Minimum
=
0F
;
this
.
NudStart
.
Name
=
"NudStart"
;
this
.
NudStart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
NudStart
.
Size
=
new
System
.
Drawing
.
Size
(
121
,
3
9
);
this
.
NudStart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
NudStart
.
Size
=
new
System
.
Drawing
.
Size
(
96
,
4
9
);
this
.
NudStart
.
TabIndex
=
40
;
this
.
NudStart
.
Text
=
"0"
;
this
.
NudStart
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
...
...
@@ -357,10 +336,10 @@ 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
(
25
7
,
3
);
this
.
LblKeyword
.
Location
=
new
System
.
Drawing
.
Point
(
25
8
,
3
);
this
.
LblKeyword
.
Name
=
"LblKeyword"
;
this
.
LblKeyword
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblKeyword
.
Size
=
new
System
.
Drawing
.
Size
(
1
21
,
3
9
);
this
.
LblKeyword
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblKeyword
.
Size
=
new
System
.
Drawing
.
Size
(
1
47
,
4
9
);
this
.
LblKeyword
.
TabIndex
=
36
;
this
.
LblKeyword
.
Text
=
"key"
;
this
.
LblKeyword
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
...
...
@@ -372,10 +351,10 @@ namespace SmartScan
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
(
25
7
,
4
8
);
this
.
LblSplitPart
.
Location
=
new
System
.
Drawing
.
Point
(
25
8
,
5
8
);
this
.
LblSplitPart
.
Name
=
"LblSplitPart"
;
this
.
LblSplitPart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblSplitPart
.
Size
=
new
System
.
Drawing
.
Size
(
1
21
,
3
9
);
this
.
LblSplitPart
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblSplitPart
.
Size
=
new
System
.
Drawing
.
Size
(
1
47
,
4
9
);
this
.
LblSplitPart
.
TabIndex
=
46
;
this
.
LblSplitPart
.
Text
=
"Field"
;
this
.
LblSplitPart
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
...
...
@@ -387,12 +366,12 @@ namespace SmartScan
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
(
1
30
,
4
8
);
this
.
CboMatchingSplit
.
Location
=
new
System
.
Drawing
.
Point
(
1
56
,
5
8
);
this
.
CboMatchingSplit
.
Name
=
"CboMatchingSplit"
;
this
.
CboMatchingSplit
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
CboMatchingSplit
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
CboMatchingSplit
.
SelectedIndex
=
-
1
;
this
.
CboMatchingSplit
.
SelectedText
=
""
;
this
.
CboMatchingSplit
.
Size
=
new
System
.
Drawing
.
Size
(
121
,
3
9
);
this
.
CboMatchingSplit
.
Size
=
new
System
.
Drawing
.
Size
(
96
,
4
9
);
this
.
CboMatchingSplit
.
TabIndex
=
45
;
this
.
CboMatchingSplit
.
Text
=
"faceComboBox1"
;
this
.
CboMatchingSplit
.
TextAlign
=
System
.
Windows
.
Forms
.
HorizontalAlignment
.
Center
;
...
...
@@ -407,31 +386,15 @@ namespace SmartScan
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
(
25
7
,
13
8
);
this
.
ChkLengthEnd
.
Location
=
new
System
.
Drawing
.
Point
(
25
8
,
16
8
);
this
.
ChkLengthEnd
.
Name
=
"ChkLengthEnd"
;
this
.
ChkLengthEnd
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
ChkLengthEnd
.
Size
=
new
System
.
Drawing
.
Size
(
1
21
,
3
9
);
this
.
ChkLengthEnd
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkLengthEnd
.
Size
=
new
System
.
Drawing
.
Size
(
1
47
,
4
9
);
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
//
this
.
BtnDel
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
BtnDel
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
BtnDel
.
BorderWidth
=
2
;
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
(
384
,
228
);
this
.
BtnDel
.
Name
=
"BtnDel"
;
this
.
BtnDel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnDel
.
Size
=
new
System
.
Drawing
.
Size
(
124
,
69
);
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
)))));
...
...
@@ -439,10 +402,10 @@ namespace SmartScan
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
(
3
,
1
3
8
);
this
.
ChkMatchisnumber
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
1
6
8
);
this
.
ChkMatchisnumber
.
Name
=
"ChkMatchisnumber"
;
this
.
ChkMatchisnumber
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
ChkMatchisnumber
.
Size
=
new
System
.
Drawing
.
Size
(
1
21
,
3
9
);
this
.
ChkMatchisnumber
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkMatchisnumber
.
Size
=
new
System
.
Drawing
.
Size
(
1
47
,
4
9
);
this
.
ChkMatchisnumber
.
TabIndex
=
53
;
this
.
ChkMatchisnumber
.
Text
=
"AsNumber"
;
this
.
ChkMatchisnumber
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -457,7 +420,7 @@ namespace SmartScan
this
.
pnlParseResult
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
pnlParseResult
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
pnlParseResult
.
Name
=
"pnlParseResult"
;
this
.
pnlParseResult
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
pnlParseResult
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
pnlParseResult
.
Size
=
new
System
.
Drawing
.
Size
(
517
,
81
);
this
.
pnlParseResult
.
TabIndex
=
44
;
this
.
pnlParseResult
.
Text
=
"解析结果"
;
...
...
@@ -476,7 +439,7 @@ namespace SmartScan
this
.
faceTextBox1
.
MaxLength
=
32767
;
this
.
faceTextBox1
.
Multiline
=
true
;
this
.
faceTextBox1
.
Name
=
"faceTextBox1"
;
this
.
faceTextBox1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
faceTextBox1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
faceTextBox1
.
ReadOnly
=
true
;
this
.
faceTextBox1
.
SelectedText
=
""
;
this
.
faceTextBox1
.
SelectionLength
=
0
;
...
...
@@ -516,7 +479,6 @@ namespace SmartScan
private
Asa
.
FaceControl
.
FaceNumericUpDown
NudMaxLength
;
private
Asa
.
FaceControl
.
FaceCheckBox
ChkMaxLength
;
private
Asa
.
FaceControl
.
FaceNumericUpDown
NudMinLength
;
private
Asa
.
FaceControl
.
FaceButton
BtnDel
;
private
Asa
.
FaceControl
.
FaceNumericUpDown
NudSplitPart
;
private
Asa
.
FaceControl
.
FaceLabel
LblSplitPart
;
private
Asa
.
FaceControl
.
FaceComboBox
CboMatchingSplit
;
...
...
@@ -526,6 +488,5 @@ namespace SmartScan
private
Asa
.
FaceControl
.
FacePanel
pnlExtractRule
;
private
Asa
.
FaceControl
.
FacePanel
pnlParseResult
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel1
;
private
Asa
.
FaceControl
.
FaceButton
BtnAdd
;
}
}
SmartScan/SetControl/UsrCodeExtractList.cs
查看文件 @
2f57541
...
...
@@ -26,7 +26,6 @@ namespace SmartScan
changed
=
true
;
Language
.
SetLanguage
(
this
);
this
.
codeText
=
codeText
;
this
.
codeType
=
codeType
;
CboKeyword
.
Items
.
AddRange
(
BLLCommon
.
macroKey
.
ToArray
());
...
...
SmartScan/SetControl/UsrDataSource.Designer.cs
查看文件 @
2f57541
...
...
@@ -57,12 +57,11 @@ namespace SmartScan
this
.
but_StartService
.
Controls
.
Add
(
this
.
LblContent
);
this
.
but_StartService
.
Controls
.
Add
(
this
.
CboDataType
);
this
.
but_StartService
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
but_StartService
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
4
);
this
.
but_StartService
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
but_StartService
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
but_StartService
.
Name
=
"but_StartService"
;
this
.
but_StartService
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
but_StartService
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
but_StartService
.
ShowText
=
false
;
this
.
but_StartService
.
Size
=
new
System
.
Drawing
.
Size
(
11
60
,
668
);
this
.
but_StartService
.
Size
=
new
System
.
Drawing
.
Size
(
11
13
,
773
);
this
.
but_StartService
.
TabIndex
=
1
;
this
.
but_StartService
.
Text
=
"facePanel1"
;
this
.
but_StartService
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
...
...
@@ -78,10 +77,9 @@ namespace SmartScan
this
.
panel1
.
Controls
.
Add
(
this
.
CboDataTitle
);
this
.
panel1
.
Controls
.
Add
(
this
.
CboDataKey
);
this
.
panel1
.
Controls
.
Add
(
this
.
TxtDataSource
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
95
);
this
.
panel1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
115
);
this
.
panel1
.
Name
=
"panel1"
;
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
11
44
,
565
);
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
11
01
,
652
);
this
.
panel1
.
TabIndex
=
22
;
//
// ChkRecursive
...
...
@@ -90,23 +88,21 @@ namespace SmartScan
this
.
ChkRecursive
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
ChkRecursive
.
BorderWidth
=
0
;
this
.
ChkRecursive
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkRecursive
.
Location
=
new
System
.
Drawing
.
Point
(
851
,
29
);
this
.
ChkRecursive
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkRecursive
.
Location
=
new
System
.
Drawing
.
Point
(
760
,
23
);
this
.
ChkRecursive
.
Name
=
"ChkRecursive"
;
this
.
ChkRecursive
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
ChkRecursive
.
Size
=
new
System
.
Drawing
.
Size
(
289
,
56
);
this
.
ChkRecursive
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
ChkRecursive
.
Size
=
new
System
.
Drawing
.
Size
(
322
,
45
);
this
.
ChkRecursive
.
TabIndex
=
23
;
this
.
ChkRecursive
.
Text
=
"遍历同目录"
;
this
.
ChkRecursive
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// groupBox_lblkey
//
this
.
groupBox_lblkey
.
Controls
.
Add
(
this
.
txtkey
);
this
.
groupBox_lblkey
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
groupBox_lblkey
.
Location
=
new
System
.
Drawing
.
Point
(
517
,
144
);
this
.
groupBox_lblkey
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
groupBox_lblkey
.
Location
=
new
System
.
Drawing
.
Point
(
474
,
128
);
this
.
groupBox_lblkey
.
Name
=
"groupBox_lblkey"
;
this
.
groupBox_lblkey
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
groupBox_lblkey
.
Size
=
new
System
.
Drawing
.
Size
(
400
,
289
);
this
.
groupBox_lblkey
.
Size
=
new
System
.
Drawing
.
Size
(
543
,
440
);
this
.
groupBox_lblkey
.
TabIndex
=
22
;
this
.
groupBox_lblkey
.
TabStop
=
false
;
this
.
groupBox_lblkey
.
Text
=
"标签可用字段"
;
...
...
@@ -116,14 +112,14 @@ namespace SmartScan
this
.
txtkey
.
BackColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
txtkey
.
BorderStyle
=
System
.
Windows
.
Forms
.
BorderStyle
.
None
;
this
.
txtkey
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
txtkey
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtkey
.
ForeColor
=
System
.
Drawing
.
Color
.
White
;
this
.
txtkey
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
22
);
this
.
txtkey
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
txtkey
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
17
);
this
.
txtkey
.
Multiline
=
true
;
this
.
txtkey
.
Name
=
"txtkey"
;
this
.
txtkey
.
ReadOnly
=
true
;
this
.
txtkey
.
ScrollBars
=
System
.
Windows
.
Forms
.
ScrollBars
.
Vertical
;
this
.
txtkey
.
Size
=
new
System
.
Drawing
.
Size
(
392
,
263
);
this
.
txtkey
.
Size
=
new
System
.
Drawing
.
Size
(
537
,
420
);
this
.
txtkey
.
TabIndex
=
0
;
this
.
txtkey
.
Tag
=
"not"
;
//
...
...
@@ -134,11 +130,10 @@ namespace SmartScan
this
.
BtnSelectFile
.
BorderWidth
=
2
;
this
.
BtnSelectFile
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
BtnSelectFile
.
HoldPress
=
false
;
this
.
BtnSelectFile
.
Location
=
new
System
.
Drawing
.
Point
(
723
,
29
);
this
.
BtnSelectFile
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnSelectFile
.
Location
=
new
System
.
Drawing
.
Point
(
542
,
23
);
this
.
BtnSelectFile
.
Name
=
"BtnSelectFile"
;
this
.
BtnSelectFile
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
BtnSelectFile
.
Size
=
new
System
.
Drawing
.
Size
(
120
,
56
);
this
.
BtnSelectFile
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnSelectFile
.
Size
=
new
System
.
Drawing
.
Size
(
212
,
45
);
this
.
BtnSelectFile
.
TabIndex
=
1
;
this
.
BtnSelectFile
.
Text
=
"选择文件"
;
this
.
BtnSelectFile
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnSelectFile_Click
);
...
...
@@ -149,11 +144,10 @@ namespace SmartScan
this
.
faceLabel2
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
faceLabel2
.
BorderWidth
=
0
;
this
.
faceLabel2
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
faceLabel2
.
Location
=
new
System
.
Drawing
.
Point
(
24
,
285
);
this
.
faceLabel2
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
faceLabel2
.
Location
=
new
System
.
Drawing
.
Point
(
18
,
228
);
this
.
faceLabel2
.
Name
=
"faceLabel2"
;
this
.
faceLabel2
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
faceLabel2
.
Size
=
new
System
.
Drawing
.
Size
(
400
,
56
);
this
.
faceLabel2
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
faceLabel2
.
Size
=
new
System
.
Drawing
.
Size
(
396
,
45
);
this
.
faceLabel2
.
TabIndex
=
21
;
this
.
faceLabel2
.
Text
=
"关键字匹配数据标题"
;
this
.
faceLabel2
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
BottomLeft
;
...
...
@@ -164,11 +158,10 @@ namespace SmartScan
this
.
faceLabel1
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
faceLabel1
.
BorderWidth
=
0
;
this
.
faceLabel1
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
faceLabel1
.
Location
=
new
System
.
Drawing
.
Point
(
24
,
144
);
this
.
faceLabel1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
faceLabel1
.
Location
=
new
System
.
Drawing
.
Point
(
18
,
115
);
this
.
faceLabel1
.
Name
=
"faceLabel1"
;
this
.
faceLabel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
faceLabel1
.
Size
=
new
System
.
Drawing
.
Size
(
445
,
56
);
this
.
faceLabel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
faceLabel1
.
Size
=
new
System
.
Drawing
.
Size
(
396
,
45
);
this
.
faceLabel1
.
TabIndex
=
21
;
this
.
faceLabel1
.
Text
=
"识别关键词"
;
this
.
faceLabel1
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
BottomLeft
;
...
...
@@ -179,11 +172,10 @@ namespace SmartScan
this
.
LblFilestatus
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LblFilestatus
.
BorderWidth
=
0
;
this
.
LblFilestatus
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblFilestatus
.
Location
=
new
System
.
Drawing
.
Point
(
31
,
92
);
this
.
LblFilestatus
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblFilestatus
.
Location
=
new
System
.
Drawing
.
Point
(
18
,
74
);
this
.
LblFilestatus
.
Name
=
"LblFilestatus"
;
this
.
LblFilestatus
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblFilestatus
.
Size
=
new
System
.
Drawing
.
Size
(
5
48
,
44
);
this
.
LblFilestatus
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblFilestatus
.
Size
=
new
System
.
Drawing
.
Size
(
5
18
,
35
);
this
.
LblFilestatus
.
TabIndex
=
21
;
this
.
LblFilestatus
.
Text
=
"文件状态:"
;
this
.
LblFilestatus
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -194,13 +186,12 @@ namespace SmartScan
this
.
CboDataTitle
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
CboDataTitle
.
BorderWidth
=
2
;
this
.
CboDataTitle
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
CboDataTitle
.
Location
=
new
System
.
Drawing
.
Point
(
31
,
349
);
this
.
CboDataTitle
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
CboDataTitle
.
Location
=
new
System
.
Drawing
.
Point
(
18
,
279
);
this
.
CboDataTitle
.
Name
=
"CboDataTitle"
;
this
.
CboDataTitle
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
CboDataTitle
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
CboDataTitle
.
SelectedIndex
=
-
1
;
this
.
CboDataTitle
.
SelectedText
=
""
;
this
.
CboDataTitle
.
Size
=
new
System
.
Drawing
.
Size
(
3
19
,
56
);
this
.
CboDataTitle
.
Size
=
new
System
.
Drawing
.
Size
(
3
96
,
45
);
this
.
CboDataTitle
.
TabIndex
=
0
;
this
.
CboDataTitle
.
Tag
=
"not"
;
//
...
...
@@ -210,13 +201,12 @@ namespace SmartScan
this
.
CboDataKey
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
CboDataKey
.
BorderWidth
=
2
;
this
.
CboDataKey
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
CboDataKey
.
Location
=
new
System
.
Drawing
.
Point
(
31
,
208
);
this
.
CboDataKey
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
CboDataKey
.
Location
=
new
System
.
Drawing
.
Point
(
18
,
166
);
this
.
CboDataKey
.
Name
=
"CboDataKey"
;
this
.
CboDataKey
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
CboDataKey
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
CboDataKey
.
SelectedIndex
=
-
1
;
this
.
CboDataKey
.
SelectedText
=
""
;
this
.
CboDataKey
.
Size
=
new
System
.
Drawing
.
Size
(
3
19
,
56
);
this
.
CboDataKey
.
Size
=
new
System
.
Drawing
.
Size
(
3
96
,
45
);
this
.
CboDataKey
.
TabIndex
=
0
;
this
.
CboDataKey
.
Tag
=
"not"
;
//
...
...
@@ -225,17 +215,16 @@ namespace SmartScan
this
.
TxtDataSource
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
TxtDataSource
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
TxtDataSource
.
BorderWidth
=
2
;
this
.
TxtDataSource
.
Location
=
new
System
.
Drawing
.
Point
(
31
,
29
);
this
.
TxtDataSource
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
TxtDataSource
.
Location
=
new
System
.
Drawing
.
Point
(
18
,
23
);
this
.
TxtDataSource
.
MaxLength
=
32767
;
this
.
TxtDataSource
.
Name
=
"TxtDataSource"
;
this
.
TxtDataSource
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
TxtDataSource
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
TxtDataSource
.
SelectedText
=
""
;
this
.
TxtDataSource
.
SelectionLength
=
0
;
this
.
TxtDataSource
.
SelectionStart
=
0
;
this
.
TxtDataSource
.
ShowDel
=
false
;
this
.
TxtDataSource
.
ShowQuery
=
false
;
this
.
TxtDataSource
.
Size
=
new
System
.
Drawing
.
Size
(
684
,
56
);
this
.
TxtDataSource
.
Size
=
new
System
.
Drawing
.
Size
(
513
,
45
);
this
.
TxtDataSource
.
TabIndex
=
0
;
this
.
TxtDataSource
.
Tag
=
"not"
;
this
.
TxtDataSource
.
Text
=
"faceTextBox1"
;
...
...
@@ -246,14 +235,13 @@ namespace SmartScan
this
.
LblContent
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LblContent
.
BorderWidth
=
0
;
this
.
LblContent
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblContent
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
20
);
this
.
LblContent
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblContent
.
Location
=
new
System
.
Drawing
.
Point
(
24
,
6
);
this
.
LblContent
.
Name
=
"LblContent"
;
this
.
LblContent
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
LblContent
.
Size
=
new
System
.
Drawing
.
Size
(
161
,
44
);
this
.
LblContent
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblContent
.
Size
=
new
System
.
Drawing
.
Size
(
396
,
45
);
this
.
LblContent
.
TabIndex
=
21
;
this
.
LblContent
.
Text
=
"标签数据源"
;
this
.
LblContent
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
Middle
Righ
t
;
this
.
LblContent
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
Middle
Lef
t
;
//
// CboDataType
//
...
...
@@ -261,25 +249,23 @@ namespace SmartScan
this
.
CboDataType
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
CboDataType
.
BorderWidth
=
2
;
this
.
CboDataType
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
CboDataType
.
Location
=
new
System
.
Drawing
.
Point
(
177
,
12
);
this
.
CboDataType
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
CboDataType
.
Location
=
new
System
.
Drawing
.
Point
(
24
,
57
);
this
.
CboDataType
.
Name
=
"CboDataType"
;
this
.
CboDataType
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
CboDataType
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
CboDataType
.
SelectedIndex
=
-
1
;
this
.
CboDataType
.
SelectedText
=
""
;
this
.
CboDataType
.
Size
=
new
System
.
Drawing
.
Size
(
200
,
56
);
this
.
CboDataType
.
Size
=
new
System
.
Drawing
.
Size
(
192
,
45
);
this
.
CboDataType
.
TabIndex
=
0
;
this
.
CboDataType
.
Tag
=
"not"
;
this
.
CboDataType
.
Text
=
"CboDataType"
;
//
// UsrDataSource
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
8F
,
15
F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12
F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
Controls
.
Add
(
this
.
but_StartService
);
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
Name
=
"UsrDataSource"
;
this
.
Size
=
new
System
.
Drawing
.
Size
(
1
207
,
691
);
this
.
Size
=
new
System
.
Drawing
.
Size
(
1
119
,
779
);
this
.
but_StartService
.
ResumeLayout
(
false
);
this
.
panel1
.
ResumeLayout
(
false
);
this
.
groupBox_lblkey
.
ResumeLayout
(
false
);
...
...
SmartScan/SetControl/UsrPrintTemplate.Designer.cs
查看文件 @
2f57541
...
...
@@ -33,12 +33,12 @@ namespace SmartScan
this
.
tableLayoutPanel5
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
pnlPrintTmpLst
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
LstLabel
=
new
Asa
.
FaceControl
.
FaceListBox
();
this
.
pnlPrintTmpLstOp
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
BtnAddLabel
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
BtnDelLabel
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
BtnCopyLabel
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
BtnRenameLabel
=
new
Asa
.
FaceControl
.
FaceButton
();
this
.
LstLabel
=
new
Asa
.
FaceControl
.
FaceListBox
();
this
.
pnLabelStyle
=
new
Asa
.
FaceControl
.
FacePanel
();
this
.
tableLayoutPanel2
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
pnAllFieldsOfLabel
=
new
Asa
.
FaceControl
.
FacePanel
();
...
...
@@ -88,7 +88,7 @@ namespace SmartScan
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
.
Name
=
"facePanel1"
;
this
.
facePanel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
facePanel1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
facePanel1
.
ShowText
=
false
;
this
.
facePanel1
.
Size
=
new
System
.
Drawing
.
Size
(
1082
,
682
);
this
.
facePanel1
.
TabIndex
=
1
;
...
...
@@ -104,7 +104,7 @@ namespace SmartScan
this
.
tableLayoutPanel5
.
Controls
.
Add
(
this
.
pnLabelStyle
,
1
,
0
);
this
.
tableLayoutPanel5
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
tableLayoutPanel5
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
tableLayoutPanel5
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
tableLayoutPanel5
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
tableLayoutPanel5
.
Name
=
"tableLayoutPanel5"
;
this
.
tableLayoutPanel5
.
RowCount
=
1
;
this
.
tableLayoutPanel5
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
...
...
@@ -120,9 +120,9 @@ namespace SmartScan
this
.
pnlPrintTmpLst
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
pnlPrintTmpLst
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
pnlPrintTmpLst
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
2
);
this
.
pnlPrintTmpLst
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
pnlPrintTmpLst
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
pnlPrintTmpLst
.
Name
=
"pnlPrintTmpLst"
;
this
.
pnlPrintTmpLst
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
pnlPrintTmpLst
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
pnlPrintTmpLst
.
Size
=
new
System
.
Drawing
.
Size
(
469
,
672
);
this
.
pnlPrintTmpLst
.
TabIndex
=
29
;
this
.
pnlPrintTmpLst
.
Text
=
"标签模板"
;
...
...
@@ -135,17 +135,32 @@ namespace SmartScan
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tableLayoutPanel1
.
ColumnCount
=
1
;
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
pnlPrintTmpLstOp
,
0
,
1
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
LstLabel
,
0
,
0
);
this
.
tableLayoutPanel1
.
Controls
.
Add
(
this
.
pnlPrintTmpLstOp
,
0
,
1
);
this
.
tableLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
30
);
this
.
tableLayoutPanel1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
tableLayoutPanel1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
tableLayoutPanel1
.
Name
=
"tableLayoutPanel1"
;
this
.
tableLayoutPanel1
.
RowCount
=
2
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
1
14
F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
460
,
63
7
);
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
1
45
F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
460
,
63
5
);
this
.
tableLayoutPanel1
.
TabIndex
=
0
;
//
// LstLabel
//
this
.
LstLabel
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
LstLabel
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LstLabel
.
BorderWidth
=
2
;
this
.
LstLabel
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LstLabel
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LstLabel
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
LstLabel
.
Name
=
"LstLabel"
;
this
.
LstLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LstLabel
.
SelectedIndex
=
-
1
;
this
.
LstLabel
.
Size
=
new
System
.
Drawing
.
Size
(
454
,
484
);
this
.
LstLabel
.
TabIndex
=
0
;
this
.
LstLabel
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
LstLabel_SelectedIndexChanged
);
//
// pnlPrintTmpLstOp
//
this
.
pnlPrintTmpLstOp
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
...
...
@@ -157,11 +172,11 @@ namespace SmartScan
this
.
pnlPrintTmpLstOp
.
Controls
.
Add
(
this
.
BtnRenameLabel
);
this
.
pnlPrintTmpLstOp
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
pnlPrintTmpLstOp
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
pnlPrintTmpLstOp
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
525
);
this
.
pnlPrintTmpLstOp
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
pnlPrintTmpLstOp
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
492
);
this
.
pnlPrintTmpLstOp
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
pnlPrintTmpLstOp
.
Name
=
"pnlPrintTmpLstOp"
;
this
.
pnlPrintTmpLstOp
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
pnlPrintTmpLstOp
.
Size
=
new
System
.
Drawing
.
Size
(
456
,
1
10
);
this
.
pnlPrintTmpLstOp
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
pnlPrintTmpLstOp
.
Size
=
new
System
.
Drawing
.
Size
(
456
,
1
41
);
this
.
pnlPrintTmpLstOp
.
TabIndex
=
31
;
this
.
pnlPrintTmpLstOp
.
Text
=
"标签模板操作"
;
this
.
pnlPrintTmpLstOp
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
...
...
@@ -176,8 +191,8 @@ namespace SmartScan
this
.
BtnAddLabel
.
Image
=
global
::
SmartScan
.
Properties
.
Resources
.
create
;
this
.
BtnAddLabel
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
34
);
this
.
BtnAddLabel
.
Name
=
"BtnAddLabel"
;
this
.
BtnAddLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnAddLabel
.
Size
=
new
System
.
Drawing
.
Size
(
106
,
70
);
this
.
BtnAddLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnAddLabel
.
Size
=
new
System
.
Drawing
.
Size
(
106
,
98
);
this
.
BtnAddLabel
.
TabIndex
=
1
;
this
.
BtnAddLabel
.
Text
=
"新建标签"
;
this
.
BtnAddLabel
.
TextImageRelation
=
System
.
Windows
.
Forms
.
TextImageRelation
.
ImageAboveText
;
...
...
@@ -193,8 +208,8 @@ namespace SmartScan
this
.
BtnDelLabel
.
Image
=
global
::
SmartScan
.
Properties
.
Resources
.
delete
;
this
.
BtnDelLabel
.
Location
=
new
System
.
Drawing
.
Point
(
118
,
34
);
this
.
BtnDelLabel
.
Name
=
"BtnDelLabel"
;
this
.
BtnDelLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnDelLabel
.
Size
=
new
System
.
Drawing
.
Size
(
106
,
70
);
this
.
BtnDelLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnDelLabel
.
Size
=
new
System
.
Drawing
.
Size
(
106
,
98
);
this
.
BtnDelLabel
.
TabIndex
=
2
;
this
.
BtnDelLabel
.
Text
=
"删除标签"
;
this
.
BtnDelLabel
.
TextImageRelation
=
System
.
Windows
.
Forms
.
TextImageRelation
.
ImageAboveText
;
...
...
@@ -210,8 +225,8 @@ namespace SmartScan
this
.
BtnCopyLabel
.
Image
=
global
::
SmartScan
.
Properties
.
Resources
.
copy
;
this
.
BtnCopyLabel
.
Location
=
new
System
.
Drawing
.
Point
(
231
,
34
);
this
.
BtnCopyLabel
.
Name
=
"BtnCopyLabel"
;
this
.
BtnCopyLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnCopyLabel
.
Size
=
new
System
.
Drawing
.
Size
(
106
,
70
);
this
.
BtnCopyLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnCopyLabel
.
Size
=
new
System
.
Drawing
.
Size
(
106
,
98
);
this
.
BtnCopyLabel
.
TabIndex
=
23
;
this
.
BtnCopyLabel
.
Text
=
"复制标签"
;
this
.
BtnCopyLabel
.
TextImageRelation
=
System
.
Windows
.
Forms
.
TextImageRelation
.
ImageAboveText
;
...
...
@@ -227,28 +242,13 @@ namespace SmartScan
this
.
BtnRenameLabel
.
Image
=
global
::
SmartScan
.
Properties
.
Resources
.
rename
;
this
.
BtnRenameLabel
.
Location
=
new
System
.
Drawing
.
Point
(
344
,
34
);
this
.
BtnRenameLabel
.
Name
=
"BtnRenameLabel"
;
this
.
BtnRenameLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnRenameLabel
.
Size
=
new
System
.
Drawing
.
Size
(
106
,
70
);
this
.
BtnRenameLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnRenameLabel
.
Size
=
new
System
.
Drawing
.
Size
(
106
,
98
);
this
.
BtnRenameLabel
.
TabIndex
=
3
;
this
.
BtnRenameLabel
.
Text
=
"重命名"
;
this
.
BtnRenameLabel
.
TextImageRelation
=
System
.
Windows
.
Forms
.
TextImageRelation
.
ImageAboveText
;
this
.
BtnRenameLabel
.
Click
+=
new
System
.
EventHandler
(
this
.
BtnRenameLabel_Click
);
//
// LstLabel
//
this
.
LstLabel
.
BackColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))),
((
int
)(((
byte
)(
20
)))));
this
.
LstLabel
.
BorderStyle
=
Asa
.
FaceControl
.
ControlShape
.
Rectangle
;
this
.
LstLabel
.
BorderWidth
=
2
;
this
.
LstLabel
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
LstLabel
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LstLabel
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
LstLabel
.
Name
=
"LstLabel"
;
this
.
LstLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LstLabel
.
SelectedIndex
=
-
1
;
this
.
LstLabel
.
Size
=
new
System
.
Drawing
.
Size
(
454
,
517
);
this
.
LstLabel
.
TabIndex
=
0
;
this
.
LstLabel
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
LstLabel_SelectedIndexChanged
);
//
// pnLabelStyle
//
this
.
pnLabelStyle
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
...
...
@@ -260,9 +260,9 @@ namespace SmartScan
this
.
pnLabelStyle
.
Controls
.
Add
(
this
.
tableLayoutPanel2
);
this
.
pnLabelStyle
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
pnLabelStyle
.
Location
=
new
System
.
Drawing
.
Point
(
475
,
2
);
this
.
pnLabelStyle
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
pnLabelStyle
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
pnLabelStyle
.
Name
=
"pnLabelStyle"
;
this
.
pnLabelStyle
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
pnLabelStyle
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
pnLabelStyle
.
Size
=
new
System
.
Drawing
.
Size
(
599
,
672
);
this
.
pnLabelStyle
.
TabIndex
=
30
;
this
.
pnLabelStyle
.
Text
=
"标签样式"
;
...
...
@@ -278,7 +278,7 @@ namespace SmartScan
this
.
tableLayoutPanel2
.
Controls
.
Add
(
this
.
pnAllFieldsOfLabel
,
0
,
1
);
this
.
tableLayoutPanel2
.
Controls
.
Add
(
this
.
tableLayoutPanel3
,
0
,
0
);
this
.
tableLayoutPanel2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
35
);
this
.
tableLayoutPanel2
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
tableLayoutPanel2
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
tableLayoutPanel2
.
Name
=
"tableLayoutPanel2"
;
this
.
tableLayoutPanel2
.
RowCount
=
2
;
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
...
...
@@ -297,9 +297,9 @@ namespace SmartScan
this
.
pnAllFieldsOfLabel
.
Controls
.
Add
(
this
.
tableLayoutPanel4
);
this
.
pnAllFieldsOfLabel
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
pnAllFieldsOfLabel
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
256
);
this
.
pnAllFieldsOfLabel
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
pnAllFieldsOfLabel
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
pnAllFieldsOfLabel
.
Name
=
"pnAllFieldsOfLabel"
;
this
.
pnAllFieldsOfLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
pnAllFieldsOfLabel
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
pnAllFieldsOfLabel
.
Size
=
new
System
.
Drawing
.
Size
(
586
,
374
);
this
.
pnAllFieldsOfLabel
.
TabIndex
=
31
;
this
.
pnAllFieldsOfLabel
.
Text
=
"标签的所有字段"
;
...
...
@@ -315,7 +315,7 @@ namespace SmartScan
this
.
tableLayoutPanel4
.
Controls
.
Add
(
this
.
LstField
,
0
,
0
);
this
.
tableLayoutPanel4
.
Controls
.
Add
(
this
.
facePanel7
,
0
,
1
);
this
.
tableLayoutPanel4
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
30
);
this
.
tableLayoutPanel4
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
tableLayoutPanel4
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
tableLayoutPanel4
.
Name
=
"tableLayoutPanel4"
;
this
.
tableLayoutPanel4
.
RowCount
=
2
;
this
.
tableLayoutPanel4
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
...
...
@@ -332,7 +332,7 @@ namespace SmartScan
this
.
LstField
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LstField
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
LstField
.
Name
=
"LstField"
;
this
.
LstField
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LstField
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LstField
.
SelectedIndex
=
-
1
;
this
.
LstField
.
Size
=
new
System
.
Drawing
.
Size
(
571
,
139
);
this
.
LstField
.
TabIndex
=
5
;
...
...
@@ -356,9 +356,9 @@ namespace SmartScan
this
.
facePanel7
.
Controls
.
Add
(
this
.
LblFieldType
);
this
.
facePanel7
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
facePanel7
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
147
);
this
.
facePanel7
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
facePanel7
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
facePanel7
.
Name
=
"facePanel7"
;
this
.
facePanel7
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
facePanel7
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
facePanel7
.
Size
=
new
System
.
Drawing
.
Size
(
573
,
186
);
this
.
facePanel7
.
TabIndex
=
33
;
this
.
facePanel7
.
Text
=
"字段操作"
;
...
...
@@ -373,7 +373,7 @@ namespace SmartScan
this
.
BtnAddField
.
HoldPress
=
false
;
this
.
BtnAddField
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
81
);
this
.
BtnAddField
.
Name
=
"BtnAddField"
;
this
.
BtnAddField
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnAddField
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnAddField
.
Size
=
new
System
.
Drawing
.
Size
(
150
,
45
);
this
.
BtnAddField
.
TabIndex
=
6
;
this
.
BtnAddField
.
Text
=
"添加字段"
;
...
...
@@ -388,7 +388,7 @@ namespace SmartScan
this
.
BtnDelField
.
HoldPress
=
false
;
this
.
BtnDelField
.
Location
=
new
System
.
Drawing
.
Point
(
161
,
81
);
this
.
BtnDelField
.
Name
=
"BtnDelField"
;
this
.
BtnDelField
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnDelField
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnDelField
.
Size
=
new
System
.
Drawing
.
Size
(
150
,
45
);
this
.
BtnDelField
.
TabIndex
=
7
;
this
.
BtnDelField
.
Text
=
"删除字段"
;
...
...
@@ -403,7 +403,7 @@ namespace SmartScan
this
.
BtnFieldFont
.
HoldPress
=
false
;
this
.
BtnFieldFont
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
132
);
this
.
BtnFieldFont
.
Name
=
"BtnFieldFont"
;
this
.
BtnFieldFont
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnFieldFont
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnFieldFont
.
Size
=
new
System
.
Drawing
.
Size
(
150
,
45
);
this
.
BtnFieldFont
.
TabIndex
=
8
;
this
.
BtnFieldFont
.
Text
=
"字段字体"
;
...
...
@@ -417,8 +417,8 @@ namespace SmartScan
this
.
ChkFieldShowKey
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
ChkFieldShowKey
.
Location
=
new
System
.
Drawing
.
Point
(
341
,
30
);
this
.
ChkFieldShowKey
.
Name
=
"ChkFieldShowKey"
;
this
.
ChkFieldShowKey
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
ChkFieldShowKey
.
Size
=
new
System
.
Drawing
.
Size
(
1
50
,
45
);
this
.
ChkFieldShowKey
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
ChkFieldShowKey
.
Size
=
new
System
.
Drawing
.
Size
(
1
93
,
45
);
this
.
ChkFieldShowKey
.
TabIndex
=
12
;
this
.
ChkFieldShowKey
.
Text
=
"显示关键字"
;
this
.
ChkFieldShowKey
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
ChkFieldShowKey_CheckedChanged
);
...
...
@@ -432,7 +432,7 @@ namespace SmartScan
this
.
BtnSetField
.
HoldPress
=
false
;
this
.
BtnSetField
.
Location
=
new
System
.
Drawing
.
Point
(
161
,
132
);
this
.
BtnSetField
.
Name
=
"BtnSetField"
;
this
.
BtnSetField
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnSetField
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnSetField
.
Size
=
new
System
.
Drawing
.
Size
(
150
,
45
);
this
.
BtnSetField
.
TabIndex
=
9
;
this
.
BtnSetField
.
Text
=
"设置内容"
;
...
...
@@ -446,7 +446,7 @@ namespace SmartScan
this
.
CboFieldType
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
CboFieldType
.
Location
=
new
System
.
Drawing
.
Point
(
161
,
30
);
this
.
CboFieldType
.
Name
=
"CboFieldType"
;
this
.
CboFieldType
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
CboFieldType
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
CboFieldType
.
SelectedIndex
=
-
1
;
this
.
CboFieldType
.
SelectedText
=
""
;
this
.
CboFieldType
.
Size
=
new
System
.
Drawing
.
Size
(
150
,
45
);
...
...
@@ -462,7 +462,7 @@ namespace SmartScan
this
.
BtnPrintTest
.
HoldPress
=
false
;
this
.
BtnPrintTest
.
Location
=
new
System
.
Drawing
.
Point
(
424
,
132
);
this
.
BtnPrintTest
.
Name
=
"BtnPrintTest"
;
this
.
BtnPrintTest
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
BtnPrintTest
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
BtnPrintTest
.
Size
=
new
System
.
Drawing
.
Size
(
133
,
45
);
this
.
BtnPrintTest
.
TabIndex
=
4
;
this
.
BtnPrintTest
.
Text
=
"打印测试"
;
...
...
@@ -476,7 +476,7 @@ namespace SmartScan
this
.
LblFieldType
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblFieldType
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
30
);
this
.
LblFieldType
.
Name
=
"LblFieldType"
;
this
.
LblFieldType
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblFieldType
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblFieldType
.
Size
=
new
System
.
Drawing
.
Size
(
150
,
45
);
this
.
LblFieldType
.
TabIndex
=
10
;
this
.
LblFieldType
.
Text
=
"字段类型"
;
...
...
@@ -491,7 +491,7 @@ namespace SmartScan
this
.
tableLayoutPanel3
.
Controls
.
Add
(
this
.
pictureBox1
,
0
,
0
);
this
.
tableLayoutPanel3
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
tableLayoutPanel3
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
2
);
this
.
tableLayoutPanel3
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
tableLayoutPanel3
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
tableLayoutPanel3
.
Name
=
"tableLayoutPanel3"
;
this
.
tableLayoutPanel3
.
RowCount
=
1
;
this
.
tableLayoutPanel3
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
100F
));
...
...
@@ -514,9 +514,9 @@ namespace SmartScan
this
.
pnLabelFieldPos
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
pnLabelFieldPos
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
pnLabelFieldPos
.
Location
=
new
System
.
Drawing
.
Point
(
307
,
2
);
this
.
pnLabelFieldPos
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
pnLabelFieldPos
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
pnLabelFieldPos
.
Name
=
"pnLabelFieldPos"
;
this
.
pnLabelFieldPos
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
pnLabelFieldPos
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
2
);
this
.
pnLabelFieldPos
.
Size
=
new
System
.
Drawing
.
Size
(
277
,
246
);
this
.
pnLabelFieldPos
.
TabIndex
=
32
;
this
.
pnLabelFieldPos
.
Text
=
"字段位置"
;
...
...
@@ -530,7 +530,7 @@ namespace SmartScan
this
.
LblFieldX
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblFieldX
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
32
);
this
.
LblFieldX
.
Name
=
"LblFieldX"
;
this
.
LblFieldX
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblFieldX
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblFieldX
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
45
);
this
.
LblFieldX
.
TabIndex
=
15
;
this
.
LblFieldX
.
Text
=
"X"
;
...
...
@@ -547,7 +547,7 @@ namespace SmartScan
this
.
NudFieldX
.
Maximum
=
100F
;
this
.
NudFieldX
.
Minimum
=
0F
;
this
.
NudFieldX
.
Name
=
"NudFieldX"
;
this
.
NudFieldX
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
NudFieldX
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
NudFieldX
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
45
);
this
.
NudFieldX
.
TabIndex
=
14
;
this
.
NudFieldX
.
Text
=
"0"
;
...
...
@@ -563,7 +563,7 @@ namespace SmartScan
this
.
LblFieldH
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblFieldH
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
186
);
this
.
LblFieldH
.
Name
=
"LblFieldH"
;
this
.
LblFieldH
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblFieldH
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblFieldH
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
45
);
this
.
LblFieldH
.
TabIndex
=
21
;
this
.
LblFieldH
.
Text
=
"H"
;
...
...
@@ -580,7 +580,7 @@ namespace SmartScan
this
.
NudFieldY
.
Maximum
=
100F
;
this
.
NudFieldY
.
Minimum
=
0F
;
this
.
NudFieldY
.
Name
=
"NudFieldY"
;
this
.
NudFieldY
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
NudFieldY
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
NudFieldY
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
45
);
this
.
NudFieldY
.
TabIndex
=
16
;
this
.
NudFieldY
.
Text
=
"0"
;
...
...
@@ -599,7 +599,7 @@ namespace SmartScan
this
.
NudFieldH
.
Maximum
=
100F
;
this
.
NudFieldH
.
Minimum
=
1F
;
this
.
NudFieldH
.
Name
=
"NudFieldH"
;
this
.
NudFieldH
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
NudFieldH
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
NudFieldH
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
45
);
this
.
NudFieldH
.
TabIndex
=
20
;
this
.
NudFieldH
.
Text
=
"1"
;
...
...
@@ -615,7 +615,7 @@ namespace SmartScan
this
.
LblFieldY
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblFieldY
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
76
);
this
.
LblFieldY
.
Name
=
"LblFieldY"
;
this
.
LblFieldY
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblFieldY
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblFieldY
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
45
);
this
.
LblFieldY
.
TabIndex
=
17
;
this
.
LblFieldY
.
Text
=
"Y"
;
...
...
@@ -629,7 +629,7 @@ namespace SmartScan
this
.
LblFieldW
.
ForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))),
((
int
)(((
byte
)(
230
)))));
this
.
LblFieldW
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
134
);
this
.
LblFieldW
.
Name
=
"LblFieldW"
;
this
.
LblFieldW
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
LblFieldW
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
LblFieldW
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
45
);
this
.
LblFieldW
.
TabIndex
=
19
;
this
.
LblFieldW
.
Text
=
"W"
;
...
...
@@ -646,7 +646,7 @@ namespace SmartScan
this
.
NudFieldW
.
Maximum
=
100F
;
this
.
NudFieldW
.
Minimum
=
1F
;
this
.
NudFieldW
.
Name
=
"NudFieldW"
;
this
.
NudFieldW
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
3
,
3
,
3
);
this
.
NudFieldW
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
NudFieldW
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
45
);
this
.
NudFieldW
.
TabIndex
=
18
;
this
.
NudFieldW
.
Text
=
"1"
;
...
...
SmartScan/WebCallWork.cs
查看文件 @
2f57541
...
...
@@ -168,6 +168,7 @@ namespace SmartScan
BLLCommon
.
mateEdit
.
CurrntBitmap
?.
Dispose
();
Bitmap
bitmap
=
null
;
MemoryStream
stream
=
null
;
bool
isQRCode
=
false
;
try
{
if
(
bitmapData
==
null
)
...
...
@@ -194,6 +195,7 @@ namespace SmartScan
{
return
new
WebResultCode
()
{
ErrorCode
=
-
1
,
Msg
=
"扫码相机未传来条码数据;"
};
}
if
(
bitmapData
.
IsIDCamera
)
{
bitmapData
.
BarCodeList
.
ForEach
(
barcode
=>
...
...
@@ -207,7 +209,14 @@ namespace SmartScan
CodeType
=
barcode
.
CodeType
,
Distance
=
barcode
.
Distance
,
});
//LogNet.log.Info($"条码数据类型为{barcode.CodeType}");
});
//LogNet.log.Info($"条码数据[0]类型为{bitmapData.BarCodeList[0].CodeType}");
//if (bitmapData.BarCodeList[0].CodeType== "QR Code")
//{
// isQRCode = true;
// LogNet.log.Info("条码数据为QR Code");
//}
}
else
{
...
...
@@ -225,10 +234,17 @@ namespace SmartScan
LogNet
.
log
.
Info
(
"模板匹配结果:"
+
rtn
);
if
(
rtn
)
{
if
(
aMatch
.
CodeType
==
"QR Code"
)
{
isQRCode
=
true
;
LogNet
.
log
.
Info
(
"条码数据为QR Code"
);
}
LogNet
.
log
.
Info
(
$
"条码数据类型为{aMatch.CodeType}"
);
string
key
=
ConfigHelper
.
Config
.
Get
(
"Label_Key"
,
""
);
workCodeKeyword
.
TryGetValue
(
key
,
out
String
Value
);
LogNet
.
log
.
Info
(
"模板匹配结果:"
+
rtn
+
$
";关键字{key}:{Value};匹配成功条码xy:X={aMatch.Points.X};Y={aMatch.Points.Y},中心点x={bitmapData.X};y={bitmapData.Y},角度={aMatch.Angle},料盘尺寸={bitmapData.PlateW};匹配成功条码:{string.Join("
,
", aMatch.IsCodeUsed)}"
);
point
=
UsrKeywordlabeling
.
LabelingAngle
(
Value
,
aMatch
,
new
Point
(
bitmapData
.
X
,
bitmapData
.
Y
),
bitmapData
.
IsIDCamera
,
bitmapData
.
PlateW
,
out
angle
);
point
=
UsrKeywordlabeling
.
LabelingAngle
(
Value
,
aMatch
,
new
Point
(
bitmapData
.
X
,
bitmapData
.
Y
),
bitmapData
.
IsIDCamera
,
bitmapData
.
PlateW
,
out
angle
,
isQRCode
);
//point =UsrCustomlabeling.LabelingAngle_New(mateName, aMatch, new Point(bitmapData.X, bitmapData.Y), bitmapData.IsIDCamera, bitmapData.PlateW, out angle);
}
Dictionary
<
string
,
string
>
keys
=
new
Dictionary
<
string
,
string
>();
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论