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
e35fc4ba
Commit
e35fc4ba
authored
Nov 27, 2020
by
罗显健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
功能模块:添加功能模块与业务模块的联动
parent
18f89659
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1685 additions
and
92 deletions
+1685
-92
SqlHelper.cs
Tools/MyData/SqlHelper.cs
+1467
-0
Tools.csproj
Tools/Tools.csproj
+1
-0
wSysModule.Designer.cs
Tools/UI/wSysModule.Designer.cs
+25
-25
wSysModule.cs
Tools/UI/wSysModule.cs
+189
-19
wSysModule.resx
Tools/UI/wSysModule.resx
+3
-48
No files found.
Tools/MyData/SqlHelper.cs
0 → 100644
View file @
e35fc4ba
This diff is collapsed.
Click to expand it.
Tools/Tools.csproj
View file @
e35fc4ba
...
...
@@ -72,6 +72,7 @@
<DependentUpon>
wEditBasic.cs
</DependentUpon>
</Compile>
<Compile
Include=
"MyData\DBHelper.cs"
/>
<Compile
Include=
"MyData\SqlHelper.cs"
/>
<Compile
Include=
"UI\Models\AppModel.cs"
/>
<Compile
Include=
"MyCommon\Common.cs"
/>
<Compile
Include=
"MyCommon\wBasic.cs"
>
...
...
Tools/UI/wSysModule.Designer.cs
View file @
e35fc4ba
...
...
@@ -41,6 +41,7 @@
this
.
tsmiDelRow
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
dgvBusinessModel
=
new
System
.
Windows
.
Forms
.
DataGridView
();
this
.
panel3
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
label5
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label3
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
panel1
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
label1
=
new
System
.
Windows
.
Forms
.
Label
();
...
...
@@ -73,13 +74,12 @@
this
.
tstbLinkString
=
new
System
.
Windows
.
Forms
.
ToolStripTextBox
();
this
.
toolStripSeparator1
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
tsbHelp
=
new
System
.
Windows
.
Forms
.
ToolStripButton
();
this
.
选择
=
new
System
.
Windows
.
Forms
.
DataGridViewCheckBoxColumn
();
this
.
dataGridViewTextBoxColumn1
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
dataGridViewTextBoxColumn2
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
dataGridViewTextBoxColumn3
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
dataGridViewTextBoxColumn4
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
dataGridViewTextBoxColumn5
=
new
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
();
this
.
选择
=
new
System
.
Windows
.
Forms
.
DataGridViewCheckBoxColumn
();
this
.
ckbMode
=
new
System
.
Windows
.
Forms
.
CheckBox
();
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
splitContainer1
)).
BeginInit
();
this
.
splitContainer1
.
Panel1
.
SuspendLayout
();
this
.
splitContainer1
.
Panel2
.
SuspendLayout
();
...
...
@@ -218,12 +218,12 @@
this
.
dgvBusinessModel
.
BackgroundColor
=
System
.
Drawing
.
SystemColors
.
Window
;
this
.
dgvBusinessModel
.
ColumnHeadersHeightSizeMode
=
System
.
Windows
.
Forms
.
DataGridViewColumnHeadersHeightSizeMode
.
AutoSize
;
this
.
dgvBusinessModel
.
Columns
.
AddRange
(
new
System
.
Windows
.
Forms
.
DataGridViewColumn
[]
{
this
.
选择
,
this
.
dataGridViewTextBoxColumn1
,
this
.
dataGridViewTextBoxColumn2
,
this
.
dataGridViewTextBoxColumn3
,
this
.
dataGridViewTextBoxColumn4
,
this
.
dataGridViewTextBoxColumn5
,
this
.
选择
});
this
.
dataGridViewTextBoxColumn5
});
this
.
dgvBusinessModel
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
dgvBusinessModel
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
35
);
this
.
dgvBusinessModel
.
Name
=
"dgvBusinessModel"
;
...
...
@@ -234,7 +234,7 @@
// panel3
//
this
.
panel3
.
BorderStyle
=
System
.
Windows
.
Forms
.
BorderStyle
.
FixedSingle
;
this
.
panel3
.
Controls
.
Add
(
this
.
ckbMode
);
this
.
panel3
.
Controls
.
Add
(
this
.
label5
);
this
.
panel3
.
Controls
.
Add
(
this
.
label3
);
this
.
panel3
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Top
;
this
.
panel3
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
...
...
@@ -242,13 +242,23 @@
this
.
panel3
.
Size
=
new
System
.
Drawing
.
Size
(
364
,
35
);
this
.
panel3
.
TabIndex
=
4
;
//
// label5
//
this
.
label5
.
AutoSize
=
true
;
this
.
label5
.
ForeColor
=
System
.
Drawing
.
SystemColors
.
ControlDark
;
this
.
label5
.
Location
=
new
System
.
Drawing
.
Point
(
100
,
10
);
this
.
label5
.
Name
=
"label5"
;
this
.
label5
.
Size
=
new
System
.
Drawing
.
Size
(
161
,
12
);
this
.
label5
.
TabIndex
=
2
;
this
.
label5
.
Text
=
"(选中表示与功能模块绑定)"
;
//
// label3
//
this
.
label3
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Left
;
this
.
label3
.
Font
=
new
System
.
Drawing
.
Font
(
"宋体"
,
9F
,
System
.
Drawing
.
FontStyle
.
Bold
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
label3
.
Name
=
"label3"
;
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
12
1
,
33
);
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
12
8
,
33
);
this
.
label3
.
TabIndex
=
0
;
this
.
label3
.
Text
=
"(业务)模块列表"
;
this
.
label3
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -557,6 +567,13 @@
this
.
tsbHelp
.
Size
=
new
System
.
Drawing
.
Size
(
76
,
22
);
this
.
tsbHelp
.
Text
=
"使用说明"
;
//
// 选择
//
this
.
选择
.
DataPropertyName
=
"IsSelect"
;
this
.
选择
.
HeaderText
=
"选择"
;
this
.
选择
.
Name
=
"选择"
;
this
.
选择
.
Width
=
60
;
//
// dataGridViewTextBoxColumn1
//
this
.
dataGridViewTextBoxColumn1
.
DataPropertyName
=
"ModelID"
;
...
...
@@ -593,23 +610,6 @@
this
.
dataGridViewTextBoxColumn5
.
Name
=
"dataGridViewTextBoxColumn5"
;
this
.
dataGridViewTextBoxColumn5
.
ReadOnly
=
true
;
//
// 选择
//
this
.
选择
.
DataPropertyName
=
"IsSelect"
;
this
.
选择
.
HeaderText
=
"选择"
;
this
.
选择
.
Name
=
"选择"
;
this
.
选择
.
SortMode
=
System
.
Windows
.
Forms
.
DataGridViewColumnSortMode
.
Automatic
;
//
// ckbMode
//
this
.
ckbMode
.
AutoSize
=
true
;
this
.
ckbMode
.
Location
=
new
System
.
Drawing
.
Point
(
199
,
9
);
this
.
ckbMode
.
Name
=
"ckbMode"
;
this
.
ckbMode
.
Size
=
new
System
.
Drawing
.
Size
(
96
,
16
);
this
.
ckbMode
.
TabIndex
=
1
;
this
.
ckbMode
.
Text
=
"联动功能模块"
;
this
.
ckbMode
.
UseVisualStyleBackColor
=
true
;
//
// wSysModule
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12F
);
...
...
@@ -695,12 +695,12 @@
private
System
.
Windows
.
Forms
.
DataGridView
dgvBusinessModel
;
private
System
.
Windows
.
Forms
.
Panel
panel3
;
private
System
.
Windows
.
Forms
.
Label
label3
;
private
System
.
Windows
.
Forms
.
Label
label5
;
private
System
.
Windows
.
Forms
.
DataGridViewCheckBoxColumn
选择
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
dataGridViewTextBoxColumn1
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
dataGridViewTextBoxColumn2
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
dataGridViewTextBoxColumn3
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
dataGridViewTextBoxColumn4
;
private
System
.
Windows
.
Forms
.
DataGridViewTextBoxColumn
dataGridViewTextBoxColumn5
;
private
System
.
Windows
.
Forms
.
DataGridViewCheckBoxColumn
选择
;
private
System
.
Windows
.
Forms
.
CheckBox
ckbMode
;
}
}
\ No newline at end of file
Tools/UI/wSysModule.cs
View file @
e35fc4ba
This diff is collapsed.
Click to expand it.
Tools/UI/wSysModule.resx
View file @
e35fc4ba
...
...
@@ -132,6 +132,9 @@
<metadata
name=
"contextMenu1.TrayLocation"
type=
"System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
>
<value>
127, 17
</value>
</metadata>
<metadata
name=
"选择.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"dataGridViewTextBoxColumn1.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
...
...
@@ -147,9 +150,6 @@
<metadata
name=
"dataGridViewTextBoxColumn5.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"选择.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"Id.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
...
...
@@ -192,52 +192,7 @@
<metadata
name=
"说明.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"序号.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"列名.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"数据类型.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"主键.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"唯一标识.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"索引.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"允许空.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"默认值.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"说明.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"toolStrip1.TrayLocation"
type=
"System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
>
<value>
17, 17
</value>
</metadata>
<metadata
name=
"dataGridViewTextBoxColumn1.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"dataGridViewTextBoxColumn2.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"dataGridViewTextBoxColumn3.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"dataGridViewTextBoxColumn4.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"dataGridViewTextBoxColumn5.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
<metadata
name=
"选择.UserAddedColumn"
type=
"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<value>
True
</value>
</metadata>
</root>
\ No newline at end of file
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