Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
GeneralClassLibrary
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 32b2ae2c
由
LN
编写于
2021-04-20 09:13:33 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
二维码学习功能先开放
1 个父辈
1085af9b
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
3 行增加
和
8 行删除
CodeLibraryProject/CodeLibrary/FrmCodeDecode.Designer.cs
CodeLibraryProject/CodeLibrary/FrmCodeDecode.cs
CodeLibraryProject/CodeLibrary/HDCodeLearnHelper.cs
CodeLibraryProject/编译好的DLL/CodeLibrary.dll
dll/libdmtx.dll
CodeLibraryProject/CodeLibrary/FrmCodeDecode.Designer.cs
查看文件 @
32b2ae2
...
@@ -131,7 +131,6 @@
...
@@ -131,7 +131,6 @@
this
.
btnLearn
.
TabIndex
=
10
;
this
.
btnLearn
.
TabIndex
=
10
;
this
.
btnLearn
.
Text
=
"学习"
;
this
.
btnLearn
.
Text
=
"学习"
;
this
.
btnLearn
.
UseVisualStyleBackColor
=
true
;
this
.
btnLearn
.
UseVisualStyleBackColor
=
true
;
this
.
btnLearn
.
Visible
=
false
;
this
.
btnLearn
.
Click
+=
new
System
.
EventHandler
(
this
.
btnLearn_Click
);
this
.
btnLearn
.
Click
+=
new
System
.
EventHandler
(
this
.
btnLearn_Click
);
//
//
// btnDCode
// btnDCode
...
@@ -187,7 +186,6 @@
...
@@ -187,7 +186,6 @@
this
.
cmbCount
.
Name
=
"cmbCount"
;
this
.
cmbCount
.
Name
=
"cmbCount"
;
this
.
cmbCount
.
Size
=
new
System
.
Drawing
.
Size
(
66
,
25
);
this
.
cmbCount
.
Size
=
new
System
.
Drawing
.
Size
(
66
,
25
);
this
.
cmbCount
.
TabIndex
=
16
;
this
.
cmbCount
.
TabIndex
=
16
;
this
.
cmbCount
.
Visible
=
false
;
//
//
// lblCount
// lblCount
//
//
...
@@ -198,7 +196,6 @@
...
@@ -198,7 +196,6 @@
this
.
lblCount
.
TabIndex
=
15
;
this
.
lblCount
.
TabIndex
=
15
;
this
.
lblCount
.
Text
=
"条码数量:"
;
this
.
lblCount
.
Text
=
"条码数量:"
;
this
.
lblCount
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblCount
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblCount
.
Visible
=
false
;
//
//
// btnCameraImage
// btnCameraImage
//
//
...
@@ -263,7 +260,6 @@
...
@@ -263,7 +260,6 @@
this
.
cmbCodeType
.
Name
=
"cmbCodeType"
;
this
.
cmbCodeType
.
Name
=
"cmbCodeType"
;
this
.
cmbCodeType
.
Size
=
new
System
.
Drawing
.
Size
(
154
,
25
);
this
.
cmbCodeType
.
Size
=
new
System
.
Drawing
.
Size
(
154
,
25
);
this
.
cmbCodeType
.
TabIndex
=
23
;
this
.
cmbCodeType
.
TabIndex
=
23
;
this
.
cmbCodeType
.
Visible
=
false
;
this
.
cmbCodeType
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cmbCodeType_SelectedIndexChanged
);
this
.
cmbCodeType
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cmbCodeType_SelectedIndexChanged
);
//
//
// label3
// label3
...
@@ -275,7 +271,6 @@
...
@@ -275,7 +271,6 @@
this
.
label3
.
TabIndex
=
22
;
this
.
label3
.
TabIndex
=
22
;
this
.
label3
.
Text
=
"条码类型:"
;
this
.
label3
.
Text
=
"条码类型:"
;
this
.
label3
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label3
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label3
.
Visible
=
false
;
//
//
// chbUseParam
// chbUseParam
//
//
...
@@ -319,6 +314,7 @@
...
@@ -319,6 +314,7 @@
this
.
btnScanTest
.
TabIndex
=
30
;
this
.
btnScanTest
.
TabIndex
=
30
;
this
.
btnScanTest
.
Text
=
"扫码测试"
;
this
.
btnScanTest
.
Text
=
"扫码测试"
;
this
.
btnScanTest
.
UseVisualStyleBackColor
=
true
;
this
.
btnScanTest
.
UseVisualStyleBackColor
=
true
;
this
.
btnScanTest
.
Visible
=
false
;
this
.
btnScanTest
.
Click
+=
new
System
.
EventHandler
(
this
.
btnScanTest_Click
);
this
.
btnScanTest
.
Click
+=
new
System
.
EventHandler
(
this
.
btnScanTest_Click
);
//
//
// chbZxing
// chbZxing
...
...
CodeLibraryProject/CodeLibrary/FrmCodeDecode.cs
查看文件 @
32b2ae2
...
@@ -187,7 +187,7 @@ namespace CodeLibrary
...
@@ -187,7 +187,7 @@ namespace CodeLibrary
foreach
(
CodeInfo
code
in
list
)
foreach
(
CodeInfo
code
in
list
)
{
{
txtResult
.
Text
+=
"\r\n"
+
""
+
code
.
CodeType
+
" (X:"
+
code
.
X
+
",Y:"
+
code
.
Y
+
") "
+
code
.
CodeStr
;
txtResult
.
Text
+=
"\r\n"
+
""
+
code
.
CodeType
+
" (X:"
+
code
.
X
+
",Y:"
+
code
.
Y
+
") "
+
code
.
CodeStr
;
txtResult
.
Text
+=
"\r\n"
+
""
+
code
.
CodeType
+
" (X:"
+
code
.
X
+
",Y:"
+
code
.
Y
+
") "
+
code
.
GetCodeStr
();
//
txtResult.Text += "\r\n" + "" + code.CodeType + " (X:" + code.X + ",Y:" + code.Y + ") " + code.GetCodeStr();
}
}
}
}
else
else
...
...
CodeLibraryProject/CodeLibrary/HDCodeLearnHelper.cs
查看文件 @
32b2ae2
...
@@ -221,7 +221,7 @@ namespace CodeLibrary
...
@@ -221,7 +221,7 @@ namespace CodeLibrary
CodeResultAdd
(
hv_DecodedDataStrings
,
codeType
,
"学习"
);
CodeResultAdd
(
hv_DecodedDataStrings
,
codeType
,
"学习"
);
}
}
ShowImage
(
hv_ExpDefaultWinHandle
,
ho_Image
,
ho_SymbolXLDs
);
ShowImage
(
hv_ExpDefaultWinHandle
,
ho_Image
,
ho_SymbolXLDs
);
ho_Image
.
Dispose
();
}
}
if
(
findCode
.
Count
>=
codeCount
||
stopWatch
.
ElapsedMilliseconds
>
timeOutMs
)
if
(
findCode
.
Count
>=
codeCount
||
stopWatch
.
ElapsedMilliseconds
>
timeOutMs
)
{
{
...
@@ -253,7 +253,6 @@ namespace CodeLibrary
...
@@ -253,7 +253,6 @@ namespace CodeLibrary
{
{
CodeResultAdd
(
hv_DecodedDataStrings
,
codeType
,
"识别"
);
CodeResultAdd
(
hv_DecodedDataStrings
,
codeType
,
"识别"
);
}
}
ho_Image
.
Dispose
();
}
}
if
(
findCode
.
Count
>=
codeCount
||
stopWatch
.
ElapsedMilliseconds
>
timeOutMs
)
if
(
findCode
.
Count
>=
codeCount
||
stopWatch
.
ElapsedMilliseconds
>
timeOutMs
)
{
{
...
...
CodeLibraryProject/编译好的DLL/CodeLibrary.dll
deleted
100644 → 0
查看文件 @
1085af9
此文件类型无法预览
dll/libdmtx.dll
0 → 100644
查看文件 @
32b2ae2
此文件类型无法预览
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论