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
7e478410
Commit
7e478410
authored
Jul 06, 2021
by
tr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、通用Excel配置工具优化
parent
0322031b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
84 additions
and
72 deletions
+84
-72
wExcelExportSetting.Designer.cs
Tools/UI/wExcelExportSetting.Designer.cs
+81
-72
wExcelExportSetting.resx
Tools/UI/wExcelExportSetting.resx
+3
-0
No files found.
Tools/UI/wExcelExportSetting.Designer.cs
View file @
7e478410
...
...
@@ -34,6 +34,14 @@
this
.
myTreeView1
=
new
Tools
.
MyCommon
.
controls
.
MyTreeView
();
this
.
label1
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
dgvTables
=
new
System
.
Windows
.
Forms
.
DataGridView
();
this
.
Column10
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column1
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column6
=
new
System
.
Windows
.
Forms
.
DataGridViewCheckBoxColumn
();
this
.
Column2
=
new
System
.
Windows
.
Forms
.
DataGridViewCheckBoxColumn
();
this
.
Column3
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column4
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column5
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column9
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
contextMenuStrip1
=
new
System
.
Windows
.
Forms
.
ContextMenuStrip
(
this
.
components
);
this
.
tsmiAddRow
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
tsmiDelRow
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
...
...
@@ -54,14 +62,7 @@
this
.
Column7
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column8
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column12
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column10
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column1
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column6
=
new
System
.
Windows
.
Forms
.
DataGridViewCheckBoxColumn
();
this
.
Column2
=
new
System
.
Windows
.
Forms
.
DataGridViewCheckBoxColumn
();
this
.
Column3
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column4
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column5
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column9
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
Column13
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
splitContainer1
)).
BeginInit
();
this
.
splitContainer1
.
Panel1
.
SuspendLayout
();
this
.
splitContainer1
.
Panel2
.
SuspendLayout
();
...
...
@@ -137,6 +138,67 @@
this
.
dgvTables
.
Size
=
new
System
.
Drawing
.
Size
(
561
,
269
);
this
.
dgvTables
.
TabIndex
=
0
;
//
// Column10
//
this
.
Column10
.
DataPropertyName
=
"TpNames"
;
this
.
Column10
.
HeaderText
=
"绑定模板"
;
this
.
Column10
.
Name
=
"Column10"
;
this
.
Column10
.
ReadOnly
=
true
;
this
.
Column10
.
Resizable
=
System
.
Windows
.
Forms
.
DataGridViewTriState
.
True
;
this
.
Column10
.
Width
=
150
;
//
// Column1
//
this
.
Column1
.
DataPropertyName
=
"TpTableName"
;
this
.
Column1
.
HeaderText
=
"表名称"
;
this
.
Column1
.
Name
=
"Column1"
;
this
.
Column1
.
Width
=
150
;
//
// Column6
//
this
.
Column6
.
DataPropertyName
=
"IsRtf"
;
this
.
Column6
.
HeaderText
=
"是否富文本"
;
this
.
Column6
.
Name
=
"Column6"
;
this
.
Column6
.
Resizable
=
System
.
Windows
.
Forms
.
DataGridViewTriState
.
True
;
this
.
Column6
.
SortMode
=
System
.
Windows
.
Forms
.
DataGridViewColumnSortMode
.
Automatic
;
//
// Column2
//
this
.
Column2
.
DataPropertyName
=
"IsConvert"
;
this
.
Column2
.
HeaderText
=
"是否行转列"
;
this
.
Column2
.
Name
=
"Column2"
;
this
.
Column2
.
Resizable
=
System
.
Windows
.
Forms
.
DataGridViewTriState
.
True
;
this
.
Column2
.
SortMode
=
System
.
Windows
.
Forms
.
DataGridViewColumnSortMode
.
Automatic
;
//
// Column3
//
this
.
Column3
.
DataPropertyName
=
"CrtNameCol"
;
this
.
Column3
.
HeaderText
=
"名称列"
;
this
.
Column3
.
Name
=
"Column3"
;
this
.
Column3
.
Resizable
=
System
.
Windows
.
Forms
.
DataGridViewTriState
.
True
;
//
// Column4
//
this
.
Column4
.
DataPropertyName
=
"CrtValueCol"
;
this
.
Column4
.
HeaderText
=
"值列"
;
this
.
Column4
.
Name
=
"Column4"
;
//
// Column5
//
this
.
Column5
.
DataPropertyName
=
"CrtSumCol"
;
this
.
Column5
.
HeaderText
=
"合计列"
;
this
.
Column5
.
Name
=
"Column5"
;
//
// Column9
//
this
.
Column9
.
DataPropertyName
=
"SelectSQL"
;
dataGridViewCellStyle1
.
Alignment
=
System
.
Windows
.
Forms
.
DataGridViewContentAlignment
.
TopLeft
;
dataGridViewCellStyle1
.
WrapMode
=
System
.
Windows
.
Forms
.
DataGridViewTriState
.
True
;
this
.
Column9
.
DefaultCellStyle
=
dataGridViewCellStyle1
;
this
.
Column9
.
HeaderText
=
"SQL脚本"
;
this
.
Column9
.
Name
=
"Column9"
;
this
.
Column9
.
Width
=
200
;
//
// contextMenuStrip1
//
this
.
contextMenuStrip1
.
Items
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
...
...
@@ -193,7 +255,8 @@
this
.
Column11
,
this
.
Column7
,
this
.
Column8
,
this
.
Column12
});
this
.
Column12
,
this
.
Column13
});
this
.
dgvTemplates
.
ContextMenuStrip
=
this
.
contextMenuStrip1
;
this
.
dgvTemplates
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
dgvTemplates
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
...
...
@@ -305,66 +368,11 @@
this
.
Column12
.
HeaderText
=
"分组列名"
;
this
.
Column12
.
Name
=
"Column12"
;
//
// Column10
//
this
.
Column10
.
DataPropertyName
=
"TpNames"
;
this
.
Column10
.
HeaderText
=
"绑定模板"
;
this
.
Column10
.
Name
=
"Column10"
;
this
.
Column10
.
ReadOnly
=
true
;
this
.
Column10
.
Resizable
=
System
.
Windows
.
Forms
.
DataGridViewTriState
.
True
;
this
.
Column10
.
Width
=
150
;
//
// Column1
//
this
.
Column1
.
DataPropertyName
=
"TpTableName"
;
this
.
Column1
.
HeaderText
=
"表名称"
;
this
.
Column1
.
Name
=
"Column1"
;
this
.
Column1
.
Width
=
150
;
//
// Column6
//
this
.
Column6
.
DataPropertyName
=
"IsRtf"
;
this
.
Column6
.
HeaderText
=
"是否富文本"
;
this
.
Column6
.
Name
=
"Column6"
;
this
.
Column6
.
Resizable
=
System
.
Windows
.
Forms
.
DataGridViewTriState
.
True
;
this
.
Column6
.
SortMode
=
System
.
Windows
.
Forms
.
DataGridViewColumnSortMode
.
Automatic
;
//
// Column2
//
this
.
Column2
.
DataPropertyName
=
"IsConvert"
;
this
.
Column2
.
HeaderText
=
"是否行转列"
;
this
.
Column2
.
Name
=
"Column2"
;
this
.
Column2
.
Resizable
=
System
.
Windows
.
Forms
.
DataGridViewTriState
.
True
;
this
.
Column2
.
SortMode
=
System
.
Windows
.
Forms
.
DataGridViewColumnSortMode
.
Automatic
;
//
// Column3
//
this
.
Column3
.
DataPropertyName
=
"CrtNameCol"
;
this
.
Column3
.
HeaderText
=
"名称列"
;
this
.
Column3
.
Name
=
"Column3"
;
this
.
Column3
.
Resizable
=
System
.
Windows
.
Forms
.
DataGridViewTriState
.
True
;
//
// Column4
//
this
.
Column4
.
DataPropertyName
=
"CrtValueCol"
;
this
.
Column4
.
HeaderText
=
"值列"
;
this
.
Column4
.
Name
=
"Column4"
;
//
// Column5
//
this
.
Column5
.
DataPropertyName
=
"CrtSumCol"
;
this
.
Column5
.
HeaderText
=
"合计列"
;
this
.
Column5
.
Name
=
"Column5"
;
//
// Column9
// Column13
//
this
.
Column9
.
DataPropertyName
=
"SelectSQL"
;
dataGridViewCellStyle1
.
Alignment
=
System
.
Windows
.
Forms
.
DataGridViewContentAlignment
.
TopLeft
;
dataGridViewCellStyle1
.
WrapMode
=
System
.
Windows
.
Forms
.
DataGridViewTriState
.
True
;
this
.
Column9
.
DefaultCellStyle
=
dataGridViewCellStyle1
;
this
.
Column9
.
HeaderText
=
"SQL脚本"
;
this
.
Column9
.
Name
=
"Column9"
;
this
.
Column9
.
Width
=
200
;
this
.
Column13
.
DataPropertyName
=
"ExportNameSOL"
;
this
.
Column13
.
HeaderText
=
"导出名称SQL"
;
this
.
Column13
.
Name
=
"Column13"
;
//
// wExcelExportSetting
//
...
...
@@ -417,10 +425,6 @@
private
System
.
Windows
.
Forms
.
ToolStripLabel
tslDbLink
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator2
;
private
System
.
Windows
.
Forms
.
ToolStripButton
tsbHelp
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column11
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column7
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column8
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column12
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column10
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column1
;
private
System
.
Windows
.
Forms
.
DataGridViewCheckBoxColumn
Column6
;
...
...
@@ -429,5 +433,10 @@
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column4
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column5
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column9
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column11
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column7
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column8
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column12
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
Column13
;
}
}
\ No newline at end of file
Tools/UI/wExcelExportSetting.resx
View file @
7e478410
...
...
@@ -159,6 +159,9 @@
<metadata
name=
"Column12.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"Column13.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"toolStrip2.TrayLocation"
type=
"System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
>
<value>
127, 17
</value>
</metadata>
...
...
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