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
74cb1182
Commit
74cb1182
authored
Jun 30, 2021
by
tr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、任务看板:渲染及刷新优化
parent
800c7b7d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
Tools.exe.config
AppHome/Tools.exe.config
+1
-1
wTaskBoard.Designer.cs
Tools/UI/wTaskBoard.Designer.cs
+3
-1
wTaskBoard.cs
Tools/UI/wTaskBoard.cs
+3
-2
No files found.
AppHome/Tools.exe.config
View file @
74cb1182
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
appSettings
>
<
add
key
=
"UpdateTime"
value
=
"2021-06-
25 18:26:16.35
0"
/>
<
add
key
=
"UpdateTime"
value
=
"2021-06-
30 09:49:36.60
0"
/>
</
appSettings
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.8"
/>
...
...
Tools/UI/wTaskBoard.Designer.cs
View file @
74cb1182
...
...
@@ -55,6 +55,7 @@
//
// panel1
//
this
.
panel1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
panel1
.
Controls
.
Add
(
this
.
btnRefresh
);
this
.
panel1
.
Controls
.
Add
(
this
.
label3
);
this
.
panel1
.
Controls
.
Add
(
this
.
cbTaskState
);
...
...
@@ -71,10 +72,11 @@
//
// btnRefresh
//
this
.
btnRefresh
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnRefresh
.
Location
=
new
System
.
Drawing
.
Point
(
665
,
13
);
this
.
btnRefresh
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
btnRefresh
.
Name
=
"btnRefresh"
;
this
.
btnRefresh
.
Size
=
new
System
.
Drawing
.
Size
(
117
,
26
);
this
.
btnRefresh
.
Size
=
new
System
.
Drawing
.
Size
(
93
,
26
);
this
.
btnRefresh
.
TabIndex
=
6
;
this
.
btnRefresh
.
Text
=
"刷新数据"
;
this
.
btnRefresh
.
UseVisualStyleBackColor
=
true
;
...
...
Tools/UI/wTaskBoard.cs
View file @
74cb1182
...
...
@@ -122,13 +122,14 @@ namespace Tools.UI
private
void
cb_SelectedIndexChanged
(
object
sender
,
EventArgs
e
)
{
this
.
_dt
.
DefaultView
.
RowFilter
=
$"[项目名称] like '%
{
this
.
ProjectName
}
%' and [负责人] like '%
{
this
.
InChargeUser
}
%' and 状态 like '%
{
this
.
TaskState
}
%'"
;
this
.
SetGridForeColor
();
}
//按钮事件:刷新数据
private
void
btnRefresh_Click
(
object
sender
,
EventArgs
e
)
{
this
.
Initialize
();
//
初始化前景色
this
.
SetGridForeColor
(
);
//
附加过滤条件
this
.
cb_SelectedIndexChanged
(
null
,
null
);
}
...
...
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