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
a55d8e80
Commit
a55d8e80
authored
May 28, 2021
by
tr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、微调
parent
67ef7ac7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
links.xml
AppHome/config/links.xml
+6
-0
wSelectTemplates.Designer.cs
Tools/UI/Popups/wSelectTemplates.Designer.cs
+0
-1
wExcelExportSetting.cs
Tools/UI/wExcelExportSetting.cs
+3
-2
No files found.
AppHome/config/links.xml
View file @
a55d8e80
...
@@ -54,4 +54,10 @@
...
@@ -54,4 +54,10 @@
<UserId>
sa
</UserId>
<UserId>
sa
</UserId>
<Pwd>
sa
</Pwd>
<Pwd>
sa
</Pwd>
</links>
</links>
<links>
<Link>
192.168.1.202
</Link>
<DbName>
FTT_LN
</DbName>
<UserId>
sa
</UserId>
<Pwd>
sa
</Pwd>
</links>
</DocumentElement>
</DocumentElement>
\ No newline at end of file
Tools/UI/Popups/wSelectTemplates.Designer.cs
View file @
a55d8e80
...
@@ -76,7 +76,6 @@
...
@@ -76,7 +76,6 @@
this
.
checkedListBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
14.25F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
checkedListBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
14.25F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
checkedListBox1
.
FormattingEnabled
=
true
;
this
.
checkedListBox1
.
FormattingEnabled
=
true
;
this
.
checkedListBox1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
5
);
this
.
checkedListBox1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
5
);
this
.
checkedListBox1
.
MultiColumn
=
true
;
this
.
checkedListBox1
.
Name
=
"checkedListBox1"
;
this
.
checkedListBox1
.
Name
=
"checkedListBox1"
;
this
.
checkedListBox1
.
Size
=
new
System
.
Drawing
.
Size
(
380
,
200
);
this
.
checkedListBox1
.
Size
=
new
System
.
Drawing
.
Size
(
380
,
200
);
this
.
checkedListBox1
.
TabIndex
=
4
;
this
.
checkedListBox1
.
TabIndex
=
4
;
...
...
Tools/UI/wExcelExportSetting.cs
View file @
a55d8e80
...
@@ -114,13 +114,14 @@ namespace Tools.UI
...
@@ -114,13 +114,14 @@ namespace Tools.UI
{
{
if
(
e
.
RowIndex
<
0
||
e
.
ColumnIndex
<
0
)
if
(
e
.
RowIndex
<
0
||
e
.
ColumnIndex
<
0
)
return
;
return
;
if
(
this
.
dgvTables
.
Columns
[
e
.
ColumnIndex
].
DataPropertyName
.
Equals
(
"TpNames"
))
var
fieldName
=
this
.
dgvTables
.
Columns
[
e
.
ColumnIndex
].
DataPropertyName
;
var
drNow
=
this
.
_ds
.
Tables
[
"ModuleTemplateTable"
].
DefaultView
[
e
.
RowIndex
];
if
(
fieldName
.
Equals
(
"TpNames"
))
{
{
var
items
=
this
.
_ds
.
Tables
[
"ModuleTemplate"
].
DefaultView
.
Cast
<
DataRowView
>().
Select
(
r
=>
r
[
"TpName"
].
ToString
());
var
items
=
this
.
_ds
.
Tables
[
"ModuleTemplate"
].
DefaultView
.
Cast
<
DataRowView
>().
Select
(
r
=>
r
[
"TpName"
].
ToString
());
wSelectTemplates
frm
=
new
wSelectTemplates
(
items
);
wSelectTemplates
frm
=
new
wSelectTemplates
(
items
);
if
(
frm
.
ShowDialog
()
==
DialogResult
.
OK
)
if
(
frm
.
ShowDialog
()
==
DialogResult
.
OK
)
{
{
var
drNow
=
this
.
_ds
.
Tables
[
"ModuleTemplateTable"
].
DefaultView
[
e
.
RowIndex
];
var
result
=
""
;
var
result
=
""
;
if
(
frm
.
IsCover
)
if
(
frm
.
IsCover
)
{
{
...
...
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