309 lines
17 KiB
C#
309 lines
17 KiB
C#
namespace ProductionControl
|
|
{
|
|
partial class FrmUserList
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmUserList));
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
|
this.tsbtnAdd = new System.Windows.Forms.ToolStripButton();
|
|
this.tsbtnDel = new System.Windows.Forms.ToolStripButton();
|
|
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.tsbtnEnable = new System.Windows.Forms.ToolStripButton();
|
|
this.tsbtnDisable = new System.Windows.Forms.ToolStripButton();
|
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.tsbtnResetPW = new System.Windows.Forms.ToolStripButton();
|
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
|
this.tsslCount = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
this.colId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.检测值 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.用户名称 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colRoleName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Column3 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.toolStrip1.SuspendLayout();
|
|
this.statusStrip1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// toolStrip1
|
|
//
|
|
this.toolStrip1.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
|
|
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(32, 32);
|
|
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.tsbtnAdd,
|
|
this.tsbtnDel,
|
|
this.toolStripSeparator4,
|
|
this.tsbtnEnable,
|
|
this.tsbtnDisable,
|
|
this.toolStripSeparator2,
|
|
this.tsbtnResetPW});
|
|
this.toolStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
|
|
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
|
this.toolStrip1.Name = "toolStrip1";
|
|
this.toolStrip1.Size = new System.Drawing.Size(1413, 65);
|
|
this.toolStrip1.TabIndex = 12;
|
|
this.toolStrip1.Text = "toolStrip1";
|
|
//
|
|
// tsbtnAdd
|
|
//
|
|
this.tsbtnAdd.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnAdd.Image")));
|
|
this.tsbtnAdd.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
this.tsbtnAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.tsbtnAdd.Name = "tsbtnAdd";
|
|
this.tsbtnAdd.Size = new System.Drawing.Size(70, 60);
|
|
this.tsbtnAdd.Text = " 添加 ";
|
|
this.tsbtnAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
this.tsbtnAdd.Click += new System.EventHandler(this.tsbtnAdd_Click);
|
|
//
|
|
// tsbtnDel
|
|
//
|
|
this.tsbtnDel.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnDel.Image")));
|
|
this.tsbtnDel.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
this.tsbtnDel.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.tsbtnDel.Name = "tsbtnDel";
|
|
this.tsbtnDel.Size = new System.Drawing.Size(70, 60);
|
|
this.tsbtnDel.Text = " 删除 ";
|
|
this.tsbtnDel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
this.tsbtnDel.Click += new System.EventHandler(this.tsbtnDel_Click);
|
|
//
|
|
// toolStripSeparator4
|
|
//
|
|
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
|
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 65);
|
|
//
|
|
// tsbtnEnable
|
|
//
|
|
this.tsbtnEnable.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnEnable.Image")));
|
|
this.tsbtnEnable.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
this.tsbtnEnable.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.tsbtnEnable.Name = "tsbtnEnable";
|
|
this.tsbtnEnable.Size = new System.Drawing.Size(70, 60);
|
|
this.tsbtnEnable.Text = " 启用 ";
|
|
this.tsbtnEnable.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
this.tsbtnEnable.Click += new System.EventHandler(this.tsbtnEnable_Click);
|
|
//
|
|
// tsbtnDisable
|
|
//
|
|
this.tsbtnDisable.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnDisable.Image")));
|
|
this.tsbtnDisable.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
this.tsbtnDisable.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.tsbtnDisable.Name = "tsbtnDisable";
|
|
this.tsbtnDisable.Size = new System.Drawing.Size(70, 60);
|
|
this.tsbtnDisable.Text = " 停用 ";
|
|
this.tsbtnDisable.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
this.tsbtnDisable.Click += new System.EventHandler(this.tsbtnDisable_Click);
|
|
//
|
|
// toolStripSeparator2
|
|
//
|
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
|
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 65);
|
|
//
|
|
// tsbtnResetPW
|
|
//
|
|
this.tsbtnResetPW.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnResetPW.Image")));
|
|
this.tsbtnResetPW.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
this.tsbtnResetPW.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.tsbtnResetPW.Name = "tsbtnResetPW";
|
|
this.tsbtnResetPW.Size = new System.Drawing.Size(86, 60);
|
|
this.tsbtnResetPW.Text = "重置密码";
|
|
this.tsbtnResetPW.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
|
this.tsbtnResetPW.Click += new System.EventHandler(this.tsbtnResetPW_Click);
|
|
//
|
|
// statusStrip1
|
|
//
|
|
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
|
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.tsslCount});
|
|
this.statusStrip1.Location = new System.Drawing.Point(0, 726);
|
|
this.statusStrip1.Name = "statusStrip1";
|
|
this.statusStrip1.Size = new System.Drawing.Size(1413, 31);
|
|
this.statusStrip1.TabIndex = 23;
|
|
this.statusStrip1.Text = "statusStrip1";
|
|
//
|
|
// tsslCount
|
|
//
|
|
this.tsslCount.Name = "tsslCount";
|
|
this.tsslCount.Size = new System.Drawing.Size(33, 24);
|
|
this.tsslCount.Text = "共 ";
|
|
//
|
|
// dataGridView1
|
|
//
|
|
this.dataGridView1.AllowUserToAddRows = false;
|
|
this.dataGridView1.AllowUserToDeleteRows = false;
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.colId,
|
|
this.检测值,
|
|
this.用户名称,
|
|
this.colRoleName,
|
|
this.Column3,
|
|
this.Column1});
|
|
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
|
|
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle4;
|
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.dataGridView1.Location = new System.Drawing.Point(0, 65);
|
|
this.dataGridView1.MultiSelect = false;
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
this.dataGridView1.ReadOnly = true;
|
|
this.dataGridView1.RowHeadersVisible = false;
|
|
this.dataGridView1.RowHeadersWidth = 62;
|
|
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle5;
|
|
this.dataGridView1.RowTemplate.Height = 30;
|
|
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dataGridView1.Size = new System.Drawing.Size(1413, 661);
|
|
this.dataGridView1.TabIndex = 24;
|
|
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
|
|
this.dataGridView1.DataBindingComplete += new System.Windows.Forms.DataGridViewBindingCompleteEventHandler(this.dataGridView1_DataBindingComplete);
|
|
//
|
|
// colId
|
|
//
|
|
this.colId.DataPropertyName = "Id";
|
|
this.colId.HeaderText = "id";
|
|
this.colId.MinimumWidth = 8;
|
|
this.colId.Name = "colId";
|
|
this.colId.ReadOnly = true;
|
|
this.colId.Visible = false;
|
|
this.colId.Width = 150;
|
|
//
|
|
// 检测值
|
|
//
|
|
this.检测值.DataPropertyName = "Code";
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
|
|
this.检测值.DefaultCellStyle = dataGridViewCellStyle2;
|
|
this.检测值.HeaderText = "登录帐号";
|
|
this.检测值.MinimumWidth = 8;
|
|
this.检测值.Name = "检测值";
|
|
this.检测值.ReadOnly = true;
|
|
this.检测值.Width = 200;
|
|
//
|
|
// 用户名称
|
|
//
|
|
this.用户名称.DataPropertyName = "Name";
|
|
dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.用户名称.DefaultCellStyle = dataGridViewCellStyle3;
|
|
this.用户名称.HeaderText = "用户名称";
|
|
this.用户名称.MinimumWidth = 8;
|
|
this.用户名称.Name = "用户名称";
|
|
this.用户名称.ReadOnly = true;
|
|
this.用户名称.Width = 200;
|
|
//
|
|
// colRoleName
|
|
//
|
|
this.colRoleName.HeaderText = "角色";
|
|
this.colRoleName.MinimumWidth = 8;
|
|
this.colRoleName.Name = "colRoleName";
|
|
this.colRoleName.ReadOnly = true;
|
|
this.colRoleName.Width = 200;
|
|
//
|
|
// Column3
|
|
//
|
|
this.Column3.DataPropertyName = "State";
|
|
this.Column3.HeaderText = "启用";
|
|
this.Column3.MinimumWidth = 8;
|
|
this.Column3.Name = "Column3";
|
|
this.Column3.ReadOnly = true;
|
|
this.Column3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
this.Column3.Width = 80;
|
|
//
|
|
// Column1
|
|
//
|
|
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.Column1.DataPropertyName = "CreateTime";
|
|
this.Column1.HeaderText = "添加日期";
|
|
this.Column1.MinimumWidth = 8;
|
|
this.Column1.Name = "Column1";
|
|
this.Column1.ReadOnly = true;
|
|
//
|
|
// FrmUserList
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1413, 757);
|
|
this.Controls.Add(this.dataGridView1);
|
|
this.Controls.Add(this.statusStrip1);
|
|
this.Controls.Add(this.toolStrip1);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Name = "FrmUserList";
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "用户管理";
|
|
this.Load += new System.EventHandler(this.FrmUserList_Load);
|
|
this.toolStrip1.ResumeLayout(false);
|
|
this.toolStrip1.PerformLayout();
|
|
this.statusStrip1.ResumeLayout(false);
|
|
this.statusStrip1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ToolStrip toolStrip1;
|
|
private System.Windows.Forms.ToolStripButton tsbtnAdd;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
|
|
private System.Windows.Forms.ToolStripButton tsbtnDel;
|
|
private System.Windows.Forms.ToolStripButton tsbtnEnable;
|
|
private System.Windows.Forms.ToolStripButton tsbtnDisable;
|
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
|
private System.Windows.Forms.ToolStripStatusLabel tsslCount;
|
|
private System.Windows.Forms.DataGridView dataGridView1;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
|
private System.Windows.Forms.ToolStripButton tsbtnResetPW;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colId;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 检测值;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn 用户名称;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colRoleName;
|
|
private System.Windows.Forms.DataGridViewCheckBoxColumn Column3;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
|
}
|
|
} |