Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
Ftt_Common
Project
Project
Details
Activity
Releases
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
Administrator
Ftt_Common
Commits
421d7e82
Commit
421d7e82
authored
Jul 16, 2021
by
tr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、更新执行程序:界面微调及注释优化
parent
f77a22d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
18 deletions
+31
-18
frmMain.Designer.cs
UpdateExecuter/frmMain.Designer.cs
+31
-18
No files found.
UpdateExecuter/frmMain.Designer.cs
View file @
421d7e82
...
@@ -47,12 +47,13 @@
...
@@ -47,12 +47,13 @@
this
.
btnSelectFTP
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnSelectFTP
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
folderBrowserDialog2
=
new
System
.
Windows
.
Forms
.
FolderBrowserDialog
();
this
.
folderBrowserDialog2
=
new
System
.
Windows
.
Forms
.
FolderBrowserDialog
();
this
.
btnDelClient
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnDelClient
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
label3
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
SuspendLayout
();
this
.
SuspendLayout
();
//
//
// btnSelectPath
// btnSelectPath
//
//
this
.
btnSelectPath
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnSelectPath
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnSelectPath
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
1
5
);
this
.
btnSelectPath
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
3
5
);
this
.
btnSelectPath
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
btnSelectPath
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
btnSelectPath
.
Name
=
"btnSelectPath"
;
this
.
btnSelectPath
.
Name
=
"btnSelectPath"
;
this
.
btnSelectPath
.
Size
=
new
System
.
Drawing
.
Size
(
122
,
27
);
this
.
btnSelectPath
.
Size
=
new
System
.
Drawing
.
Size
(
122
,
27
);
...
@@ -65,10 +66,10 @@
...
@@ -65,10 +66,10 @@
//
//
this
.
txtDBPath
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
txtDBPath
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
txtDBPath
.
Location
=
new
System
.
Drawing
.
Point
(
81
,
1
7
);
this
.
txtDBPath
.
Location
=
new
System
.
Drawing
.
Point
(
119
,
3
7
);
this
.
txtDBPath
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
txtDBPath
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
txtDBPath
.
Name
=
"txtDBPath"
;
this
.
txtDBPath
.
Name
=
"txtDBPath"
;
this
.
txtDBPath
.
Size
=
new
System
.
Drawing
.
Size
(
5
75
,
23
);
this
.
txtDBPath
.
Size
=
new
System
.
Drawing
.
Size
(
5
37
,
23
);
this
.
txtDBPath
.
TabIndex
=
4
;
this
.
txtDBPath
.
TabIndex
=
4
;
this
.
txtDBPath
.
TextChanged
+=
new
System
.
EventHandler
(
this
.
txtFolderPath_TextChanged
);
this
.
txtDBPath
.
TextChanged
+=
new
System
.
EventHandler
(
this
.
txtFolderPath_TextChanged
);
//
//
...
@@ -76,11 +77,11 @@
...
@@ -76,11 +77,11 @@
//
//
this
.
label1
.
AutoSize
=
true
;
this
.
label1
.
AutoSize
=
true
;
this
.
label1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label1
.
Location
=
new
System
.
Drawing
.
Point
(
21
,
2
0
);
this
.
label1
.
Location
=
new
System
.
Drawing
.
Point
(
21
,
4
0
);
this
.
label1
.
Name
=
"label1"
;
this
.
label1
.
Name
=
"label1"
;
this
.
label1
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
label1
.
Size
=
new
System
.
Drawing
.
Size
(
79
,
17
);
this
.
label1
.
TabIndex
=
3
;
this
.
label1
.
TabIndex
=
3
;
this
.
label1
.
Text
=
"
脚本
目录"
;
this
.
label1
.
Text
=
"
SQL文件
目录"
;
//
//
// folderBrowserDialog1
// folderBrowserDialog1
//
//
...
@@ -94,13 +95,13 @@
...
@@ -94,13 +95,13 @@
this
.
lstClient
.
FullRowSelect
=
true
;
this
.
lstClient
.
FullRowSelect
=
true
;
this
.
lstClient
.
HideSelection
=
false
;
this
.
lstClient
.
HideSelection
=
false
;
this
.
lstClient
.
ImeMode
=
System
.
Windows
.
Forms
.
ImeMode
.
NoControl
;
this
.
lstClient
.
ImeMode
=
System
.
Windows
.
Forms
.
ImeMode
.
NoControl
;
this
.
lstClient
.
Location
=
new
System
.
Drawing
.
Point
(
22
,
99
);
this
.
lstClient
.
Location
=
new
System
.
Drawing
.
Point
(
22
,
111
);
this
.
lstClient
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
lstClient
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
lstClient
.
Name
=
"lstClient"
;
this
.
lstClient
.
Name
=
"lstClient"
;
this
.
lstClient
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
lstClient
.
RightToLeft
=
System
.
Windows
.
Forms
.
RightToLeft
.
No
;
this
.
lstClient
.
RightToLeftLayout
=
true
;
this
.
lstClient
.
RightToLeftLayout
=
true
;
this
.
lstClient
.
ShowGroups
=
false
;
this
.
lstClient
.
ShowGroups
=
false
;
this
.
lstClient
.
Size
=
new
System
.
Drawing
.
Size
(
634
,
1
44
);
this
.
lstClient
.
Size
=
new
System
.
Drawing
.
Size
(
634
,
1
32
);
this
.
lstClient
.
TabIndex
=
6
;
this
.
lstClient
.
TabIndex
=
6
;
this
.
lstClient
.
UseCompatibleStateImageBehavior
=
false
;
this
.
lstClient
.
UseCompatibleStateImageBehavior
=
false
;
this
.
lstClient
.
View
=
System
.
Windows
.
Forms
.
View
.
List
;
this
.
lstClient
.
View
=
System
.
Windows
.
Forms
.
View
.
List
;
...
@@ -108,7 +109,7 @@
...
@@ -108,7 +109,7 @@
// btnEditClient
// btnEditClient
//
//
this
.
btnEditClient
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnEditClient
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnEditClient
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
1
69
);
this
.
btnEditClient
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
1
81
);
this
.
btnEditClient
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
btnEditClient
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
btnEditClient
.
Name
=
"btnEditClient"
;
this
.
btnEditClient
.
Name
=
"btnEditClient"
;
this
.
btnEditClient
.
Size
=
new
System
.
Drawing
.
Size
(
122
,
27
);
this
.
btnEditClient
.
Size
=
new
System
.
Drawing
.
Size
(
122
,
27
);
...
@@ -121,7 +122,7 @@
...
@@ -121,7 +122,7 @@
//
//
this
.
btnExecute
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnExecute
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnExecute
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
btnExecute
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
btnExecute
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
99
);
this
.
btnExecute
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
111
);
this
.
btnExecute
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
btnExecute
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
btnExecute
.
Name
=
"btnExecute"
;
this
.
btnExecute
.
Name
=
"btnExecute"
;
this
.
btnExecute
.
Size
=
new
System
.
Drawing
.
Size
(
122
,
27
);
this
.
btnExecute
.
Size
=
new
System
.
Drawing
.
Size
(
122
,
27
);
...
@@ -133,7 +134,7 @@
...
@@ -133,7 +134,7 @@
// btnAddClient
// btnAddClient
//
//
this
.
btnAddClient
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnAddClient
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnAddClient
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
1
34
);
this
.
btnAddClient
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
1
46
);
this
.
btnAddClient
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
btnAddClient
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
btnAddClient
.
Name
=
"btnAddClient"
;
this
.
btnAddClient
.
Name
=
"btnAddClient"
;
this
.
btnAddClient
.
Size
=
new
System
.
Drawing
.
Size
(
122
,
27
);
this
.
btnAddClient
.
Size
=
new
System
.
Drawing
.
Size
(
122
,
27
);
...
@@ -193,27 +194,27 @@
...
@@ -193,27 +194,27 @@
//
//
this
.
label2
.
AutoSize
=
true
;
this
.
label2
.
AutoSize
=
true
;
this
.
label2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
19
,
5
3
);
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
19
,
7
3
);
this
.
label2
.
Name
=
"label2"
;
this
.
label2
.
Name
=
"label2"
;
this
.
label2
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
label2
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
label2
.
TabIndex
=
19
;
this
.
label2
.
TabIndex
=
19
;
this
.
label2
.
Text
=
"文件目录"
;
this
.
label2
.
Text
=
"
更新包
文件目录"
;
//
//
// txtFilePath
// txtFilePath
//
//
this
.
txtFilePath
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
txtFilePath
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
txtFilePath
.
Location
=
new
System
.
Drawing
.
Point
(
81
,
5
0
);
this
.
txtFilePath
.
Location
=
new
System
.
Drawing
.
Point
(
119
,
7
0
);
this
.
txtFilePath
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
txtFilePath
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
txtFilePath
.
Name
=
"txtFilePath"
;
this
.
txtFilePath
.
Name
=
"txtFilePath"
;
this
.
txtFilePath
.
Size
=
new
System
.
Drawing
.
Size
(
5
75
,
23
);
this
.
txtFilePath
.
Size
=
new
System
.
Drawing
.
Size
(
5
37
,
23
);
this
.
txtFilePath
.
TabIndex
=
20
;
this
.
txtFilePath
.
TabIndex
=
20
;
this
.
txtFilePath
.
TextChanged
+=
new
System
.
EventHandler
(
this
.
txtFolderPath_TextChanged
);
this
.
txtFilePath
.
TextChanged
+=
new
System
.
EventHandler
(
this
.
txtFolderPath_TextChanged
);
//
//
// btnSelectFTP
// btnSelectFTP
//
//
this
.
btnSelectFTP
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnSelectFTP
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnSelectFTP
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
4
8
);
this
.
btnSelectFTP
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
6
8
);
this
.
btnSelectFTP
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
btnSelectFTP
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
btnSelectFTP
.
Name
=
"btnSelectFTP"
;
this
.
btnSelectFTP
.
Name
=
"btnSelectFTP"
;
this
.
btnSelectFTP
.
Size
=
new
System
.
Drawing
.
Size
(
122
,
27
);
this
.
btnSelectFTP
.
Size
=
new
System
.
Drawing
.
Size
(
122
,
27
);
...
@@ -229,7 +230,7 @@
...
@@ -229,7 +230,7 @@
// btnDelClient
// btnDelClient
//
//
this
.
btnDelClient
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnDelClient
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
btnDelClient
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
2
04
);
this
.
btnDelClient
.
Location
=
new
System
.
Drawing
.
Point
(
662
,
2
16
);
this
.
btnDelClient
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
btnDelClient
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
btnDelClient
.
Name
=
"btnDelClient"
;
this
.
btnDelClient
.
Name
=
"btnDelClient"
;
this
.
btnDelClient
.
Size
=
new
System
.
Drawing
.
Size
(
122
,
27
);
this
.
btnDelClient
.
Size
=
new
System
.
Drawing
.
Size
(
122
,
27
);
...
@@ -238,11 +239,22 @@
...
@@ -238,11 +239,22 @@
this
.
btnDelClient
.
UseVisualStyleBackColor
=
true
;
this
.
btnDelClient
.
UseVisualStyleBackColor
=
true
;
this
.
btnDelClient
.
Click
+=
new
System
.
EventHandler
(
this
.
btnDelClient_Click
);
this
.
btnDelClient
.
Click
+=
new
System
.
EventHandler
(
this
.
btnDelClient_Click
);
//
//
// label3
//
this
.
label3
.
AutoSize
=
true
;
this
.
label3
.
ForeColor
=
System
.
Drawing
.
Color
.
DarkGoldenrod
;
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
22
,
9
);
this
.
label3
.
Name
=
"label3"
;
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
524
,
17
);
this
.
label3
.
TabIndex
=
23
;
this
.
label3
.
Text
=
"*注:SQL文件,根据添加客户时维护的数据库链接执行;更新包,通过添加客户时维护的FTP上传"
;
//
// frmMain
// frmMain
//
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
803
,
550
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
803
,
550
);
this
.
Controls
.
Add
(
this
.
label3
);
this
.
Controls
.
Add
(
this
.
btnDelClient
);
this
.
Controls
.
Add
(
this
.
btnDelClient
);
this
.
Controls
.
Add
(
this
.
btnSelectFTP
);
this
.
Controls
.
Add
(
this
.
btnSelectFTP
);
this
.
Controls
.
Add
(
this
.
txtFilePath
);
this
.
Controls
.
Add
(
this
.
txtFilePath
);
...
@@ -289,6 +301,7 @@
...
@@ -289,6 +301,7 @@
private
System
.
Windows
.
Forms
.
Button
btnSelectFTP
;
private
System
.
Windows
.
Forms
.
Button
btnSelectFTP
;
private
System
.
Windows
.
Forms
.
FolderBrowserDialog
folderBrowserDialog2
;
private
System
.
Windows
.
Forms
.
FolderBrowserDialog
folderBrowserDialog2
;
private
System
.
Windows
.
Forms
.
Button
btnDelClient
;
private
System
.
Windows
.
Forms
.
Button
btnDelClient
;
private
System
.
Windows
.
Forms
.
Label
label3
;
}
}
}
}
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