|
|
@@ -28,22 +28,22 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Employee_Group));
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
this.ug_code_label = new System.Windows.Forms.Label();
|
|
|
this.ug_name_label = new System.Windows.Forms.Label();
|
|
|
this.UserGroupDGV = new UAS_MES.CustomControl.DataGrid_View.DataGridViewWithSerialNum();
|
|
|
- this.NewGroup = new UAS_MES.CustomControl.ButtonUtil.NormalButton();
|
|
|
- this.DeleteGroup = new UAS_MES.CustomControl.ButtonUtil.NormalButton();
|
|
|
- this.Screen = new UAS_MES.CustomControl.ButtonUtil.NormalButton();
|
|
|
- this.ug_name1 = new UAS_MES.CustomControl.TextBoxWithIcon.SearchTextBox();
|
|
|
- this.ug_code1 = new UAS_MES.CustomControl.TextBoxWithIcon.SearchTextBox();
|
|
|
this.ug_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.ug_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.ug_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.UserSetting = new System.Windows.Forms.DataGridViewLinkColumn();
|
|
|
this.PowerSetting = new System.Windows.Forms.DataGridViewLinkColumn();
|
|
|
+ this.NewGroup = new UAS_MES.CustomControl.ButtonUtil.NormalButton();
|
|
|
+ this.DeleteGroup = new UAS_MES.CustomControl.ButtonUtil.NormalButton();
|
|
|
+ this.Screen = new UAS_MES.CustomControl.ButtonUtil.NormalButton();
|
|
|
+ this.ug_name1 = new UAS_MES.CustomControl.TextBoxWithIcon.SearchTextBox();
|
|
|
+ this.ug_code1 = new UAS_MES.CustomControl.TextBoxWithIcon.SearchTextBox();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.UserGroupDGV)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
@@ -51,10 +51,9 @@
|
|
|
//
|
|
|
this.ug_code_label.AutoSize = true;
|
|
|
this.ug_code_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.ug_code_label.Location = new System.Drawing.Point(12, 25);
|
|
|
- this.ug_code_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.ug_code_label.Location = new System.Drawing.Point(9, 24);
|
|
|
this.ug_code_label.Name = "ug_code_label";
|
|
|
- this.ug_code_label.Size = new System.Drawing.Size(112, 27);
|
|
|
+ this.ug_code_label.Size = new System.Drawing.Size(90, 21);
|
|
|
this.ug_code_label.TabIndex = 237;
|
|
|
this.ug_code_label.Text = "用户组代码";
|
|
|
//
|
|
|
@@ -62,10 +61,9 @@
|
|
|
//
|
|
|
this.ug_name_label.AutoSize = true;
|
|
|
this.ug_name_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.ug_name_label.Location = new System.Drawing.Point(315, 25);
|
|
|
- this.ug_name_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.ug_name_label.Location = new System.Drawing.Point(256, 24);
|
|
|
this.ug_name_label.Name = "ug_name_label";
|
|
|
- this.ug_name_label.Size = new System.Drawing.Size(72, 27);
|
|
|
+ this.ug_name_label.Size = new System.Drawing.Size(58, 21);
|
|
|
this.ug_name_label.TabIndex = 239;
|
|
|
this.ug_name_label.Text = "用户组";
|
|
|
//
|
|
|
@@ -79,13 +77,54 @@
|
|
|
this.ug_name,
|
|
|
this.UserSetting,
|
|
|
this.PowerSetting});
|
|
|
- this.UserGroupDGV.Location = new System.Drawing.Point(12, 71);
|
|
|
+ this.UserGroupDGV.Location = new System.Drawing.Point(9, 57);
|
|
|
+ this.UserGroupDGV.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.UserGroupDGV.Name = "UserGroupDGV";
|
|
|
this.UserGroupDGV.RowTemplate.Height = 27;
|
|
|
- this.UserGroupDGV.Size = new System.Drawing.Size(777, 598);
|
|
|
+ this.UserGroupDGV.Size = new System.Drawing.Size(625, 478);
|
|
|
this.UserGroupDGV.TabIndex = 244;
|
|
|
this.UserGroupDGV.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.UserGroupDGV_CellClick);
|
|
|
//
|
|
|
+ // ug_id
|
|
|
+ //
|
|
|
+ this.ug_id.DataPropertyName = "ug_id";
|
|
|
+ this.ug_id.HeaderText = "ug_id";
|
|
|
+ this.ug_id.Name = "ug_id";
|
|
|
+ this.ug_id.Visible = false;
|
|
|
+ //
|
|
|
+ // ug_code
|
|
|
+ //
|
|
|
+ this.ug_code.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
+ this.ug_code.DataPropertyName = "ug_code";
|
|
|
+ this.ug_code.HeaderText = "用户组代码";
|
|
|
+ this.ug_code.Name = "ug_code";
|
|
|
+ //
|
|
|
+ // ug_name
|
|
|
+ //
|
|
|
+ this.ug_name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
+ this.ug_name.DataPropertyName = "ug_name";
|
|
|
+ this.ug_name.HeaderText = "用户组";
|
|
|
+ this.ug_name.Name = "ug_name";
|
|
|
+ //
|
|
|
+ // UserSetting
|
|
|
+ //
|
|
|
+ this.UserSetting.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
+ this.UserSetting.DataPropertyName = "UserSetting";
|
|
|
+ dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ this.UserSetting.DefaultCellStyle = dataGridViewCellStyle21;
|
|
|
+ this.UserSetting.HeaderText = "成员设置";
|
|
|
+ this.UserSetting.Name = "UserSetting";
|
|
|
+ this.UserSetting.Width = 120;
|
|
|
+ //
|
|
|
+ // PowerSetting
|
|
|
+ //
|
|
|
+ this.PowerSetting.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
+ this.PowerSetting.DataPropertyName = "PowerSetting";
|
|
|
+ dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ this.PowerSetting.DefaultCellStyle = dataGridViewCellStyle22;
|
|
|
+ this.PowerSetting.HeaderText = "权限分配";
|
|
|
+ this.PowerSetting.Name = "PowerSetting";
|
|
|
+ //
|
|
|
// NewGroup
|
|
|
//
|
|
|
this.NewGroup.AllPower = null;
|
|
|
@@ -94,12 +133,13 @@
|
|
|
this.NewGroup.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.NewGroup.Image = null;
|
|
|
this.NewGroup.IsShowBorder = true;
|
|
|
- this.NewGroup.Location = new System.Drawing.Point(650, 24);
|
|
|
+ this.NewGroup.Location = new System.Drawing.Point(530, 22);
|
|
|
+ this.NewGroup.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.NewGroup.MoveImage = ((System.Drawing.Image)(resources.GetObject("NewGroup.MoveImage")));
|
|
|
this.NewGroup.Name = "NewGroup";
|
|
|
this.NewGroup.NormalImage = ((System.Drawing.Image)(resources.GetObject("NewGroup.NormalImage")));
|
|
|
this.NewGroup.Power = null;
|
|
|
- this.NewGroup.Size = new System.Drawing.Size(60, 32);
|
|
|
+ this.NewGroup.Size = new System.Drawing.Size(45, 26);
|
|
|
this.NewGroup.TabIndex = 243;
|
|
|
this.NewGroup.Tag = "ShowDialogWindow";
|
|
|
this.NewGroup.Text = "新增";
|
|
|
@@ -114,12 +154,13 @@
|
|
|
this.DeleteGroup.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.DeleteGroup.Image = null;
|
|
|
this.DeleteGroup.IsShowBorder = true;
|
|
|
- this.DeleteGroup.Location = new System.Drawing.Point(729, 24);
|
|
|
+ this.DeleteGroup.Location = new System.Drawing.Point(589, 22);
|
|
|
+ this.DeleteGroup.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.DeleteGroup.MoveImage = ((System.Drawing.Image)(resources.GetObject("DeleteGroup.MoveImage")));
|
|
|
this.DeleteGroup.Name = "DeleteGroup";
|
|
|
this.DeleteGroup.NormalImage = ((System.Drawing.Image)(resources.GetObject("DeleteGroup.NormalImage")));
|
|
|
this.DeleteGroup.Power = null;
|
|
|
- this.DeleteGroup.Size = new System.Drawing.Size(60, 32);
|
|
|
+ this.DeleteGroup.Size = new System.Drawing.Size(45, 26);
|
|
|
this.DeleteGroup.TabIndex = 242;
|
|
|
this.DeleteGroup.Text = "删除";
|
|
|
this.DeleteGroup.UseVisualStyleBackColor = false;
|
|
|
@@ -133,12 +174,13 @@
|
|
|
this.Screen.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.Screen.Image = null;
|
|
|
this.Screen.IsShowBorder = true;
|
|
|
- this.Screen.Location = new System.Drawing.Point(575, 24);
|
|
|
+ this.Screen.Location = new System.Drawing.Point(473, 22);
|
|
|
+ this.Screen.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.Screen.MoveImage = ((System.Drawing.Image)(resources.GetObject("Screen.MoveImage")));
|
|
|
this.Screen.Name = "Screen";
|
|
|
this.Screen.NormalImage = ((System.Drawing.Image)(resources.GetObject("Screen.NormalImage")));
|
|
|
this.Screen.Power = null;
|
|
|
- this.Screen.Size = new System.Drawing.Size(60, 32);
|
|
|
+ this.Screen.Size = new System.Drawing.Size(45, 26);
|
|
|
this.Screen.TabIndex = 241;
|
|
|
this.Screen.Text = "筛选";
|
|
|
this.Screen.UseVisualStyleBackColor = false;
|
|
|
@@ -151,12 +193,13 @@
|
|
|
this.ug_name1.Condition = null;
|
|
|
this.ug_name1.DBTitle = null;
|
|
|
this.ug_name1.FormName = null;
|
|
|
- this.ug_name1.Location = new System.Drawing.Point(406, 28);
|
|
|
+ this.ug_name1.Location = new System.Drawing.Point(324, 24);
|
|
|
+ this.ug_name1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.ug_name1.Name = "ug_name1";
|
|
|
this.ug_name1.Power = null;
|
|
|
this.ug_name1.SelectField = null;
|
|
|
this.ug_name1.SetValueField = null;
|
|
|
- this.ug_name1.Size = new System.Drawing.Size(159, 25);
|
|
|
+ this.ug_name1.Size = new System.Drawing.Size(135, 21);
|
|
|
this.ug_name1.TabIndex = 240;
|
|
|
this.ug_name1.TableName = null;
|
|
|
this.ug_name1.Tag = "ug_code";
|
|
|
@@ -169,62 +212,23 @@
|
|
|
this.ug_code1.Condition = null;
|
|
|
this.ug_code1.DBTitle = null;
|
|
|
this.ug_code1.FormName = null;
|
|
|
- this.ug_code1.Location = new System.Drawing.Point(138, 28);
|
|
|
+ this.ug_code1.Location = new System.Drawing.Point(104, 24);
|
|
|
+ this.ug_code1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|
|
this.ug_code1.Name = "ug_code1";
|
|
|
this.ug_code1.Power = null;
|
|
|
this.ug_code1.SelectField = null;
|
|
|
this.ug_code1.SetValueField = null;
|
|
|
- this.ug_code1.Size = new System.Drawing.Size(159, 25);
|
|
|
+ this.ug_code1.Size = new System.Drawing.Size(135, 21);
|
|
|
this.ug_code1.TabIndex = 238;
|
|
|
this.ug_code1.TableName = null;
|
|
|
this.ug_code1.Tag = "ug_code";
|
|
|
this.ug_code1.TextBoxEnable = true;
|
|
|
//
|
|
|
- // ug_id
|
|
|
- //
|
|
|
- this.ug_id.DataPropertyName = "ug_id";
|
|
|
- this.ug_id.HeaderText = "ug_id";
|
|
|
- this.ug_id.Name = "ug_id";
|
|
|
- this.ug_id.Visible = false;
|
|
|
- //
|
|
|
- // ug_code
|
|
|
- //
|
|
|
- this.ug_code.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
- this.ug_code.DataPropertyName = "ug_code";
|
|
|
- this.ug_code.HeaderText = "用户组代码";
|
|
|
- this.ug_code.Name = "ug_code";
|
|
|
- //
|
|
|
- // ug_name
|
|
|
- //
|
|
|
- this.ug_name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
- this.ug_name.DataPropertyName = "ug_name";
|
|
|
- this.ug_name.HeaderText = "用户组";
|
|
|
- this.ug_name.Name = "ug_name";
|
|
|
- //
|
|
|
- // UserSetting
|
|
|
- //
|
|
|
- this.UserSetting.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
- this.UserSetting.DataPropertyName = "UserSetting";
|
|
|
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
- this.UserSetting.DefaultCellStyle = dataGridViewCellStyle1;
|
|
|
- this.UserSetting.HeaderText = "成员设置";
|
|
|
- this.UserSetting.Name = "UserSetting";
|
|
|
- this.UserSetting.Width = 120;
|
|
|
- //
|
|
|
- // PowerSetting
|
|
|
- //
|
|
|
- this.PowerSetting.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
- this.PowerSetting.DataPropertyName = "PowerSetting";
|
|
|
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
- this.PowerSetting.DefaultCellStyle = dataGridViewCellStyle2;
|
|
|
- this.PowerSetting.HeaderText = "权限分配";
|
|
|
- this.PowerSetting.Name = "PowerSetting";
|
|
|
- //
|
|
|
- // 人员分组
|
|
|
+ // Employee_Group
|
|
|
//
|
|
|
- this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(914, 695);
|
|
|
+ this.ClientSize = new System.Drawing.Size(686, 556);
|
|
|
this.Controls.Add(this.UserGroupDGV);
|
|
|
this.Controls.Add(this.NewGroup);
|
|
|
this.Controls.Add(this.DeleteGroup);
|
|
|
@@ -234,8 +238,7 @@
|
|
|
this.Controls.Add(this.ug_code1);
|
|
|
this.Controls.Add(this.ug_code_label);
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
|
- this.Margin = new System.Windows.Forms.Padding(4);
|
|
|
- this.Name = "人员分组";
|
|
|
+ this.Name = "Employee_Group";
|
|
|
this.Tag = "Employee!Data";
|
|
|
this.Text = "人员资料";
|
|
|
this.Load += new System.EventHandler(this.人员分组_Load);
|