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
a5c81d7c
Commit
a5c81d7c
authored
Jan 21, 2022
by
段廷瑞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、界面微调
parent
571ab331
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
wBasic.Designer.cs
Tools/MyCommon/wBasic.Designer.cs
+4
-2
wTaskBoard.cs
Tools/UI/wTaskBoard.cs
+2
-2
wMain.cs
Tools/wMain.cs
+0
-2
No files found.
Tools/MyCommon/wBasic.Designer.cs
View file @
a5c81d7c
...
...
@@ -33,10 +33,12 @@
//
// wBasic
//
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
.
ClientSize
=
new
System
.
Drawing
.
Size
(
278
,
174
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
324
,
213
);
this
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
Name
=
"wBasic"
;
this
.
StartPosition
=
System
.
Windows
.
Forms
.
FormStartPosition
.
CenterScreen
;
this
.
Text
=
"基础窗口"
;
...
...
Tools/UI/wTaskBoard.cs
View file @
a5c81d7c
...
...
@@ -38,7 +38,7 @@ namespace Tools.UI
private
void
wTaskBoard_Load
(
object
sender
,
EventArgs
e
)
{
//初始化数据访问对象
var
link
=
$@"Password=sa;Persist Security Info=True;User ID=sa;Initial Catalog=FTT_Work;Data Source=jhdsoft.gicp.net,3204"
;
var
link
=
Utils
.
GetDbLinkString204
(
"FTT_Work"
)
;
this
.
_db
=
new
DBHelper
(
link
);
//初始化界面
this
.
dataGridView1
.
AllowUserToAddRows
=
false
;
...
...
@@ -51,7 +51,7 @@ namespace Tools.UI
this
.
SetGridForeColor
();
//双击查看任务明细初始化
this
.
_html
=
File
.
ReadAllText
(
$@"
{
Utils
.
TestPath
}
\TaskDetail.html"
);
this
.
frmView
=
new
wBasic
()
{
BackColor
=
Color
.
White
,
Size
=
new
Size
(
600
,
4
00
)
};
this
.
frmView
=
new
wBasic
()
{
BackColor
=
Color
.
White
,
Size
=
new
Size
(
700
,
5
00
)
};
this
.
_browser
=
new
WebBrowser
()
{
Parent
=
this
.
frmView
,
Dock
=
DockStyle
.
Fill
};
this
.
frmView
.
FormClosing
+=
FrmView_FormClosing
;
//表格事件
...
...
Tools/wMain.cs
View file @
a5c81d7c
...
...
@@ -102,8 +102,6 @@ namespace Tools
UserLog
.
Write
(
"打开系统"
);
}
private
void
WMain_FormClosing
(
object
sender
,
FormClosingEventArgs
e
)
{
...
...
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