Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.Client.SamplePackages.V4.0
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.SamplePackages.V4.0
Commits
e7c171ad
Commit
e7c171ad
authored
Jul 06, 2023
by
任天宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化字体
parent
c892a315
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
16 deletions
+26
-16
FrmMain.Designer.cs
Src/FrmMain.Designer.cs
+23
-14
FrmMain.cs
Src/FrmMain.cs
+1
-0
FrmMain.resx
Src/FrmMain.resx
+2
-2
No files found.
Src/FrmMain.Designer.cs
View file @
e7c171ad
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
/// </summary>
/// </summary>
private
void
InitializeComponent
()
private
void
InitializeComponent
()
{
{
System
.
Windows
.
Forms
.
DataGridViewCellStyle
dataGridViewCellStyle2
=
new
System
.
Windows
.
Forms
.
DataGridViewCellStyle
();
System
.
Windows
.
Forms
.
DataGridViewCellStyle
dataGridViewCellStyle1
=
new
System
.
Windows
.
Forms
.
DataGridViewCellStyle
();
System
.
Windows
.
Forms
.
DataGridViewCellStyle
dataGridViewCellStyle1
=
new
System
.
Windows
.
Forms
.
DataGridViewCellStyle
();
System
.
ComponentModel
.
ComponentResourceManager
resources
=
new
System
.
ComponentModel
.
ComponentResourceManager
(
typeof
(
FrmMain
));
System
.
ComponentModel
.
ComponentResourceManager
resources
=
new
System
.
ComponentModel
.
ComponentResourceManager
(
typeof
(
FrmMain
));
this
.
plLeft
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
plLeft
=
new
System
.
Windows
.
Forms
.
Panel
();
...
@@ -72,8 +73,8 @@
...
@@ -72,8 +73,8 @@
this
.
SampleName
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
SampleName
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
SampleDealTime
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
SampleDealTime
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
SampleDeadTime
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
SampleDeadTime
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
SampleQuantityUnit
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
SamplePackageName
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
SamplePackageName
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
SampleQuantityUnit
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
plLeft
.
SuspendLayout
();
this
.
plLeft
.
SuspendLayout
();
this
.
gbInfo
.
SuspendLayout
();
this
.
gbInfo
.
SuspendLayout
();
this
.
gbLogin
.
SuspendLayout
();
this
.
gbLogin
.
SuspendLayout
();
...
@@ -495,8 +496,16 @@
...
@@ -495,8 +496,16 @@
this
.
SampleName
,
this
.
SampleName
,
this
.
SampleDealTime
,
this
.
SampleDealTime
,
this
.
SampleDeadTime
,
this
.
SampleDeadTime
,
this
.
SampleQuantityUnit
,
this
.
SamplePackageName
,
this
.
SamplePackageName
});
this
.
SampleQuantityUnit
});
dataGridViewCellStyle2
.
Alignment
=
System
.
Windows
.
Forms
.
DataGridViewContentAlignment
.
MiddleLeft
;
dataGridViewCellStyle2
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Window
;
dataGridViewCellStyle2
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
12F
);
dataGridViewCellStyle2
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlText
;
dataGridViewCellStyle2
.
SelectionBackColor
=
System
.
Drawing
.
SystemColors
.
Highlight
;
dataGridViewCellStyle2
.
SelectionForeColor
=
System
.
Drawing
.
SystemColors
.
HighlightText
;
dataGridViewCellStyle2
.
WrapMode
=
System
.
Windows
.
Forms
.
DataGridViewTriState
.
False
;
this
.
dgvSamples
.
DefaultCellStyle
=
dataGridViewCellStyle2
;
this
.
dgvSamples
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
dgvSamples
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
dgvSamples
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
17
);
this
.
dgvSamples
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
17
);
this
.
dgvSamples
.
Name
=
"dgvSamples"
;
this
.
dgvSamples
.
Name
=
"dgvSamples"
;
...
@@ -566,6 +575,15 @@
...
@@ -566,6 +575,15 @@
this
.
SampleDeadTime
.
Name
=
"SampleDeadTime"
;
this
.
SampleDeadTime
.
Name
=
"SampleDeadTime"
;
this
.
SampleDeadTime
.
ReadOnly
=
true
;
this
.
SampleDeadTime
.
ReadOnly
=
true
;
//
//
// SamplePackageName
//
this
.
SamplePackageName
.
DataPropertyName
=
"PackageName"
;
this
.
SamplePackageName
.
HeaderText
=
"箱号"
;
this
.
SamplePackageName
.
MinimumWidth
=
130
;
this
.
SamplePackageName
.
Name
=
"SamplePackageName"
;
this
.
SamplePackageName
.
ReadOnly
=
true
;
this
.
SamplePackageName
.
Width
=
130
;
//
// SampleQuantityUnit
// SampleQuantityUnit
//
//
this
.
SampleQuantityUnit
.
DataPropertyName
=
"QuantityUnit"
;
this
.
SampleQuantityUnit
.
DataPropertyName
=
"QuantityUnit"
;
...
@@ -574,15 +592,6 @@
...
@@ -574,15 +592,6 @@
this
.
SampleQuantityUnit
.
Name
=
"SampleQuantityUnit"
;
this
.
SampleQuantityUnit
.
Name
=
"SampleQuantityUnit"
;
this
.
SampleQuantityUnit
.
ReadOnly
=
true
;
this
.
SampleQuantityUnit
.
ReadOnly
=
true
;
//
//
// SamplePackageName
//
this
.
SamplePackageName
.
DataPropertyName
=
"PackageName"
;
this
.
SamplePackageName
.
HeaderText
=
"箱号"
;
this
.
SamplePackageName
.
MinimumWidth
=
120
;
this
.
SamplePackageName
.
Name
=
"SamplePackageName"
;
this
.
SamplePackageName
.
ReadOnly
=
true
;
this
.
SamplePackageName
.
Width
=
120
;
//
// FrmMain
// FrmMain
//
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12F
);
...
@@ -647,15 +656,15 @@
...
@@ -647,15 +656,15 @@
private
System
.
Windows
.
Forms
.
Label
lbTips
;
private
System
.
Windows
.
Forms
.
Label
lbTips
;
private
System
.
Windows
.
Forms
.
CheckBox
ckbAutoCreatePackage
;
private
System
.
Windows
.
Forms
.
CheckBox
ckbAutoCreatePackage
;
private
System
.
Windows
.
Forms
.
Label
lbLogStatus
;
private
System
.
Windows
.
Forms
.
Label
lbLogStatus
;
private
System
.
Windows
.
Forms
.
Button
btnInstallDriver
;
private
System
.
Windows
.
Forms
.
DataGridViewButtonColumn
SampleAction
;
private
System
.
Windows
.
Forms
.
DataGridViewButtonColumn
SampleAction
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SampleBizId
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SampleBizId
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SampleOwnerName
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SampleOwnerName
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SampleName
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SampleName
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SampleDealTime
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SampleDealTime
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SampleDeadTime
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SampleDeadTime
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SampleQuantityUnit
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SamplePackageName
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SamplePackageName
;
private
System
.
Windows
.
Forms
.
Button
btnInstallDriver
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
SampleQuantityUnit
;
}
}
}
}
Src/FrmMain.cs
View file @
e7c171ad
...
@@ -35,6 +35,7 @@ namespace Kivii.Client.SamplePackages
...
@@ -35,6 +35,7 @@ namespace Kivii.Client.SamplePackages
private
void
FrmMain_Load
(
object
sender
,
EventArgs
e
)
private
void
FrmMain_Load
(
object
sender
,
EventArgs
e
)
{
{
this
.
WindowState
=
FormWindowState
.
Maximized
;
initControls
();
initControls
();
loadDefault
(
tbxServiceUrl
,
tbxUserName
,
tbxPassword
);
loadDefault
(
tbxServiceUrl
,
tbxUserName
,
tbxPassword
);
//initReader();
//initReader();
...
...
Src/FrmMain.resx
View file @
e7c171ad
...
@@ -135,10 +135,10 @@
...
@@ -135,10 +135,10 @@
<metadata
name=
"SampleDeadTime.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<metadata
name=
"SampleDeadTime.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
<value>
True
</value>
</metadata>
</metadata>
<metadata
name=
"Sample
QuantityUnit
.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<metadata
name=
"Sample
PackageName
.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
<value>
True
</value>
</metadata>
</metadata>
<metadata
name=
"Sample
PackageName
.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<metadata
name=
"Sample
QuantityUnit
.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
<value>
True
</value>
</metadata>
</metadata>
<assembly
alias=
"System.Drawing"
name=
"System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
/>
<assembly
alias=
"System.Drawing"
name=
"System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
/>
...
...
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