Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.Client.Sample.ImageUploader.V4.5
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陶然
Kivii.Client.Sample.ImageUploader.V4.5
Commits
9bda5655
Commit
9bda5655
authored
Jul 10, 2024
by
Neo Turing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
094e496a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
75 additions
and
113 deletions
+75
-113
FrmMain.Designer.cs
Src/FrmMain.Designer.cs
+73
-112
FrmMain.cs
Src/FrmMain.cs
+2
-1
No files found.
Src/FrmMain.Designer.cs
View file @
9bda5655
...
@@ -90,9 +90,8 @@
...
@@ -90,9 +90,8 @@
this
.
plLeft
.
Controls
.
Add
(
this
.
gbCamView
);
this
.
plLeft
.
Controls
.
Add
(
this
.
gbCamView
);
this
.
plLeft
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Left
;
this
.
plLeft
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Left
;
this
.
plLeft
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
plLeft
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
plLeft
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
plLeft
.
Name
=
"plLeft"
;
this
.
plLeft
.
Name
=
"plLeft"
;
this
.
plLeft
.
Size
=
new
System
.
Drawing
.
Size
(
378
,
1022
);
this
.
plLeft
.
Size
=
new
System
.
Drawing
.
Size
(
252
,
681
);
this
.
plLeft
.
TabIndex
=
0
;
this
.
plLeft
.
TabIndex
=
0
;
//
//
// gbSample
// gbSample
...
@@ -100,11 +99,9 @@
...
@@ -100,11 +99,9 @@
this
.
gbSample
.
Controls
.
Add
(
this
.
rtbMessage
);
this
.
gbSample
.
Controls
.
Add
(
this
.
rtbMessage
);
this
.
gbSample
.
Controls
.
Add
(
this
.
plSearchReport
);
this
.
gbSample
.
Controls
.
Add
(
this
.
plSearchReport
);
this
.
gbSample
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
gbSample
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
gbSample
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
423
);
this
.
gbSample
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
282
);
this
.
gbSample
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbSample
.
Name
=
"gbSample"
;
this
.
gbSample
.
Name
=
"gbSample"
;
this
.
gbSample
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbSample
.
Size
=
new
System
.
Drawing
.
Size
(
252
,
237
);
this
.
gbSample
.
Size
=
new
System
.
Drawing
.
Size
(
378
,
356
);
this
.
gbSample
.
TabIndex
=
3
;
this
.
gbSample
.
TabIndex
=
3
;
this
.
gbSample
.
TabStop
=
false
;
this
.
gbSample
.
TabStop
=
false
;
this
.
gbSample
.
Text
=
"查询样品"
;
this
.
gbSample
.
Text
=
"查询样品"
;
...
@@ -113,9 +110,10 @@
...
@@ -113,9 +110,10 @@
//
//
this
.
rtbMessage
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
rtbMessage
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
rtbMessage
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
14F
);
this
.
rtbMessage
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
14F
);
this
.
rtbMessage
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
81
);
this
.
rtbMessage
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
54
);
this
.
rtbMessage
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
rtbMessage
.
Name
=
"rtbMessage"
;
this
.
rtbMessage
.
Name
=
"rtbMessage"
;
this
.
rtbMessage
.
Size
=
new
System
.
Drawing
.
Size
(
370
,
271
);
this
.
rtbMessage
.
Size
=
new
System
.
Drawing
.
Size
(
246
,
180
);
this
.
rtbMessage
.
TabIndex
=
20
;
this
.
rtbMessage
.
TabIndex
=
20
;
this
.
rtbMessage
.
Text
=
""
;
this
.
rtbMessage
.
Text
=
""
;
//
//
...
@@ -124,10 +122,9 @@
...
@@ -124,10 +122,9 @@
this
.
plSearchReport
.
Controls
.
Add
(
this
.
tbxReportId
);
this
.
plSearchReport
.
Controls
.
Add
(
this
.
tbxReportId
);
this
.
plSearchReport
.
Controls
.
Add
(
this
.
btnReportId
);
this
.
plSearchReport
.
Controls
.
Add
(
this
.
btnReportId
);
this
.
plSearchReport
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Top
;
this
.
plSearchReport
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Top
;
this
.
plSearchReport
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
25
);
this
.
plSearchReport
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
17
);
this
.
plSearchReport
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
plSearchReport
.
Name
=
"plSearchReport"
;
this
.
plSearchReport
.
Name
=
"plSearchReport"
;
this
.
plSearchReport
.
Size
=
new
System
.
Drawing
.
Size
(
370
,
56
);
this
.
plSearchReport
.
Size
=
new
System
.
Drawing
.
Size
(
246
,
37
);
this
.
plSearchReport
.
TabIndex
=
19
;
this
.
plSearchReport
.
TabIndex
=
19
;
//
//
// tbxReportId
// tbxReportId
...
@@ -135,10 +132,9 @@
...
@@ -135,10 +132,9 @@
this
.
tbxReportId
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
tbxReportId
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
tbxReportId
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
tbxReportId
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
tbxReportId
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
tbxReportId
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
tbxReportId
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
tbxReportId
.
Multiline
=
true
;
this
.
tbxReportId
.
Multiline
=
true
;
this
.
tbxReportId
.
Name
=
"tbxReportId"
;
this
.
tbxReportId
.
Name
=
"tbxReportId"
;
this
.
tbxReportId
.
Size
=
new
System
.
Drawing
.
Size
(
282
,
56
);
this
.
tbxReportId
.
Size
=
new
System
.
Drawing
.
Size
(
187
,
37
);
this
.
tbxReportId
.
TabIndex
=
7
;
this
.
tbxReportId
.
TabIndex
=
7
;
this
.
tbxReportId
.
KeyPress
+=
new
System
.
Windows
.
Forms
.
KeyPressEventHandler
(
this
.
tbxReportId_KeyPress
);
this
.
tbxReportId
.
KeyPress
+=
new
System
.
Windows
.
Forms
.
KeyPressEventHandler
(
this
.
tbxReportId_KeyPress
);
//
//
...
@@ -147,10 +143,9 @@
...
@@ -147,10 +143,9 @@
this
.
btnReportId
.
BackColor
=
System
.
Drawing
.
SystemColors
.
ButtonHighlight
;
this
.
btnReportId
.
BackColor
=
System
.
Drawing
.
SystemColors
.
ButtonHighlight
;
this
.
btnReportId
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
btnReportId
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
btnReportId
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnReportId
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnReportId
.
Location
=
new
System
.
Drawing
.
Point
(
282
,
0
);
this
.
btnReportId
.
Location
=
new
System
.
Drawing
.
Point
(
187
,
0
);
this
.
btnReportId
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
btnReportId
.
Name
=
"btnReportId"
;
this
.
btnReportId
.
Name
=
"btnReportId"
;
this
.
btnReportId
.
Size
=
new
System
.
Drawing
.
Size
(
88
,
56
);
this
.
btnReportId
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
37
);
this
.
btnReportId
.
TabIndex
=
8
;
this
.
btnReportId
.
TabIndex
=
8
;
this
.
btnReportId
.
Text
=
"查询"
;
this
.
btnReportId
.
Text
=
"查询"
;
this
.
btnReportId
.
UseVisualStyleBackColor
=
false
;
this
.
btnReportId
.
UseVisualStyleBackColor
=
false
;
...
@@ -167,11 +162,9 @@
...
@@ -167,11 +162,9 @@
this
.
gbLogin
.
Controls
.
Add
(
this
.
tbxServiceUrl
);
this
.
gbLogin
.
Controls
.
Add
(
this
.
tbxServiceUrl
);
this
.
gbLogin
.
Controls
.
Add
(
this
.
lblUrl
);
this
.
gbLogin
.
Controls
.
Add
(
this
.
lblUrl
);
this
.
gbLogin
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Bottom
;
this
.
gbLogin
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Bottom
;
this
.
gbLogin
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
779
);
this
.
gbLogin
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
519
);
this
.
gbLogin
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbLogin
.
Name
=
"gbLogin"
;
this
.
gbLogin
.
Name
=
"gbLogin"
;
this
.
gbLogin
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbLogin
.
Size
=
new
System
.
Drawing
.
Size
(
252
,
162
);
this
.
gbLogin
.
Size
=
new
System
.
Drawing
.
Size
(
378
,
243
);
this
.
gbLogin
.
TabIndex
=
2
;
this
.
gbLogin
.
TabIndex
=
2
;
this
.
gbLogin
.
TabStop
=
false
;
this
.
gbLogin
.
TabStop
=
false
;
this
.
gbLogin
.
Text
=
"系统登录"
;
this
.
gbLogin
.
Text
=
"系统登录"
;
...
@@ -181,10 +174,9 @@
...
@@ -181,10 +174,9 @@
this
.
btnLogout
.
BackColor
=
System
.
Drawing
.
Color
.
LavenderBlush
;
this
.
btnLogout
.
BackColor
=
System
.
Drawing
.
Color
.
LavenderBlush
;
this
.
btnLogout
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
15F
);
this
.
btnLogout
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
15F
);
this
.
btnLogout
.
ForeColor
=
System
.
Drawing
.
Color
.
Crimson
;
this
.
btnLogout
.
ForeColor
=
System
.
Drawing
.
Color
.
Crimson
;
this
.
btnLogout
.
Location
=
new
System
.
Drawing
.
Point
(
220
,
171
);
this
.
btnLogout
.
Location
=
new
System
.
Drawing
.
Point
(
147
,
114
);
this
.
btnLogout
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
btnLogout
.
Name
=
"btnLogout"
;
this
.
btnLogout
.
Name
=
"btnLogout"
;
this
.
btnLogout
.
Size
=
new
System
.
Drawing
.
Size
(
144
,
6
0
);
this
.
btnLogout
.
Size
=
new
System
.
Drawing
.
Size
(
96
,
4
0
);
this
.
btnLogout
.
TabIndex
=
31
;
this
.
btnLogout
.
TabIndex
=
31
;
this
.
btnLogout
.
Text
=
"退 出"
;
this
.
btnLogout
.
Text
=
"退 出"
;
this
.
btnLogout
.
UseVisualStyleBackColor
=
false
;
this
.
btnLogout
.
UseVisualStyleBackColor
=
false
;
...
@@ -195,10 +187,9 @@
...
@@ -195,10 +187,9 @@
this
.
btnLogin
.
BackColor
=
System
.
Drawing
.
Color
.
MintCream
;
this
.
btnLogin
.
BackColor
=
System
.
Drawing
.
Color
.
MintCream
;
this
.
btnLogin
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
15F
);
this
.
btnLogin
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
15F
);
this
.
btnLogin
.
ForeColor
=
System
.
Drawing
.
Color
.
DarkGreen
;
this
.
btnLogin
.
ForeColor
=
System
.
Drawing
.
Color
.
DarkGreen
;
this
.
btnLogin
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
170
);
this
.
btnLogin
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
113
);
this
.
btnLogin
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
btnLogin
.
Name
=
"btnLogin"
;
this
.
btnLogin
.
Name
=
"btnLogin"
;
this
.
btnLogin
.
Size
=
new
System
.
Drawing
.
Size
(
204
,
6
0
);
this
.
btnLogin
.
Size
=
new
System
.
Drawing
.
Size
(
136
,
4
0
);
this
.
btnLogin
.
TabIndex
=
30
;
this
.
btnLogin
.
TabIndex
=
30
;
this
.
btnLogin
.
Text
=
"登 录"
;
this
.
btnLogin
.
Text
=
"登 录"
;
this
.
btnLogin
.
UseVisualStyleBackColor
=
false
;
this
.
btnLogin
.
UseVisualStyleBackColor
=
false
;
...
@@ -207,11 +198,10 @@
...
@@ -207,11 +198,10 @@
// tbxPassword
// tbxPassword
//
//
this
.
tbxPassword
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
tbxPassword
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
tbxPassword
.
Location
=
new
System
.
Drawing
.
Point
(
96
,
117
);
this
.
tbxPassword
.
Location
=
new
System
.
Drawing
.
Point
(
64
,
78
);
this
.
tbxPassword
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
tbxPassword
.
Name
=
"tbxPassword"
;
this
.
tbxPassword
.
Name
=
"tbxPassword"
;
this
.
tbxPassword
.
PasswordChar
=
'*'
;
this
.
tbxPassword
.
PasswordChar
=
'*'
;
this
.
tbxPassword
.
Size
=
new
System
.
Drawing
.
Size
(
266
,
35
);
this
.
tbxPassword
.
Size
=
new
System
.
Drawing
.
Size
(
179
,
26
);
this
.
tbxPassword
.
TabIndex
=
29
;
this
.
tbxPassword
.
TabIndex
=
29
;
this
.
tbxPassword
.
KeyPress
+=
new
System
.
Windows
.
Forms
.
KeyPressEventHandler
(
this
.
tbxPassword_KeyPress
);
this
.
tbxPassword
.
KeyPress
+=
new
System
.
Windows
.
Forms
.
KeyPressEventHandler
(
this
.
tbxPassword_KeyPress
);
//
//
...
@@ -219,30 +209,27 @@
...
@@ -219,30 +209,27 @@
//
//
this
.
lblPassword
.
AutoSize
=
true
;
this
.
lblPassword
.
AutoSize
=
true
;
this
.
lblPassword
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
lblPassword
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
lblPassword
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
122
);
this
.
lblPassword
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
81
);
this
.
lblPassword
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
0
,
4
,
0
);
this
.
lblPassword
.
Name
=
"lblPassword"
;
this
.
lblPassword
.
Name
=
"lblPassword"
;
this
.
lblPassword
.
Size
=
new
System
.
Drawing
.
Size
(
94
,
24
);
this
.
lblPassword
.
Size
=
new
System
.
Drawing
.
Size
(
63
,
16
);
this
.
lblPassword
.
TabIndex
=
28
;
this
.
lblPassword
.
TabIndex
=
28
;
this
.
lblPassword
.
Text
=
"密 码:"
;
this
.
lblPassword
.
Text
=
"密 码:"
;
//
//
// tbxUserName
// tbxUserName
//
//
this
.
tbxUserName
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
tbxUserName
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
tbxUserName
.
Location
=
new
System
.
Drawing
.
Point
(
96
,
69
);
this
.
tbxUserName
.
Location
=
new
System
.
Drawing
.
Point
(
64
,
46
);
this
.
tbxUserName
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
tbxUserName
.
Name
=
"tbxUserName"
;
this
.
tbxUserName
.
Name
=
"tbxUserName"
;
this
.
tbxUserName
.
Size
=
new
System
.
Drawing
.
Size
(
266
,
35
);
this
.
tbxUserName
.
Size
=
new
System
.
Drawing
.
Size
(
179
,
26
);
this
.
tbxUserName
.
TabIndex
=
27
;
this
.
tbxUserName
.
TabIndex
=
27
;
//
//
// lblUser
// lblUser
//
//
this
.
lblUser
.
AutoSize
=
true
;
this
.
lblUser
.
AutoSize
=
true
;
this
.
lblUser
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
lblUser
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
lblUser
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
74
);
this
.
lblUser
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
49
);
this
.
lblUser
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
0
,
4
,
0
);
this
.
lblUser
.
Name
=
"lblUser"
;
this
.
lblUser
.
Name
=
"lblUser"
;
this
.
lblUser
.
Size
=
new
System
.
Drawing
.
Size
(
94
,
24
);
this
.
lblUser
.
Size
=
new
System
.
Drawing
.
Size
(
63
,
16
);
this
.
lblUser
.
TabIndex
=
26
;
this
.
lblUser
.
TabIndex
=
26
;
this
.
lblUser
.
Text
=
"用户名:"
;
this
.
lblUser
.
Text
=
"用户名:"
;
//
//
...
@@ -250,20 +237,18 @@
...
@@ -250,20 +237,18 @@
//
//
this
.
tbxServiceUrl
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Window
;
this
.
tbxServiceUrl
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Window
;
this
.
tbxServiceUrl
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
tbxServiceUrl
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
tbxServiceUrl
.
Location
=
new
System
.
Drawing
.
Point
(
96
,
21
);
this
.
tbxServiceUrl
.
Location
=
new
System
.
Drawing
.
Point
(
64
,
14
);
this
.
tbxServiceUrl
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
tbxServiceUrl
.
Name
=
"tbxServiceUrl"
;
this
.
tbxServiceUrl
.
Name
=
"tbxServiceUrl"
;
this
.
tbxServiceUrl
.
Size
=
new
System
.
Drawing
.
Size
(
266
,
35
);
this
.
tbxServiceUrl
.
Size
=
new
System
.
Drawing
.
Size
(
179
,
26
);
this
.
tbxServiceUrl
.
TabIndex
=
25
;
this
.
tbxServiceUrl
.
TabIndex
=
25
;
//
//
// lblUrl
// lblUrl
//
//
this
.
lblUrl
.
AutoSize
=
true
;
this
.
lblUrl
.
AutoSize
=
true
;
this
.
lblUrl
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
lblUrl
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
this
.
lblUrl
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
26
);
this
.
lblUrl
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
17
);
this
.
lblUrl
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
0
,
4
,
0
);
this
.
lblUrl
.
Name
=
"lblUrl"
;
this
.
lblUrl
.
Name
=
"lblUrl"
;
this
.
lblUrl
.
Size
=
new
System
.
Drawing
.
Size
(
94
,
24
);
this
.
lblUrl
.
Size
=
new
System
.
Drawing
.
Size
(
63
,
16
);
this
.
lblUrl
.
TabIndex
=
22
;
this
.
lblUrl
.
TabIndex
=
22
;
this
.
lblUrl
.
Text
=
"地 址:"
;
this
.
lblUrl
.
Text
=
"地 址:"
;
//
//
...
@@ -275,10 +260,8 @@
...
@@ -275,10 +260,8 @@
this
.
gbCamView
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Top
;
this
.
gbCamView
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Top
;
this
.
gbCamView
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
10F
);
this
.
gbCamView
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
10F
);
this
.
gbCamView
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
gbCamView
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
gbCamView
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbCamView
.
Name
=
"gbCamView"
;
this
.
gbCamView
.
Name
=
"gbCamView"
;
this
.
gbCamView
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbCamView
.
Size
=
new
System
.
Drawing
.
Size
(
252
,
282
);
this
.
gbCamView
.
Size
=
new
System
.
Drawing
.
Size
(
378
,
423
);
this
.
gbCamView
.
TabIndex
=
0
;
this
.
gbCamView
.
TabIndex
=
0
;
this
.
gbCamView
.
TabStop
=
false
;
this
.
gbCamView
.
TabStop
=
false
;
this
.
gbCamView
.
Text
=
"相机视图"
;
this
.
gbCamView
.
Text
=
"相机视图"
;
...
@@ -288,10 +271,9 @@
...
@@ -288,10 +271,9 @@
this
.
cbxResolution
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
cbxResolution
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
cbxResolution
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
18F
);
this
.
cbxResolution
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
18F
);
this
.
cbxResolution
.
FormattingEnabled
=
true
;
this
.
cbxResolution
.
FormattingEnabled
=
true
;
this
.
cbxResolution
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
377
);
this
.
cbxResolution
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
252
);
this
.
cbxResolution
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
cbxResolution
.
Name
=
"cbxResolution"
;
this
.
cbxResolution
.
Name
=
"cbxResolution"
;
this
.
cbxResolution
.
Size
=
new
System
.
Drawing
.
Size
(
282
,
44
);
this
.
cbxResolution
.
Size
=
new
System
.
Drawing
.
Size
(
187
,
32
);
this
.
cbxResolution
.
TabIndex
=
5
;
this
.
cbxResolution
.
TabIndex
=
5
;
this
.
cbxResolution
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cbxResolution_SelectedIndexChanged
);
this
.
cbxResolution
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cbxResolution_SelectedIndexChanged
);
//
//
...
@@ -300,10 +282,9 @@
...
@@ -300,10 +282,9 @@
this
.
btnSwitch
.
BackColor
=
System
.
Drawing
.
SystemColors
.
ButtonHighlight
;
this
.
btnSwitch
.
BackColor
=
System
.
Drawing
.
SystemColors
.
ButtonHighlight
;
this
.
btnSwitch
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
btnSwitch
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
btnSwitch
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnSwitch
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnSwitch
.
Location
=
new
System
.
Drawing
.
Point
(
286
,
377
);
this
.
btnSwitch
.
Location
=
new
System
.
Drawing
.
Point
(
190
,
252
);
this
.
btnSwitch
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
btnSwitch
.
Name
=
"btnSwitch"
;
this
.
btnSwitch
.
Name
=
"btnSwitch"
;
this
.
btnSwitch
.
Size
=
new
System
.
Drawing
.
Size
(
88
,
42
);
this
.
btnSwitch
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
27
);
this
.
btnSwitch
.
TabIndex
=
4
;
this
.
btnSwitch
.
TabIndex
=
4
;
this
.
btnSwitch
.
Text
=
"切换"
;
this
.
btnSwitch
.
Text
=
"切换"
;
this
.
btnSwitch
.
UseVisualStyleBackColor
=
false
;
this
.
btnSwitch
.
UseVisualStyleBackColor
=
false
;
...
@@ -313,19 +294,17 @@
...
@@ -313,19 +294,17 @@
//
//
this
.
plVsp
.
Controls
.
Add
(
this
.
vspCamView
);
this
.
plVsp
.
Controls
.
Add
(
this
.
vspCamView
);
this
.
plVsp
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Top
;
this
.
plVsp
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Top
;
this
.
plVsp
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
27
);
this
.
plVsp
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
19
);
this
.
plVsp
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
plVsp
.
Name
=
"plVsp"
;
this
.
plVsp
.
Name
=
"plVsp"
;
this
.
plVsp
.
Size
=
new
System
.
Drawing
.
Size
(
370
,
350
);
this
.
plVsp
.
Size
=
new
System
.
Drawing
.
Size
(
246
,
233
);
this
.
plVsp
.
TabIndex
=
0
;
this
.
plVsp
.
TabIndex
=
0
;
//
//
// vspCamView
// vspCamView
//
//
this
.
vspCamView
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
vspCamView
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
vspCamView
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
vspCamView
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
vspCamView
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
vspCamView
.
Name
=
"vspCamView"
;
this
.
vspCamView
.
Name
=
"vspCamView"
;
this
.
vspCamView
.
Size
=
new
System
.
Drawing
.
Size
(
370
,
350
);
this
.
vspCamView
.
Size
=
new
System
.
Drawing
.
Size
(
246
,
233
);
this
.
vspCamView
.
TabIndex
=
0
;
this
.
vspCamView
.
TabIndex
=
0
;
this
.
vspCamView
.
Text
=
"vspCamView"
;
this
.
vspCamView
.
Text
=
"vspCamView"
;
this
.
vspCamView
.
VideoSource
=
null
;
this
.
vspCamView
.
VideoSource
=
null
;
...
@@ -335,10 +314,9 @@
...
@@ -335,10 +314,9 @@
this
.
plRight
.
Controls
.
Add
(
this
.
gbPhotoList
);
this
.
plRight
.
Controls
.
Add
(
this
.
gbPhotoList
);
this
.
plRight
.
Controls
.
Add
(
this
.
gbUploading
);
this
.
plRight
.
Controls
.
Add
(
this
.
gbUploading
);
this
.
plRight
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
plRight
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
plRight
.
Location
=
new
System
.
Drawing
.
Point
(
1190
,
0
);
this
.
plRight
.
Location
=
new
System
.
Drawing
.
Point
(
793
,
0
);
this
.
plRight
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
plRight
.
Name
=
"plRight"
;
this
.
plRight
.
Name
=
"plRight"
;
this
.
plRight
.
Size
=
new
System
.
Drawing
.
Size
(
226
,
1022
);
this
.
plRight
.
Size
=
new
System
.
Drawing
.
Size
(
151
,
681
);
this
.
plRight
.
TabIndex
=
1
;
this
.
plRight
.
TabIndex
=
1
;
//
//
// gbPhotoList
// gbPhotoList
...
@@ -347,10 +325,8 @@
...
@@ -347,10 +325,8 @@
this
.
gbPhotoList
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
gbPhotoList
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
gbPhotoList
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
10F
);
this
.
gbPhotoList
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
10F
);
this
.
gbPhotoList
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
gbPhotoList
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
gbPhotoList
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbPhotoList
.
Name
=
"gbPhotoList"
;
this
.
gbPhotoList
.
Name
=
"gbPhotoList"
;
this
.
gbPhotoList
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbPhotoList
.
Size
=
new
System
.
Drawing
.
Size
(
151
,
602
);
this
.
gbPhotoList
.
Size
=
new
System
.
Drawing
.
Size
(
226
,
904
);
this
.
gbPhotoList
.
TabIndex
=
2
;
this
.
gbPhotoList
.
TabIndex
=
2
;
this
.
gbPhotoList
.
TabStop
=
false
;
this
.
gbPhotoList
.
TabStop
=
false
;
this
.
gbPhotoList
.
Text
=
"已拍照片"
;
this
.
gbPhotoList
.
Text
=
"已拍照片"
;
...
@@ -362,21 +338,19 @@
...
@@ -362,21 +338,19 @@
this
.
flpPhotos
.
BorderStyle
=
System
.
Windows
.
Forms
.
BorderStyle
.
FixedSingle
;
this
.
flpPhotos
.
BorderStyle
=
System
.
Windows
.
Forms
.
BorderStyle
.
FixedSingle
;
this
.
flpPhotos
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
flpPhotos
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
flpPhotos
.
ImeMode
=
System
.
Windows
.
Forms
.
ImeMode
.
NoControl
;
this
.
flpPhotos
.
ImeMode
=
System
.
Windows
.
Forms
.
ImeMode
.
NoControl
;
this
.
flpPhotos
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
27
);
this
.
flpPhotos
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
19
);
this
.
flpPhotos
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
0
);
this
.
flpPhotos
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
0
);
this
.
flpPhotos
.
Name
=
"flpPhotos"
;
this
.
flpPhotos
.
Name
=
"flpPhotos"
;
this
.
flpPhotos
.
Size
=
new
System
.
Drawing
.
Size
(
218
,
873
);
this
.
flpPhotos
.
Size
=
new
System
.
Drawing
.
Size
(
145
,
580
);
this
.
flpPhotos
.
TabIndex
=
2
;
this
.
flpPhotos
.
TabIndex
=
2
;
//
//
// gbUploading
// gbUploading
//
//
this
.
gbUploading
.
Controls
.
Add
(
this
.
btnUpload
);
this
.
gbUploading
.
Controls
.
Add
(
this
.
btnUpload
);
this
.
gbUploading
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Bottom
;
this
.
gbUploading
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Bottom
;
this
.
gbUploading
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
904
);
this
.
gbUploading
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
602
);
this
.
gbUploading
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbUploading
.
Name
=
"gbUploading"
;
this
.
gbUploading
.
Name
=
"gbUploading"
;
this
.
gbUploading
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbUploading
.
Size
=
new
System
.
Drawing
.
Size
(
151
,
79
);
this
.
gbUploading
.
Size
=
new
System
.
Drawing
.
Size
(
226
,
118
);
this
.
gbUploading
.
TabIndex
=
1
;
this
.
gbUploading
.
TabIndex
=
1
;
this
.
gbUploading
.
TabStop
=
false
;
this
.
gbUploading
.
TabStop
=
false
;
this
.
gbUploading
.
Text
=
"操作台"
;
this
.
gbUploading
.
Text
=
"操作台"
;
...
@@ -386,10 +360,9 @@
...
@@ -386,10 +360,9 @@
this
.
btnUpload
.
BackColor
=
System
.
Drawing
.
SystemColors
.
ButtonHighlight
;
this
.
btnUpload
.
BackColor
=
System
.
Drawing
.
SystemColors
.
ButtonHighlight
;
this
.
btnUpload
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
btnUpload
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
btnUpload
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
25F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpload
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
25F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpload
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
25
);
this
.
btnUpload
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
17
);
this
.
btnUpload
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
btnUpload
.
Name
=
"btnUpload"
;
this
.
btnUpload
.
Name
=
"btnUpload"
;
this
.
btnUpload
.
Size
=
new
System
.
Drawing
.
Size
(
218
,
8
9
);
this
.
btnUpload
.
Size
=
new
System
.
Drawing
.
Size
(
145
,
5
9
);
this
.
btnUpload
.
TabIndex
=
3
;
this
.
btnUpload
.
TabIndex
=
3
;
this
.
btnUpload
.
Text
=
"上传"
;
this
.
btnUpload
.
Text
=
"上传"
;
this
.
btnUpload
.
UseVisualStyleBackColor
=
false
;
this
.
btnUpload
.
UseVisualStyleBackColor
=
false
;
...
@@ -401,10 +374,9 @@
...
@@ -401,10 +374,9 @@
this
.
plMain
.
Controls
.
Add
(
this
.
gbPhotoView
);
this
.
plMain
.
Controls
.
Add
(
this
.
gbPhotoView
);
this
.
plMain
.
Controls
.
Add
(
this
.
gbOperating
);
this
.
plMain
.
Controls
.
Add
(
this
.
gbOperating
);
this
.
plMain
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
plMain
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
plMain
.
Location
=
new
System
.
Drawing
.
Point
(
378
,
0
);
this
.
plMain
.
Location
=
new
System
.
Drawing
.
Point
(
252
,
0
);
this
.
plMain
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
plMain
.
Name
=
"plMain"
;
this
.
plMain
.
Name
=
"plMain"
;
this
.
plMain
.
Size
=
new
System
.
Drawing
.
Size
(
812
,
1022
);
this
.
plMain
.
Size
=
new
System
.
Drawing
.
Size
(
541
,
681
);
this
.
plMain
.
TabIndex
=
2
;
this
.
plMain
.
TabIndex
=
2
;
//
//
// gbPhotoView
// gbPhotoView
...
@@ -414,10 +386,8 @@
...
@@ -414,10 +386,8 @@
this
.
gbPhotoView
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
gbPhotoView
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
gbPhotoView
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
10F
);
this
.
gbPhotoView
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
10F
);
this
.
gbPhotoView
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
gbPhotoView
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
gbPhotoView
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbPhotoView
.
Name
=
"gbPhotoView"
;
this
.
gbPhotoView
.
Name
=
"gbPhotoView"
;
this
.
gbPhotoView
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbPhotoView
.
Size
=
new
System
.
Drawing
.
Size
(
541
,
602
);
this
.
gbPhotoView
.
Size
=
new
System
.
Drawing
.
Size
(
812
,
904
);
this
.
gbPhotoView
.
TabIndex
=
1
;
this
.
gbPhotoView
.
TabIndex
=
1
;
this
.
gbPhotoView
.
TabStop
=
false
;
this
.
gbPhotoView
.
TabStop
=
false
;
this
.
gbPhotoView
.
Text
=
"选中照片"
;
this
.
gbPhotoView
.
Text
=
"选中照片"
;
...
@@ -426,9 +396,10 @@
...
@@ -426,9 +396,10 @@
//
//
this
.
panel1
.
Controls
.
Add
(
this
.
picDisPlay
);
this
.
panel1
.
Controls
.
Add
(
this
.
picDisPlay
);
this
.
panel1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
panel1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
27
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
19
);
this
.
panel1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
panel1
.
Name
=
"panel1"
;
this
.
panel1
.
Name
=
"panel1"
;
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
804
,
831
);
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
535
,
552
);
this
.
panel1
.
TabIndex
=
4
;
this
.
panel1
.
TabIndex
=
4
;
//
//
// picDisPlay
// picDisPlay
...
@@ -437,9 +408,10 @@
...
@@ -437,9 +408,10 @@
this
.
picDisPlay
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
picDisPlay
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
picDisPlay
.
EnableSelection
=
false
;
this
.
picDisPlay
.
EnableSelection
=
false
;
this
.
picDisPlay
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
picDisPlay
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
picDisPlay
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
picDisPlay
.
Name
=
"picDisPlay"
;
this
.
picDisPlay
.
Name
=
"picDisPlay"
;
this
.
picDisPlay
.
SelectionBounds
=
new
System
.
Drawing
.
Rectangle
(
0
,
0
,
0
,
0
);
this
.
picDisPlay
.
SelectionBounds
=
new
System
.
Drawing
.
Rectangle
(
0
,
0
,
0
,
0
);
this
.
picDisPlay
.
Size
=
new
System
.
Drawing
.
Size
(
804
,
831
);
this
.
picDisPlay
.
Size
=
new
System
.
Drawing
.
Size
(
535
,
552
);
this
.
picDisPlay
.
TabIndex
=
5
;
this
.
picDisPlay
.
TabIndex
=
5
;
//
//
// plDisplay
// plDisplay
...
@@ -449,10 +421,9 @@
...
@@ -449,10 +421,9 @@
this
.
plDisplay
.
Controls
.
Add
(
this
.
btnCamearTurn
);
this
.
plDisplay
.
Controls
.
Add
(
this
.
btnCamearTurn
);
this
.
plDisplay
.
Controls
.
Add
(
this
.
lbDisplay
);
this
.
plDisplay
.
Controls
.
Add
(
this
.
lbDisplay
);
this
.
plDisplay
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Bottom
;
this
.
plDisplay
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Bottom
;
this
.
plDisplay
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
858
);
this
.
plDisplay
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
571
);
this
.
plDisplay
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
plDisplay
.
Name
=
"plDisplay"
;
this
.
plDisplay
.
Name
=
"plDisplay"
;
this
.
plDisplay
.
Size
=
new
System
.
Drawing
.
Size
(
804
,
42
);
this
.
plDisplay
.
Size
=
new
System
.
Drawing
.
Size
(
535
,
28
);
this
.
plDisplay
.
TabIndex
=
3
;
this
.
plDisplay
.
TabIndex
=
3
;
//
//
// cbxTurn
// cbxTurn
...
@@ -465,10 +436,9 @@
...
@@ -465,10 +436,9 @@
"顺时针90°"
,
"顺时针90°"
,
"顺时针180°"
,
"顺时针180°"
,
"顺时针270°"
});
"顺时针270°"
});
this
.
cbxTurn
.
Location
=
new
System
.
Drawing
.
Point
(
347
,
0
);
this
.
cbxTurn
.
Location
=
new
System
.
Drawing
.
Point
(
229
,
0
);
this
.
cbxTurn
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
cbxTurn
.
Name
=
"cbxTurn"
;
this
.
cbxTurn
.
Name
=
"cbxTurn"
;
this
.
cbxTurn
.
Size
=
new
System
.
Drawing
.
Size
(
1
81
,
41
);
this
.
cbxTurn
.
Size
=
new
System
.
Drawing
.
Size
(
1
22
,
29
);
this
.
cbxTurn
.
TabIndex
=
33
;
this
.
cbxTurn
.
TabIndex
=
33
;
this
.
cbxTurn
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cbxTurn_SelectedIndexChanged
);
this
.
cbxTurn
.
SelectedIndexChanged
+=
new
System
.
EventHandler
(
this
.
cbxTurn_SelectedIndexChanged
);
//
//
...
@@ -477,10 +447,9 @@
...
@@ -477,10 +447,9 @@
this
.
btnEditor
.
BackColor
=
System
.
Drawing
.
SystemColors
.
ButtonHighlight
;
this
.
btnEditor
.
BackColor
=
System
.
Drawing
.
SystemColors
.
ButtonHighlight
;
this
.
btnEditor
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
btnEditor
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
btnEditor
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
10F
,
System
.
Drawing
.
FontStyle
.
Bold
);
this
.
btnEditor
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
10F
,
System
.
Drawing
.
FontStyle
.
Bold
);
this
.
btnEditor
.
Location
=
new
System
.
Drawing
.
Point
(
528
,
0
);
this
.
btnEditor
.
Location
=
new
System
.
Drawing
.
Point
(
351
,
0
);
this
.
btnEditor
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
btnEditor
.
Name
=
"btnEditor"
;
this
.
btnEditor
.
Name
=
"btnEditor"
;
this
.
btnEditor
.
Size
=
new
System
.
Drawing
.
Size
(
144
,
42
);
this
.
btnEditor
.
Size
=
new
System
.
Drawing
.
Size
(
96
,
28
);
this
.
btnEditor
.
TabIndex
=
32
;
this
.
btnEditor
.
TabIndex
=
32
;
this
.
btnEditor
.
Text
=
"裁剪"
;
this
.
btnEditor
.
Text
=
"裁剪"
;
this
.
btnEditor
.
UseVisualStyleBackColor
=
false
;
this
.
btnEditor
.
UseVisualStyleBackColor
=
false
;
...
@@ -491,10 +460,9 @@
...
@@ -491,10 +460,9 @@
//
//
this
.
btnCamearTurn
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
btnCamearTurn
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
btnCamearTurn
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
10F
,
System
.
Drawing
.
FontStyle
.
Bold
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCamearTurn
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
10F
,
System
.
Drawing
.
FontStyle
.
Bold
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCamearTurn
.
Location
=
new
System
.
Drawing
.
Point
(
672
,
0
);
this
.
btnCamearTurn
.
Location
=
new
System
.
Drawing
.
Point
(
447
,
0
);
this
.
btnCamearTurn
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
btnCamearTurn
.
Name
=
"btnCamearTurn"
;
this
.
btnCamearTurn
.
Name
=
"btnCamearTurn"
;
this
.
btnCamearTurn
.
Size
=
new
System
.
Drawing
.
Size
(
132
,
42
);
this
.
btnCamearTurn
.
Size
=
new
System
.
Drawing
.
Size
(
88
,
28
);
this
.
btnCamearTurn
.
TabIndex
=
31
;
this
.
btnCamearTurn
.
TabIndex
=
31
;
this
.
btnCamearTurn
.
Text
=
"旋转"
;
this
.
btnCamearTurn
.
Text
=
"旋转"
;
this
.
btnCamearTurn
.
UseVisualStyleBackColor
=
true
;
this
.
btnCamearTurn
.
UseVisualStyleBackColor
=
true
;
...
@@ -506,9 +474,8 @@
...
@@ -506,9 +474,8 @@
this
.
lbDisplay
.
AutoSize
=
true
;
this
.
lbDisplay
.
AutoSize
=
true
;
this
.
lbDisplay
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
lbDisplay
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
lbDisplay
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
lbDisplay
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
lbDisplay
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
0
,
4
,
0
);
this
.
lbDisplay
.
Name
=
"lbDisplay"
;
this
.
lbDisplay
.
Name
=
"lbDisplay"
;
this
.
lbDisplay
.
Size
=
new
System
.
Drawing
.
Size
(
89
,
20
);
this
.
lbDisplay
.
Size
=
new
System
.
Drawing
.
Size
(
63
,
14
);
this
.
lbDisplay
.
TabIndex
=
0
;
this
.
lbDisplay
.
TabIndex
=
0
;
this
.
lbDisplay
.
Text
=
"照片名称"
;
this
.
lbDisplay
.
Text
=
"照片名称"
;
//
//
...
@@ -518,11 +485,9 @@
...
@@ -518,11 +485,9 @@
this
.
gbOperating
.
Controls
.
Add
(
this
.
btnCanon
);
this
.
gbOperating
.
Controls
.
Add
(
this
.
btnCanon
);
this
.
gbOperating
.
Controls
.
Add
(
this
.
btnDelete
);
this
.
gbOperating
.
Controls
.
Add
(
this
.
btnDelete
);
this
.
gbOperating
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Bottom
;
this
.
gbOperating
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Bottom
;
this
.
gbOperating
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
904
);
this
.
gbOperating
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
602
);
this
.
gbOperating
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbOperating
.
Name
=
"gbOperating"
;
this
.
gbOperating
.
Name
=
"gbOperating"
;
this
.
gbOperating
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
gbOperating
.
Size
=
new
System
.
Drawing
.
Size
(
541
,
79
);
this
.
gbOperating
.
Size
=
new
System
.
Drawing
.
Size
(
812
,
118
);
this
.
gbOperating
.
TabIndex
=
0
;
this
.
gbOperating
.
TabIndex
=
0
;
this
.
gbOperating
.
TabStop
=
false
;
this
.
gbOperating
.
TabStop
=
false
;
this
.
gbOperating
.
Text
=
"操作台"
;
this
.
gbOperating
.
Text
=
"操作台"
;
...
@@ -533,10 +498,9 @@
...
@@ -533,10 +498,9 @@
this
.
btnShot
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
btnShot
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
btnShot
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
25F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnShot
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
25F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnShot
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnShot
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
this
.
btnShot
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
25
);
this
.
btnShot
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
17
);
this
.
btnShot
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
btnShot
.
Name
=
"btnShot"
;
this
.
btnShot
.
Name
=
"btnShot"
;
this
.
btnShot
.
Size
=
new
System
.
Drawing
.
Size
(
516
,
8
9
);
this
.
btnShot
.
Size
=
new
System
.
Drawing
.
Size
(
343
,
5
9
);
this
.
btnShot
.
TabIndex
=
7
;
this
.
btnShot
.
TabIndex
=
7
;
this
.
btnShot
.
Text
=
"拍照"
;
this
.
btnShot
.
Text
=
"拍照"
;
this
.
btnShot
.
UseVisualStyleBackColor
=
false
;
this
.
btnShot
.
UseVisualStyleBackColor
=
false
;
...
@@ -548,10 +512,9 @@
...
@@ -548,10 +512,9 @@
this
.
btnCanon
.
BackColor
=
System
.
Drawing
.
SystemColors
.
ButtonHighlight
;
this
.
btnCanon
.
BackColor
=
System
.
Drawing
.
SystemColors
.
ButtonHighlight
;
this
.
btnCanon
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
btnCanon
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
btnCanon
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
25F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCanon
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
25F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCanon
.
Location
=
new
System
.
Drawing
.
Point
(
520
,
25
);
this
.
btnCanon
.
Location
=
new
System
.
Drawing
.
Point
(
346
,
17
);
this
.
btnCanon
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
btnCanon
.
Name
=
"btnCanon"
;
this
.
btnCanon
.
Name
=
"btnCanon"
;
this
.
btnCanon
.
Size
=
new
System
.
Drawing
.
Size
(
144
,
8
9
);
this
.
btnCanon
.
Size
=
new
System
.
Drawing
.
Size
(
96
,
5
9
);
this
.
btnCanon
.
TabIndex
=
6
;
this
.
btnCanon
.
TabIndex
=
6
;
this
.
btnCanon
.
Text
=
"佳能"
;
this
.
btnCanon
.
Text
=
"佳能"
;
this
.
btnCanon
.
UseVisualStyleBackColor
=
false
;
this
.
btnCanon
.
UseVisualStyleBackColor
=
false
;
...
@@ -563,10 +526,9 @@
...
@@ -563,10 +526,9 @@
this
.
btnDelete
.
BackColor
=
System
.
Drawing
.
SystemColors
.
ButtonHighlight
;
this
.
btnDelete
.
BackColor
=
System
.
Drawing
.
SystemColors
.
ButtonHighlight
;
this
.
btnDelete
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
btnDelete
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Right
;
this
.
btnDelete
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
25F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnDelete
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
25F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnDelete
.
Location
=
new
System
.
Drawing
.
Point
(
664
,
25
);
this
.
btnDelete
.
Location
=
new
System
.
Drawing
.
Point
(
442
,
17
);
this
.
btnDelete
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
btnDelete
.
Name
=
"btnDelete"
;
this
.
btnDelete
.
Name
=
"btnDelete"
;
this
.
btnDelete
.
Size
=
new
System
.
Drawing
.
Size
(
144
,
8
9
);
this
.
btnDelete
.
Size
=
new
System
.
Drawing
.
Size
(
96
,
5
9
);
this
.
btnDelete
.
TabIndex
=
2
;
this
.
btnDelete
.
TabIndex
=
2
;
this
.
btnDelete
.
Text
=
"删除"
;
this
.
btnDelete
.
Text
=
"删除"
;
this
.
btnDelete
.
UseVisualStyleBackColor
=
false
;
this
.
btnDelete
.
UseVisualStyleBackColor
=
false
;
...
@@ -575,14 +537,13 @@
...
@@ -575,14 +537,13 @@
//
//
// FrmMain
// FrmMain
//
//
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
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1416
,
1022
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
944
,
681
);
this
.
Controls
.
Add
(
this
.
plMain
);
this
.
Controls
.
Add
(
this
.
plMain
);
this
.
Controls
.
Add
(
this
.
plRight
);
this
.
Controls
.
Add
(
this
.
plRight
);
this
.
Controls
.
Add
(
this
.
plLeft
);
this
.
Controls
.
Add
(
this
.
plLeft
);
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
Name
=
"FrmMain"
;
this
.
Name
=
"FrmMain"
;
this
.
Text
=
"样品拍照采集"
;
this
.
Text
=
"样品拍照采集"
;
this
.
FormClosing
+=
new
System
.
Windows
.
Forms
.
FormClosingEventHandler
(
this
.
FrmMain_FormClosing
);
this
.
FormClosing
+=
new
System
.
Windows
.
Forms
.
FormClosingEventHandler
(
this
.
FrmMain_FormClosing
);
...
...
Src/FrmMain.cs
View file @
9bda5655
...
@@ -952,7 +952,8 @@ namespace Kivii.Sample.ImageUploader
...
@@ -952,7 +952,8 @@ namespace Kivii.Sample.ImageUploader
request
.
OwnerKvid
=
currentReport
.
SampleKvid
;
request
.
OwnerKvid
=
currentReport
.
SampleKvid
;
request
.
FolderPath
=
"/Samples/Images"
;
request
.
FolderPath
=
"/Samples/Images"
;
request
.
FolderType
=
"Jst.Lims.Entities.Sample"
;
request
.
FolderType
=
"Jst.Lims.Entities.Sample"
;
request
.
Tags
=
photo
.
Tags
.
IsNullOrEmpty
()
?
tags
:
photo
.
Tags
;
if
(
currentReport
.
SampleKvid
!=
Guid
.
Empty
)
request
.
Tags
=
"底页图片"
;
else
request
.
Tags
=
photo
.
Tags
.
IsNullOrEmpty
()
?
tags
:
photo
.
Tags
;
try
try
{
{
var
response
=
_client
.
PostFileWithRequest
<
FileResponse
>(
new
FileInfo
(
filename
),
request
);
var
response
=
_client
.
PostFileWithRequest
<
FileResponse
>(
new
FileInfo
(
filename
),
request
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment