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
5683e6d8
Commit
5683e6d8
authored
May 13, 2021
by
tr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、清空表:每次查询清空视图
parent
0df886b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
wEmptyTable.cs
Tools/UI/wEmptyTable.cs
+5
-3
No files found.
Tools/UI/wEmptyTable.cs
View file @
5683e6d8
...
...
@@ -58,7 +58,9 @@ namespace Tools.UI
//界面只读
this
.
SetEnabled
(
false
);
//视图初始化
this
.
View
.
Controls
.
Clear
();
this
.
View
.
Height
=
20
;
//初始化数据集
this
.
_ds
=
new
DataSet
();
//初始化相似表
...
...
@@ -190,7 +192,7 @@ namespace Tools.UI
ReadOnly
=
true
,
BackgroundColor
=
Color
.
White
,
Margin
=
new
Padding
(
5
),
Height
=
(
dt
.
DefaultView
.
Count
+
1
)
*
2
7
,
Height
=
(
dt
.
DefaultView
.
Count
+
1
)
*
2
5
+
10
,
DataSource
=
dt
.
DefaultView
,
Dock
=
DockStyle
.
Top
,
Parent
=
this
.
View
,
...
...
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