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
b8d7cb35
Commit
b8d7cb35
authored
Oct 29, 2020
by
tr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、回显设置优化
parent
8f78f06d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
wDbSetting.cs
Tools/MyUtils/wDbSetting.cs
+1
-15
No files found.
Tools/MyUtils/wDbSetting.cs
View file @
b8d7cb35
...
@@ -137,21 +137,7 @@ namespace Tools.MyUtils
...
@@ -137,21 +137,7 @@ namespace Tools.MyUtils
/// <param name="m"></param>
/// <param name="m"></param>
public
void
SetEcho
(
DbItemModel
m
)
public
void
SetEcho
(
DbItemModel
m
)
{
{
//设置回显的控件
this
.
EchoControl
?.
GetType
().
GetProperty
(
"Text"
)?.
SetValue
(
this
.
EchoControl
,
m
.
ToString
());
if
(
this
.
EchoControl
is
Control
)
{
(
this
.
EchoControl
as
Control
).
Text
=
m
.
ToString
();
}
//设置回显的工具栏标签
if
(
this
.
EchoControl
is
ToolStripLabel
)
{
(
this
.
EchoControl
as
ToolStripLabel
).
Text
=
m
.
ToString
();
}
//设置回显的工具栏文本框
if
(
this
.
EchoControl
is
ToolStripTextBox
)
{
(
this
.
EchoControl
as
ToolStripTextBox
).
Text
=
m
.
ToString
();
}
}
}
}
}
...
...
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