|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
namespace HighWayIot.Winform.UserControlPages.SysConfigPages
|
|
|
|
|
{
|
|
|
|
|
partial class UserRoleAddForm
|
|
|
|
|
partial class RoleAddForm
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
@ -34,16 +34,16 @@
|
|
|
|
|
this.ConfrimAddButton = new System.Windows.Forms.Button();
|
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
|
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
|
|
|
this.SelectAll = new System.Windows.Forms.Button();
|
|
|
|
|
this.SelectNone = new System.Windows.Forms.Button();
|
|
|
|
|
this.SelectAll = new System.Windows.Forms.Button();
|
|
|
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
|
|
|
this.RolesDataGridView = new System.Windows.Forms.DataGridView();
|
|
|
|
|
this.TableName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.IsUseable = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
|
|
this.panel1.SuspendLayout();
|
|
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
|
|
this.panel2.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.RolesDataGridView)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
@ -83,11 +83,12 @@
|
|
|
|
|
//
|
|
|
|
|
// panel1
|
|
|
|
|
//
|
|
|
|
|
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.panel1.Controls.Add(this.ConfrimAddButton);
|
|
|
|
|
this.panel1.Controls.Add(this.label2);
|
|
|
|
|
this.panel1.Controls.Add(this.UserNameTextBox);
|
|
|
|
|
this.panel1.Controls.Add(this.label1);
|
|
|
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.panel1.Name = "panel1";
|
|
|
|
|
this.panel1.Size = new System.Drawing.Size(398, 66);
|
|
|
|
@ -95,10 +96,12 @@
|
|
|
|
|
//
|
|
|
|
|
// groupBox1
|
|
|
|
|
//
|
|
|
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.groupBox1.Controls.Add(this.SelectNone);
|
|
|
|
|
this.groupBox1.Controls.Add(this.SelectAll);
|
|
|
|
|
this.groupBox1.Controls.Add(this.panel2);
|
|
|
|
|
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
|
|
this.groupBox1.Location = new System.Drawing.Point(0, 72);
|
|
|
|
|
this.groupBox1.Name = "groupBox1";
|
|
|
|
|
this.groupBox1.Size = new System.Drawing.Size(398, 593);
|
|
|
|
@ -106,39 +109,6 @@
|
|
|
|
|
this.groupBox1.TabStop = false;
|
|
|
|
|
this.groupBox1.Text = "权限设置";
|
|
|
|
|
//
|
|
|
|
|
// panel2
|
|
|
|
|
//
|
|
|
|
|
this.panel2.Controls.Add(this.dataGridView1);
|
|
|
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
|
|
this.panel2.Location = new System.Drawing.Point(3, 49);
|
|
|
|
|
this.panel2.Name = "panel2";
|
|
|
|
|
this.panel2.Size = new System.Drawing.Size(392, 541);
|
|
|
|
|
this.panel2.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// dataGridView1
|
|
|
|
|
//
|
|
|
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
|
this.TableName,
|
|
|
|
|
this.IsUseable});
|
|
|
|
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
|
|
|
this.dataGridView1.RowHeadersVisible = false;
|
|
|
|
|
this.dataGridView1.RowTemplate.Height = 23;
|
|
|
|
|
this.dataGridView1.Size = new System.Drawing.Size(392, 541);
|
|
|
|
|
this.dataGridView1.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// SelectAll
|
|
|
|
|
//
|
|
|
|
|
this.SelectAll.Location = new System.Drawing.Point(12, 20);
|
|
|
|
|
this.SelectAll.Name = "SelectAll";
|
|
|
|
|
this.SelectAll.Size = new System.Drawing.Size(52, 23);
|
|
|
|
|
this.SelectAll.TabIndex = 1;
|
|
|
|
|
this.SelectAll.Text = "全选";
|
|
|
|
|
this.SelectAll.UseVisualStyleBackColor = true;
|
|
|
|
|
this.SelectAll.Click += new System.EventHandler(this.SelectAll_Click);
|
|
|
|
|
//
|
|
|
|
|
// SelectNone
|
|
|
|
|
//
|
|
|
|
|
this.SelectNone.Location = new System.Drawing.Point(70, 20);
|
|
|
|
@ -149,35 +119,76 @@
|
|
|
|
|
this.SelectNone.UseVisualStyleBackColor = true;
|
|
|
|
|
this.SelectNone.Click += new System.EventHandler(this.SelectNone_Click);
|
|
|
|
|
//
|
|
|
|
|
// SelectAll
|
|
|
|
|
//
|
|
|
|
|
this.SelectAll.Location = new System.Drawing.Point(12, 20);
|
|
|
|
|
this.SelectAll.Name = "SelectAll";
|
|
|
|
|
this.SelectAll.Size = new System.Drawing.Size(52, 23);
|
|
|
|
|
this.SelectAll.TabIndex = 1;
|
|
|
|
|
this.SelectAll.Text = "全选";
|
|
|
|
|
this.SelectAll.UseVisualStyleBackColor = true;
|
|
|
|
|
this.SelectAll.Click += new System.EventHandler(this.SelectAll_Click);
|
|
|
|
|
//
|
|
|
|
|
// panel2
|
|
|
|
|
//
|
|
|
|
|
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.panel2.Controls.Add(this.RolesDataGridView);
|
|
|
|
|
this.panel2.Location = new System.Drawing.Point(3, 49);
|
|
|
|
|
this.panel2.Name = "panel2";
|
|
|
|
|
this.panel2.Size = new System.Drawing.Size(392, 541);
|
|
|
|
|
this.panel2.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// RolesDataGridView
|
|
|
|
|
//
|
|
|
|
|
this.RolesDataGridView.AllowUserToAddRows = false;
|
|
|
|
|
this.RolesDataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
this.RolesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
this.RolesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
|
this.TableName,
|
|
|
|
|
this.IsUseable});
|
|
|
|
|
this.RolesDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.RolesDataGridView.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.RolesDataGridView.Name = "RolesDataGridView";
|
|
|
|
|
this.RolesDataGridView.ReadOnly = true;
|
|
|
|
|
this.RolesDataGridView.RowHeadersVisible = false;
|
|
|
|
|
this.RolesDataGridView.RowTemplate.Height = 23;
|
|
|
|
|
this.RolesDataGridView.Size = new System.Drawing.Size(392, 541);
|
|
|
|
|
this.RolesDataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// TableName
|
|
|
|
|
//
|
|
|
|
|
this.TableName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.TableName.DataPropertyName = "TableName";
|
|
|
|
|
this.TableName.HeaderText = "页面名称";
|
|
|
|
|
this.TableName.Name = "TableName";
|
|
|
|
|
this.TableName.ReadOnly = true;
|
|
|
|
|
//
|
|
|
|
|
// IsUseable
|
|
|
|
|
//
|
|
|
|
|
this.IsUseable.DataPropertyName = "IsUseable";
|
|
|
|
|
this.IsUseable.HeaderText = "是否有权限";
|
|
|
|
|
this.IsUseable.Name = "IsUseable";
|
|
|
|
|
this.IsUseable.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
this.IsUseable.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
|
|
|
this.IsUseable.Width = 90;
|
|
|
|
|
//
|
|
|
|
|
// UserRoleAddForm
|
|
|
|
|
// RoleAddForm
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(398, 665);
|
|
|
|
|
this.Controls.Add(this.groupBox1);
|
|
|
|
|
this.Controls.Add(this.panel1);
|
|
|
|
|
this.Name = "UserRoleAddForm";
|
|
|
|
|
this.Name = "RoleAddForm";
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
|
|
|
this.Text = "添加角色";
|
|
|
|
|
this.panel1.ResumeLayout(false);
|
|
|
|
|
this.panel1.PerformLayout();
|
|
|
|
|
this.groupBox1.ResumeLayout(false);
|
|
|
|
|
this.panel2.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.RolesDataGridView)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -193,7 +204,7 @@
|
|
|
|
|
private System.Windows.Forms.Button SelectNone;
|
|
|
|
|
private System.Windows.Forms.Button SelectAll;
|
|
|
|
|
private System.Windows.Forms.Panel panel2;
|
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView1;
|
|
|
|
|
private System.Windows.Forms.DataGridView RolesDataGridView;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn TableName;
|
|
|
|
|
private System.Windows.Forms.DataGridViewCheckBoxColumn IsUseable;
|
|
|
|
|
}
|