Commit fc0912af authored by tr's avatar tr

1、功能模块维护界面优化

parent 7e478410
...@@ -47,7 +47,8 @@ ...@@ -47,7 +47,8 @@
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel3 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label(); this.rdbShowSelected = new System.Windows.Forms.RadioButton();
this.rdbShowAll = new System.Windows.Forms.RadioButton();
this.label3 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
...@@ -80,8 +81,6 @@ ...@@ -80,8 +81,6 @@
this.tstbLinkString = new System.Windows.Forms.ToolStripTextBox(); this.tstbLinkString = new System.Windows.Forms.ToolStripTextBox();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbHelp = new System.Windows.Forms.ToolStripButton(); this.tsbHelp = new System.Windows.Forms.ToolStripButton();
this.rdbShowAll = new System.Windows.Forms.RadioButton();
this.rdbShowSelected = new System.Windows.Forms.RadioButton();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout();
...@@ -108,9 +107,10 @@ ...@@ -108,9 +107,10 @@
// //
// splitContainer1 // splitContainer1
// //
this.splitContainer1.BackColor = System.Drawing.Color.ForestGreen; this.splitContainer1.BackColor = System.Drawing.Color.MediumSeaGreen;
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Location = new System.Drawing.Point(0, 25); this.splitContainer1.Location = new System.Drawing.Point(0, 25);
this.splitContainer1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Name = "splitContainer1";
// //
// splitContainer1.Panel1 // splitContainer1.Panel1
...@@ -123,15 +123,17 @@ ...@@ -123,15 +123,17 @@
// //
this.splitContainer1.Panel2.BackColor = System.Drawing.SystemColors.Control; this.splitContainer1.Panel2.BackColor = System.Drawing.SystemColors.Control;
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
this.splitContainer1.Size = new System.Drawing.Size(1169, 551); this.splitContainer1.Size = new System.Drawing.Size(815, 432);
this.splitContainer1.SplitterDistance = 421; this.splitContainer1.SplitterDistance = 310;
this.splitContainer1.SplitterWidth = 6; this.splitContainer1.SplitterWidth = 3;
this.splitContainer1.TabIndex = 0; this.splitContainer1.TabIndex = 0;
// //
// splitContainer3 // splitContainer3
// //
this.splitContainer3.BackColor = System.Drawing.Color.SkyBlue;
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer3.Location = new System.Drawing.Point(0, 35); this.splitContainer3.Location = new System.Drawing.Point(0, 35);
this.splitContainer3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.splitContainer3.Name = "splitContainer3"; this.splitContainer3.Name = "splitContainer3";
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal; this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
// //
...@@ -144,8 +146,9 @@ ...@@ -144,8 +146,9 @@
this.splitContainer3.Panel2.BackColor = System.Drawing.SystemColors.Control; this.splitContainer3.Panel2.BackColor = System.Drawing.SystemColors.Control;
this.splitContainer3.Panel2.Controls.Add(this.dgvBusinessModel); this.splitContainer3.Panel2.Controls.Add(this.dgvBusinessModel);
this.splitContainer3.Panel2.Controls.Add(this.panel3); this.splitContainer3.Panel2.Controls.Add(this.panel3);
this.splitContainer3.Size = new System.Drawing.Size(421, 516); this.splitContainer3.Size = new System.Drawing.Size(310, 397);
this.splitContainer3.SplitterDistance = 220; this.splitContainer3.SplitterDistance = 175;
this.splitContainer3.SplitterWidth = 3;
this.splitContainer3.TabIndex = 2; this.splitContainer3.TabIndex = 2;
// //
// dgvModule // dgvModule
...@@ -160,9 +163,10 @@ ...@@ -160,9 +163,10 @@
this.dgvModule.ContextMenuStrip = this.contextMenu1; this.dgvModule.ContextMenuStrip = this.contextMenu1;
this.dgvModule.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvModule.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvModule.Location = new System.Drawing.Point(0, 0); this.dgvModule.Location = new System.Drawing.Point(0, 0);
this.dgvModule.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.dgvModule.Name = "dgvModule"; this.dgvModule.Name = "dgvModule";
this.dgvModule.RowTemplate.Height = 23; this.dgvModule.RowTemplate.Height = 23;
this.dgvModule.Size = new System.Drawing.Size(421, 220); this.dgvModule.Size = new System.Drawing.Size(310, 175);
this.dgvModule.TabIndex = 1; this.dgvModule.TabIndex = 1;
// //
// Column3 // Column3
...@@ -228,9 +232,10 @@ ...@@ -228,9 +232,10 @@
this.dataGridViewTextBoxColumn5}); this.dataGridViewTextBoxColumn5});
this.dgvBusinessModel.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvBusinessModel.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvBusinessModel.Location = new System.Drawing.Point(0, 35); this.dgvBusinessModel.Location = new System.Drawing.Point(0, 35);
this.dgvBusinessModel.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.dgvBusinessModel.Name = "dgvBusinessModel"; this.dgvBusinessModel.Name = "dgvBusinessModel";
this.dgvBusinessModel.RowTemplate.Height = 23; this.dgvBusinessModel.RowTemplate.Height = 23;
this.dgvBusinessModel.Size = new System.Drawing.Size(421, 257); this.dgvBusinessModel.Size = new System.Drawing.Size(310, 184);
this.dgvBusinessModel.TabIndex = 3; this.dgvBusinessModel.TabIndex = 3;
// //
// 选择 // 选择
...@@ -281,31 +286,46 @@ ...@@ -281,31 +286,46 @@
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel3.Controls.Add(this.rdbShowSelected); this.panel3.Controls.Add(this.rdbShowSelected);
this.panel3.Controls.Add(this.rdbShowAll); this.panel3.Controls.Add(this.rdbShowAll);
this.panel3.Controls.Add(this.label5);
this.panel3.Controls.Add(this.label3); this.panel3.Controls.Add(this.label3);
this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Location = new System.Drawing.Point(0, 0);
this.panel3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel3.Name = "panel3"; this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(421, 35); this.panel3.Size = new System.Drawing.Size(310, 35);
this.panel3.TabIndex = 4; this.panel3.TabIndex = 4;
// //
// label5 // rdbShowSelected
//
this.rdbShowSelected.AutoSize = true;
this.rdbShowSelected.Location = new System.Drawing.Point(201, 6);
this.rdbShowSelected.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.rdbShowSelected.Name = "rdbShowSelected";
this.rdbShowSelected.Size = new System.Drawing.Size(74, 21);
this.rdbShowSelected.TabIndex = 4;
this.rdbShowSelected.TabStop = true;
this.rdbShowSelected.Text = "显示选择";
this.rdbShowSelected.UseVisualStyleBackColor = true;
this.rdbShowSelected.CheckedChanged += new System.EventHandler(this.rdbShowSelected_CheckedChanged);
//
// rdbShowAll
// //
this.label5.AutoSize = true; this.rdbShowAll.AutoSize = true;
this.label5.ForeColor = System.Drawing.SystemColors.ControlDark; this.rdbShowAll.Location = new System.Drawing.Point(115, 6);
this.label5.Location = new System.Drawing.Point(100, 10); this.rdbShowAll.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.label5.Name = "label5"; this.rdbShowAll.Name = "rdbShowAll";
this.label5.Size = new System.Drawing.Size(161, 12); this.rdbShowAll.Size = new System.Drawing.Size(74, 21);
this.label5.TabIndex = 2; this.rdbShowAll.TabIndex = 3;
this.label5.Text = "(选中表示与功能模块绑定)"; this.rdbShowAll.TabStop = true;
this.rdbShowAll.Text = "显示全部";
this.rdbShowAll.UseVisualStyleBackColor = true;
// //
// label3 // label3
// //
this.label3.Dock = System.Windows.Forms.DockStyle.Left; 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.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.Location = new System.Drawing.Point(0, 0);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(128, 33); this.label3.Size = new System.Drawing.Size(116, 33);
this.label3.TabIndex = 0; this.label3.TabIndex = 0;
this.label3.Text = "(业务)模块列表"; this.label3.Text = "(业务)模块列表";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
...@@ -316,26 +336,28 @@ ...@@ -316,26 +336,28 @@
this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(421, 35); this.panel1.Size = new System.Drawing.Size(310, 35);
this.panel1.TabIndex = 0; this.panel1.TabIndex = 0;
// //
// label1 // label1
// //
this.label1.Dock = System.Windows.Forms.DockStyle.Left; this.label1.Dock = System.Windows.Forms.DockStyle.Left;
this.label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(121, 33); this.label1.Size = new System.Drawing.Size(116, 33);
this.label1.TabIndex = 0; this.label1.TabIndex = 0;
this.label1.Text = "(功能)模块列表"; this.label1.Text = "(功能)模块列表";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// splitContainer2 // splitContainer2
// //
this.splitContainer2.BackColor = System.Drawing.Color.ForestGreen; this.splitContainer2.BackColor = System.Drawing.Color.SkyBlue;
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.splitContainer2.Name = "splitContainer2"; this.splitContainer2.Name = "splitContainer2";
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
// //
...@@ -350,9 +372,9 @@ ...@@ -350,9 +372,9 @@
this.splitContainer2.Panel2.BackColor = System.Drawing.SystemColors.Control; this.splitContainer2.Panel2.BackColor = System.Drawing.SystemColors.Control;
this.splitContainer2.Panel2.Controls.Add(this.dgvTableColumn); this.splitContainer2.Panel2.Controls.Add(this.dgvTableColumn);
this.splitContainer2.Panel2.Controls.Add(this.panel4); this.splitContainer2.Panel2.Controls.Add(this.panel4);
this.splitContainer2.Size = new System.Drawing.Size(742, 551); this.splitContainer2.Size = new System.Drawing.Size(502, 432);
this.splitContainer2.SplitterDistance = 191; this.splitContainer2.SplitterDistance = 149;
this.splitContainer2.SplitterWidth = 6; this.splitContainer2.SplitterWidth = 3;
this.splitContainer2.TabIndex = 2; this.splitContainer2.TabIndex = 2;
// //
// dgvModuleTable // dgvModuleTable
...@@ -368,9 +390,10 @@ ...@@ -368,9 +390,10 @@
this.dgvModuleTable.ContextMenuStrip = this.contextMenu1; this.dgvModuleTable.ContextMenuStrip = this.contextMenu1;
this.dgvModuleTable.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvModuleTable.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvModuleTable.Location = new System.Drawing.Point(0, 35); this.dgvModuleTable.Location = new System.Drawing.Point(0, 35);
this.dgvModuleTable.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.dgvModuleTable.Name = "dgvModuleTable"; this.dgvModuleTable.Name = "dgvModuleTable";
this.dgvModuleTable.RowTemplate.Height = 23; this.dgvModuleTable.RowTemplate.Height = 23;
this.dgvModuleTable.Size = new System.Drawing.Size(742, 156); this.dgvModuleTable.Size = new System.Drawing.Size(502, 114);
this.dgvModuleTable.TabIndex = 1; this.dgvModuleTable.TabIndex = 1;
// //
// Id // Id
...@@ -417,19 +440,20 @@ ...@@ -417,19 +440,20 @@
this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.label2);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel2.Name = "panel2"; this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(742, 35); this.panel2.Size = new System.Drawing.Size(502, 35);
this.panel2.TabIndex = 2; this.panel2.TabIndex = 2;
// //
// label2 // label2
// //
this.label2.Dock = System.Windows.Forms.DockStyle.Left; this.label2.Dock = System.Windows.Forms.DockStyle.Left;
this.label2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.Location = new System.Drawing.Point(0, 0); this.label2.Location = new System.Drawing.Point(0, 0);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(121, 33); this.label2.Size = new System.Drawing.Size(85, 33);
this.label2.TabIndex = 0; this.label2.TabIndex = 0;
this.label2.Text = "表信息"; this.label2.Text = " 表信息";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// dgvTableColumn // dgvTableColumn
...@@ -450,10 +474,11 @@ ...@@ -450,10 +474,11 @@
this.说明}); this.说明});
this.dgvTableColumn.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvTableColumn.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvTableColumn.Location = new System.Drawing.Point(0, 35); this.dgvTableColumn.Location = new System.Drawing.Point(0, 35);
this.dgvTableColumn.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.dgvTableColumn.Name = "dgvTableColumn"; this.dgvTableColumn.Name = "dgvTableColumn";
this.dgvTableColumn.ReadOnly = true; this.dgvTableColumn.ReadOnly = true;
this.dgvTableColumn.RowTemplate.Height = 23; this.dgvTableColumn.RowTemplate.Height = 23;
this.dgvTableColumn.Size = new System.Drawing.Size(742, 319); this.dgvTableColumn.Size = new System.Drawing.Size(502, 245);
this.dgvTableColumn.TabIndex = 1; this.dgvTableColumn.TabIndex = 1;
// //
// 序号 // 序号
...@@ -533,19 +558,20 @@ ...@@ -533,19 +558,20 @@
this.panel4.Controls.Add(this.label4); this.panel4.Controls.Add(this.label4);
this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Location = new System.Drawing.Point(0, 0);
this.panel4.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel4.Name = "panel4"; this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(742, 35); this.panel4.Size = new System.Drawing.Size(502, 35);
this.panel4.TabIndex = 2; this.panel4.TabIndex = 2;
// //
// label4 // label4
// //
this.label4.Dock = System.Windows.Forms.DockStyle.Left; this.label4.Dock = System.Windows.Forms.DockStyle.Left;
this.label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label4.Location = new System.Drawing.Point(0, 0); this.label4.Location = new System.Drawing.Point(0, 0);
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(121, 33); this.label4.Size = new System.Drawing.Size(85, 33);
this.label4.TabIndex = 0; this.label4.TabIndex = 0;
this.label4.Text = "列信息"; this.label4.Text = " 列信息";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// toolStrip1 // toolStrip1
...@@ -560,7 +586,7 @@ ...@@ -560,7 +586,7 @@
this.tsbHelp}); this.tsbHelp});
this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1169, 25); this.toolStrip1.Size = new System.Drawing.Size(815, 25);
this.toolStrip1.TabIndex = 1; this.toolStrip1.TabIndex = 1;
this.toolStrip1.Text = "toolStrip1"; this.toolStrip1.Text = "toolStrip1";
// //
...@@ -599,7 +625,7 @@ ...@@ -599,7 +625,7 @@
this.tstbLinkString.ForeColor = System.Drawing.Color.Green; this.tstbLinkString.ForeColor = System.Drawing.Color.Green;
this.tstbLinkString.Name = "tstbLinkString"; this.tstbLinkString.Name = "tstbLinkString";
this.tstbLinkString.ReadOnly = true; this.tstbLinkString.ReadOnly = true;
this.tstbLinkString.Size = new System.Drawing.Size(150, 25); this.tstbLinkString.Size = new System.Drawing.Size(174, 25);
// //
// toolStripSeparator1 // toolStripSeparator1
// //
...@@ -614,36 +640,15 @@ ...@@ -614,36 +640,15 @@
this.tsbHelp.Size = new System.Drawing.Size(76, 22); this.tsbHelp.Size = new System.Drawing.Size(76, 22);
this.tsbHelp.Text = "使用说明"; this.tsbHelp.Text = "使用说明";
// //
// rdbShowAll
//
this.rdbShowAll.AutoSize = true;
this.rdbShowAll.Location = new System.Drawing.Point(260, 8);
this.rdbShowAll.Name = "rdbShowAll";
this.rdbShowAll.Size = new System.Drawing.Size(71, 16);
this.rdbShowAll.TabIndex = 3;
this.rdbShowAll.TabStop = true;
this.rdbShowAll.Text = "显示全部";
this.rdbShowAll.UseVisualStyleBackColor = true;
//
// rdbShowSelected
//
this.rdbShowSelected.AutoSize = true;
this.rdbShowSelected.Location = new System.Drawing.Point(334, 8);
this.rdbShowSelected.Name = "rdbShowSelected";
this.rdbShowSelected.Size = new System.Drawing.Size(71, 16);
this.rdbShowSelected.TabIndex = 4;
this.rdbShowSelected.TabStop = true;
this.rdbShowSelected.Text = "显示选择";
this.rdbShowSelected.UseVisualStyleBackColor = true;
this.rdbShowSelected.CheckedChanged += new System.EventHandler(this.rdbShowSelected_CheckedChanged);
//
// wSysModule // wSysModule
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1169, 576); this.ClientSize = new System.Drawing.Size(815, 457);
this.Controls.Add(this.splitContainer1); this.Controls.Add(this.splitContainer1);
this.Controls.Add(this.toolStrip1); this.Controls.Add(this.toolStrip1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "wSysModule"; this.Name = "wSysModule";
this.Text = "模块管理"; this.Text = "模块管理";
this.Load += new System.EventHandler(this.wSysChecker_Load); this.Load += new System.EventHandler(this.wSysChecker_Load);
...@@ -722,7 +727,6 @@ ...@@ -722,7 +727,6 @@
private System.Windows.Forms.DataGridView dgvBusinessModel; private System.Windows.Forms.DataGridView dgvBusinessModel;
private System.Windows.Forms.Panel panel3; private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.DataGridViewCheckBoxColumn 选择; private System.Windows.Forms.DataGridViewCheckBoxColumn 选择;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
......
...@@ -31,13 +31,11 @@ namespace Tools.UI ...@@ -31,13 +31,11 @@ namespace Tools.UI
/// 模块 /// 模块
/// </summary> /// </summary>
private string T_Module => "Sys_Module"; private string T_Module => "Sys_Module";
/// <summary> /// <summary>
/// 模块-表 /// 模块-表
/// </summary> /// </summary>
private string T_ModuleTable => "Sys_ModuleTable"; private string T_ModuleTable => "Sys_ModuleTable";
/// <summary> /// <summary>
/// 上下文菜单-源控件名称 /// 上下文菜单-源控件名称
/// </summary> /// </summary>
...@@ -91,9 +89,6 @@ namespace Tools.UI ...@@ -91,9 +89,6 @@ namespace Tools.UI
this.dgvModuleTable.DataSource = this._dtModuleTable = this._ds.Tables[this.T_ModuleTable]; this.dgvModuleTable.DataSource = this._dtModuleTable = this._ds.Tables[this.T_ModuleTable];
this.dgvModule.DataSource = this._ds.Tables[this.T_Module]; this.dgvModule.DataSource = this._ds.Tables[this.T_Module];
} }
public override void InitUI() public override void InitUI()
{ {
//初始化数据表格 //初始化数据表格
...@@ -123,9 +118,6 @@ namespace Tools.UI ...@@ -123,9 +118,6 @@ namespace Tools.UI
this.tsmiAddRow.Click += TsmiAddRow_Click; this.tsmiAddRow.Click += TsmiAddRow_Click;
this.tsmiDelRow.Click += TsmiDelRow_Click; this.tsmiDelRow.Click += TsmiDelRow_Click;
} }
public override bool Save() public override bool Save()
{ {
//结束编辑 //结束编辑
...@@ -141,7 +133,6 @@ namespace Tools.UI ...@@ -141,7 +133,6 @@ namespace Tools.UI
return b; return b;
} }
/// <summary> /// <summary>
/// 保存功能模块对业务的映射(使用)关系 /// 保存功能模块对业务的映射(使用)关系
/// </summary> /// </summary>
...@@ -165,7 +156,6 @@ namespace Tools.UI ...@@ -165,7 +156,6 @@ namespace Tools.UI
return true; return true;
} }
/// <summary> /// <summary>
/// 设置配置信息 /// 设置配置信息
/// </summary> /// </summary>
...@@ -228,7 +218,6 @@ namespace Tools.UI ...@@ -228,7 +218,6 @@ namespace Tools.UI
} }
#endregion #endregion
#region 数据表格-事件 #region 数据表格-事件
/// <summary> /// <summary>
...@@ -377,8 +366,6 @@ namespace Tools.UI ...@@ -377,8 +366,6 @@ namespace Tools.UI
#endregion #endregion
#region 上下文菜单-事件 #region 上下文菜单-事件
private void TsmiAddRow_Click(object sender, EventArgs e) private void TsmiAddRow_Click(object sender, EventArgs e)
...@@ -441,9 +428,6 @@ namespace Tools.UI ...@@ -441,9 +428,6 @@ namespace Tools.UI
} }
#endregion #endregion
/// <summary> /// <summary>
/// 初始化数据表格 /// 初始化数据表格
/// </summary> /// </summary>
...@@ -454,7 +438,7 @@ namespace Tools.UI ...@@ -454,7 +438,7 @@ namespace Tools.UI
dgv.AutoGenerateColumns = false; dgv.AutoGenerateColumns = false;
dgv.RowHeadersVisible = false; dgv.RowHeadersVisible = false;
dgv.SelectionMode = DataGridViewSelectionMode.FullRowSelect; dgv.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
dgv.AllowUserToResizeRows = false; // 禁止该变行高 dgv.AllowUserToResizeRows = false; // 禁止改变行高
} }
/// <summary> /// <summary>
/// 检查数据源 /// 检查数据源
...@@ -497,7 +481,6 @@ namespace Tools.UI ...@@ -497,7 +481,6 @@ namespace Tools.UI
dataRow.EndEdit(); dataRow.EndEdit();
} }
#region 私有扩展操作 #region 私有扩展操作
#region 业务取数 #region 业务取数
...@@ -553,7 +536,6 @@ namespace Tools.UI ...@@ -553,7 +536,6 @@ namespace Tools.UI
#endregion #endregion
/// <summary> /// <summary>
/// 设置业务模块选择状态。不触发选择事件 /// 设置业务模块选择状态。不触发选择事件
/// </summary> /// </summary>
...@@ -570,14 +552,16 @@ namespace Tools.UI ...@@ -570,14 +552,16 @@ namespace Tools.UI
// 默认选中该功能业务模块的第一行 // 默认选中该功能业务模块的第一行
if (rowsModule.Length > 0) GetDataGridViewRow(dgvBusinessModel, rowsModule[0]).Selected = true; if (rowsModule.Length > 0) GetDataGridViewRow(dgvBusinessModel, rowsModule[0]).Selected = true;
} }
/// <summary>
/// 设置勾选
/// </summary>
/// <param name="rows"></param>
/// <param name="isSelete"></param>
/// <param name="fieldName"></param>
private void SetSelected(DataRow[] rows, bool isSelete, string fieldName = "IsSelect") private void SetSelected(DataRow[] rows, bool isSelete, string fieldName = "IsSelect")
{ {
Array.ForEach(rows, row => row[fieldName] = isSelete); Array.ForEach(rows, row => row[fieldName] = isSelete);
} }
/// <summary> /// <summary>
/// 获取表格当前选中的数据行 /// 获取表格当前选中的数据行
/// </summary> /// </summary>
...@@ -591,8 +575,6 @@ namespace Tools.UI ...@@ -591,8 +575,6 @@ namespace Tools.UI
return ((DataRowView)selectRows[0].DataBoundItem).Row; return ((DataRowView)selectRows[0].DataBoundItem).Row;
} }
/// <summary> /// <summary>
/// 返回表格行 /// 返回表格行
/// </summary> /// </summary>
...@@ -611,7 +593,6 @@ namespace Tools.UI ...@@ -611,7 +593,6 @@ namespace Tools.UI
return null; return null;
} }
#endregion #endregion
} }
} }
...@@ -192,51 +192,6 @@ ...@@ -192,51 +192,6 @@
<metadata name="说明.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="说明.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </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>
<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>
<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"> <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
......
...@@ -34,8 +34,8 @@ namespace Tools ...@@ -34,8 +34,8 @@ namespace Tools
this.CreateModule(Tools_dev, typeof(Ftt.PatchPack.FrmMain), "自动打包工具", "xj:用于CS后端程序自动打包成压缩包"), this.CreateModule(Tools_dev, typeof(Ftt.PatchPack.FrmMain), "自动打包工具", "xj:用于CS后端程序自动打包成压缩包"),
this.CreateModule(Tools_dev, typeof(UI.wSysModule), "功能模块管理", "xj:管理功能模块和代码窗体的映射"), this.CreateModule(Tools_dev, typeof(UI.wSysModule), "功能模块管理", "xj:管理功能模块和代码窗体的映射"),
this.CreateModule(Tools_dev, typeof(UI.wAppModel), "APP模块管理", "tb:APP添加模块的图形化界面"), this.CreateModule(Tools_dev, typeof(UI.wAppModel), "APP模块管理", "tb:APP添加模块的图形化界面"),
this.CreateModule(Tools_dev, typeof(UI.wAutoClass), "类生成工具", "tb:将任意数据库表,生成为模型类"),
this.CreateModule(Tools_dev, typeof(UI.wMonitorVisit), "APP访问监控", "tb:APP模块的访问统计查看界面"), this.CreateModule(Tools_dev, typeof(UI.wMonitorVisit), "APP访问监控", "tb:APP模块的访问统计查看界面"),
this.CreateModule(Tools_dev, typeof(UI.wAutoClass), "类生成工具", "tb:将任意数据库表,生成为模型类"),
this.CreateModule(Tools_dev, typeof(UI.wDBTableDevelopTools), "表开发工具", "tr:用于创建表,添加描述及生成模型类等"), this.CreateModule(Tools_dev, typeof(UI.wDBTableDevelopTools), "表开发工具", "tr:用于创建表,添加描述及生成模型类等"),
this.CreateModule(Tools_dev, typeof(UI.wXmlGenerator), "XML生成器", "tr:将表生成为XML配置文件"), this.CreateModule(Tools_dev, typeof(UI.wXmlGenerator), "XML生成器", "tr:将表生成为XML配置文件"),
this.CreateModule(Tools_dev, typeof(UI.wModuleManager), "模块管理", "tr:系统模块管理工具(支持生成SQL)"), this.CreateModule(Tools_dev, typeof(UI.wModuleManager), "模块管理", "tr:系统模块管理工具(支持生成SQL)"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment