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
b70b1366
Commit
b70b1366
authored
Dec 01, 2021
by
段廷瑞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、文本进度微调:大小及字体
parent
583a66b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
wProgressText.Designer.cs
Tools/MyCommon/wProgressText.Designer.cs
+8
-5
wProgressText.cs
Tools/MyCommon/wProgressText.cs
+2
-2
No files found.
Tools/MyCommon/wProgressText.Designer.cs
View file @
b70b1366
...
...
@@ -37,21 +37,24 @@
this
.
label1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
label1
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
label1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
label1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
0
,
4
,
0
);
this
.
label1
.
Name
=
"label1"
;
this
.
label1
.
Size
=
new
System
.
Drawing
.
Size
(
179
,
22
);
this
.
label1
.
Size
=
new
System
.
Drawing
.
Size
(
200
,
22
);
this
.
label1
.
TabIndex
=
1
;
this
.
label1
.
Text
=
"label1"
;
this
.
label1
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
//
// wProgress
Bar
// wProgress
Text
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12
F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17
F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Window
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
179
,
22
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
200
,
22
);
this
.
Controls
.
Add
(
this
.
label1
);
this
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
FormBorderStyle
=
System
.
Windows
.
Forms
.
FormBorderStyle
.
None
;
this
.
Name
=
"wProgressBar"
;
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
Name
=
"wProgressText"
;
this
.
Text
=
"wProgressBar"
;
this
.
ResumeLayout
(
false
);
...
...
Tools/MyCommon/wProgressText.cs
View file @
b70b1366
...
...
@@ -23,8 +23,8 @@ namespace Tools.MyCommon
//隐藏窗体边框
this
.
ShowInTaskbar
=
false
;
//不显示在任务栏
this
.
FormBorderStyle
=
FormBorderStyle
.
None
;
this
.
MaximumSize
=
new
Size
(
18
0
,
22
);
this
.
MinimumSize
=
new
Size
(
18
0
,
22
);
this
.
MaximumSize
=
new
Size
(
20
0
,
22
);
this
.
MinimumSize
=
new
Size
(
20
0
,
22
);
this
.
FormClosing
+=
WProgressText_FormClosing
;
}
...
...
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