270 lines
13 KiB
C#
270 lines
13 KiB
C#
|
|||
|
|
namespace JY.Inspection.Frm
|
||
|
|
{
|
||
|
|
partial class SetForm
|
||
|
|
{
|
||
|
|
/// <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(SetForm));
|
||
|
|
this.dgvManger = new System.Windows.Forms.DataGridView();
|
||
|
|
this.txtUser = new MetroFramework.Controls.MetroTextBox();
|
||
|
|
this.txtPassWord = new MetroFramework.Controls.MetroTextBox();
|
||
|
|
this.cmbLevel = new MetroFramework.Controls.MetroComboBox();
|
||
|
|
this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
|
||
|
|
this.metroLabel2 = new MetroFramework.Controls.MetroLabel();
|
||
|
|
this.metroLabel3 = new MetroFramework.Controls.MetroLabel();
|
||
|
|
this.btAdd = new MetroFramework.Controls.MetroButton();
|
||
|
|
this.btDelete = new MetroFramework.Controls.MetroButton();
|
||
|
|
this.btEdit = new MetroFramework.Controls.MetroButton();
|
||
|
|
this.metroTabControl1 = new MetroFramework.Controls.MetroTabControl();
|
||
|
|
this.metroTabPage1 = new MetroFramework.Controls.MetroTabPage();
|
||
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvManger)).BeginInit();
|
||
|
|
this.metroTabControl1.SuspendLayout();
|
||
|
|
this.metroTabPage1.SuspendLayout();
|
||
|
|
this.SuspendLayout();
|
||
|
|
//
|
||
|
|
// dgvManger
|
||
|
|
//
|
||
|
|
this.dgvManger.AllowUserToAddRows = false;
|
||
|
|
this.dgvManger.AllowUserToDeleteRows = false;
|
||
|
|
this.dgvManger.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||
|
|
this.dgvManger.BackgroundColor = System.Drawing.Color.White;
|
||
|
|
this.dgvManger.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||
|
|
this.dgvManger.Location = new System.Drawing.Point(3, 12);
|
||
|
|
this.dgvManger.Name = "dgvManger";
|
||
|
|
this.dgvManger.ReadOnly = true;
|
||
|
|
this.dgvManger.RowHeadersWidth = 51;
|
||
|
|
this.dgvManger.RowTemplate.Height = 23;
|
||
|
|
this.dgvManger.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||
|
|
this.dgvManger.Size = new System.Drawing.Size(472, 469);
|
||
|
|
this.dgvManger.TabIndex = 0;
|
||
|
|
this.dgvManger.SelectionChanged += new System.EventHandler(this.dgvManger_SelectionChanged);
|
||
|
|
//
|
||
|
|
// txtUser
|
||
|
|
//
|
||
|
|
//
|
||
|
|
//
|
||
|
|
//
|
||
|
|
this.txtUser.CustomButton.Image = null;
|
||
|
|
this.txtUser.CustomButton.Location = new System.Drawing.Point(107, 1);
|
||
|
|
this.txtUser.CustomButton.Name = "";
|
||
|
|
this.txtUser.CustomButton.Size = new System.Drawing.Size(16, 17);
|
||
|
|
this.txtUser.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
|
||
|
|
this.txtUser.CustomButton.TabIndex = 1;
|
||
|
|
this.txtUser.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
|
||
|
|
this.txtUser.CustomButton.UseSelectable = true;
|
||
|
|
this.txtUser.CustomButton.Visible = false;
|
||
|
|
this.txtUser.Lines = new string[0];
|
||
|
|
this.txtUser.Location = new System.Drawing.Point(566, 31);
|
||
|
|
this.txtUser.MaxLength = 32767;
|
||
|
|
this.txtUser.Name = "txtUser";
|
||
|
|
this.txtUser.PasswordChar = '\0';
|
||
|
|
this.txtUser.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||
|
|
this.txtUser.SelectedText = "";
|
||
|
|
this.txtUser.SelectionLength = 0;
|
||
|
|
this.txtUser.SelectionStart = 0;
|
||
|
|
this.txtUser.ShortcutsEnabled = true;
|
||
|
|
this.txtUser.Size = new System.Drawing.Size(165, 23);
|
||
|
|
this.txtUser.TabIndex = 1;
|
||
|
|
this.txtUser.UseSelectable = true;
|
||
|
|
this.txtUser.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
||
|
|
this.txtUser.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
|
||
|
|
//
|
||
|
|
// txtPassWord
|
||
|
|
//
|
||
|
|
//
|
||
|
|
//
|
||
|
|
//
|
||
|
|
this.txtPassWord.CustomButton.Image = null;
|
||
|
|
this.txtPassWord.CustomButton.Location = new System.Drawing.Point(107, 1);
|
||
|
|
this.txtPassWord.CustomButton.Name = "";
|
||
|
|
this.txtPassWord.CustomButton.Size = new System.Drawing.Size(16, 17);
|
||
|
|
this.txtPassWord.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
|
||
|
|
this.txtPassWord.CustomButton.TabIndex = 1;
|
||
|
|
this.txtPassWord.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
|
||
|
|
this.txtPassWord.CustomButton.UseSelectable = true;
|
||
|
|
this.txtPassWord.CustomButton.Visible = false;
|
||
|
|
this.txtPassWord.Lines = new string[0];
|
||
|
|
this.txtPassWord.Location = new System.Drawing.Point(566, 89);
|
||
|
|
this.txtPassWord.MaxLength = 32767;
|
||
|
|
this.txtPassWord.Name = "txtPassWord";
|
||
|
|
this.txtPassWord.PasswordChar = '\0';
|
||
|
|
this.txtPassWord.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||
|
|
this.txtPassWord.SelectedText = "";
|
||
|
|
this.txtPassWord.SelectionLength = 0;
|
||
|
|
this.txtPassWord.SelectionStart = 0;
|
||
|
|
this.txtPassWord.ShortcutsEnabled = true;
|
||
|
|
this.txtPassWord.Size = new System.Drawing.Size(165, 23);
|
||
|
|
this.txtPassWord.TabIndex = 2;
|
||
|
|
this.txtPassWord.UseSelectable = true;
|
||
|
|
this.txtPassWord.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
||
|
|
this.txtPassWord.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
|
||
|
|
//
|
||
|
|
// cmbLevel
|
||
|
|
//
|
||
|
|
this.cmbLevel.FormattingEnabled = true;
|
||
|
|
this.cmbLevel.ItemHeight = 23;
|
||
|
|
this.cmbLevel.Items.AddRange(new object[] {
|
||
|
|
"管理员",
|
||
|
|
"工程师",
|
||
|
|
"操作员"});
|
||
|
|
this.cmbLevel.Location = new System.Drawing.Point(566, 147);
|
||
|
|
this.cmbLevel.Name = "cmbLevel";
|
||
|
|
this.cmbLevel.Size = new System.Drawing.Size(165, 29);
|
||
|
|
this.cmbLevel.TabIndex = 3;
|
||
|
|
this.cmbLevel.UseSelectable = true;
|
||
|
|
//
|
||
|
|
// metroLabel1
|
||
|
|
//
|
||
|
|
this.metroLabel1.AutoSize = true;
|
||
|
|
this.metroLabel1.Location = new System.Drawing.Point(501, 31);
|
||
|
|
this.metroLabel1.Name = "metroLabel1";
|
||
|
|
this.metroLabel1.Size = new System.Drawing.Size(65, 19);
|
||
|
|
this.metroLabel1.TabIndex = 4;
|
||
|
|
this.metroLabel1.Text = "用户名:";
|
||
|
|
//
|
||
|
|
// metroLabel2
|
||
|
|
//
|
||
|
|
this.metroLabel2.AutoSize = true;
|
||
|
|
this.metroLabel2.Location = new System.Drawing.Point(501, 92);
|
||
|
|
this.metroLabel2.Name = "metroLabel2";
|
||
|
|
this.metroLabel2.Size = new System.Drawing.Size(51, 19);
|
||
|
|
this.metroLabel2.TabIndex = 5;
|
||
|
|
this.metroLabel2.Text = "密码:";
|
||
|
|
//
|
||
|
|
// metroLabel3
|
||
|
|
//
|
||
|
|
this.metroLabel3.AutoSize = true;
|
||
|
|
this.metroLabel3.Location = new System.Drawing.Point(501, 153);
|
||
|
|
this.metroLabel3.Name = "metroLabel3";
|
||
|
|
this.metroLabel3.Size = new System.Drawing.Size(51, 19);
|
||
|
|
this.metroLabel3.TabIndex = 6;
|
||
|
|
this.metroLabel3.Text = "权限:";
|
||
|
|
//
|
||
|
|
// btAdd
|
||
|
|
//
|
||
|
|
this.btAdd.Location = new System.Drawing.Point(491, 213);
|
||
|
|
this.btAdd.Name = "btAdd";
|
||
|
|
this.btAdd.Size = new System.Drawing.Size(75, 23);
|
||
|
|
this.btAdd.TabIndex = 7;
|
||
|
|
this.btAdd.Text = "添加";
|
||
|
|
this.btAdd.UseSelectable = true;
|
||
|
|
this.btAdd.Click += new System.EventHandler(this.btAdd_Click);
|
||
|
|
//
|
||
|
|
// btDelete
|
||
|
|
//
|
||
|
|
this.btDelete.Location = new System.Drawing.Point(580, 213);
|
||
|
|
this.btDelete.Name = "btDelete";
|
||
|
|
this.btDelete.Size = new System.Drawing.Size(75, 23);
|
||
|
|
this.btDelete.TabIndex = 8;
|
||
|
|
this.btDelete.Text = "删除";
|
||
|
|
this.btDelete.UseSelectable = true;
|
||
|
|
this.btDelete.Click += new System.EventHandler(this.btDelete_Click);
|
||
|
|
//
|
||
|
|
// btEdit
|
||
|
|
//
|
||
|
|
this.btEdit.Location = new System.Drawing.Point(669, 213);
|
||
|
|
this.btEdit.Name = "btEdit";
|
||
|
|
this.btEdit.Size = new System.Drawing.Size(75, 23);
|
||
|
|
this.btEdit.TabIndex = 9;
|
||
|
|
this.btEdit.Text = "编辑";
|
||
|
|
this.btEdit.UseSelectable = true;
|
||
|
|
this.btEdit.Click += new System.EventHandler(this.btEdit_Click);
|
||
|
|
//
|
||
|
|
// metroTabControl1
|
||
|
|
//
|
||
|
|
this.metroTabControl1.Controls.Add(this.metroTabPage1);
|
||
|
|
this.metroTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
|
|
this.metroTabControl1.Location = new System.Drawing.Point(0, 30);
|
||
|
|
this.metroTabControl1.Name = "metroTabControl1";
|
||
|
|
this.metroTabControl1.SelectedIndex = 0;
|
||
|
|
this.metroTabControl1.Size = new System.Drawing.Size(773, 535);
|
||
|
|
this.metroTabControl1.TabIndex = 10;
|
||
|
|
this.metroTabControl1.UseSelectable = true;
|
||
|
|
//
|
||
|
|
// metroTabPage1
|
||
|
|
//
|
||
|
|
this.metroTabPage1.Controls.Add(this.btEdit);
|
||
|
|
this.metroTabPage1.Controls.Add(this.btDelete);
|
||
|
|
this.metroTabPage1.Controls.Add(this.btAdd);
|
||
|
|
this.metroTabPage1.Controls.Add(this.dgvManger);
|
||
|
|
this.metroTabPage1.Controls.Add(this.metroLabel3);
|
||
|
|
this.metroTabPage1.Controls.Add(this.txtUser);
|
||
|
|
this.metroTabPage1.Controls.Add(this.metroLabel2);
|
||
|
|
this.metroTabPage1.Controls.Add(this.txtPassWord);
|
||
|
|
this.metroTabPage1.Controls.Add(this.metroLabel1);
|
||
|
|
this.metroTabPage1.Controls.Add(this.cmbLevel);
|
||
|
|
this.metroTabPage1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
|
|
this.metroTabPage1.HorizontalScrollbarBarColor = true;
|
||
|
|
this.metroTabPage1.HorizontalScrollbarHighlightOnWheel = false;
|
||
|
|
this.metroTabPage1.HorizontalScrollbarSize = 10;
|
||
|
|
this.metroTabPage1.Location = new System.Drawing.Point(4, 38);
|
||
|
|
this.metroTabPage1.Name = "metroTabPage1";
|
||
|
|
this.metroTabPage1.Size = new System.Drawing.Size(765, 493);
|
||
|
|
this.metroTabPage1.TabIndex = 0;
|
||
|
|
this.metroTabPage1.Text = "用户管理";
|
||
|
|
this.metroTabPage1.VerticalScrollbarBarColor = true;
|
||
|
|
this.metroTabPage1.VerticalScrollbarHighlightOnWheel = false;
|
||
|
|
this.metroTabPage1.VerticalScrollbarSize = 10;
|
||
|
|
//
|
||
|
|
// SetForm
|
||
|
|
//
|
||
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
|
|
this.ClientSize = new System.Drawing.Size(773, 565);
|
||
|
|
this.Controls.Add(this.metroTabControl1);
|
||
|
|
this.DisplayHeader = false;
|
||
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||
|
|
this.MaximizeBox = false;
|
||
|
|
this.Name = "SetForm";
|
||
|
|
this.Padding = new System.Windows.Forms.Padding(0, 30, 0, 0);
|
||
|
|
this.Text = "用户管理";
|
||
|
|
this.Load += new System.EventHandler(this.SetForm_Load);
|
||
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvManger)).EndInit();
|
||
|
|
this.metroTabControl1.ResumeLayout(false);
|
||
|
|
this.metroTabPage1.ResumeLayout(false);
|
||
|
|
this.metroTabPage1.PerformLayout();
|
||
|
|
this.ResumeLayout(false);
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
#endregion
|
||
|
|
|
||
|
|
private System.Windows.Forms.DataGridView dgvManger;
|
||
|
|
private MetroFramework.Controls.MetroTextBox txtUser;
|
||
|
|
private MetroFramework.Controls.MetroTextBox txtPassWord;
|
||
|
|
private MetroFramework.Controls.MetroComboBox cmbLevel;
|
||
|
|
private MetroFramework.Controls.MetroLabel metroLabel1;
|
||
|
|
private MetroFramework.Controls.MetroLabel metroLabel2;
|
||
|
|
private MetroFramework.Controls.MetroLabel metroLabel3;
|
||
|
|
private MetroFramework.Controls.MetroButton btAdd;
|
||
|
|
private MetroFramework.Controls.MetroButton btDelete;
|
||
|
|
private MetroFramework.Controls.MetroButton btEdit;
|
||
|
|
private MetroFramework.Controls.MetroTabControl metroTabControl1;
|
||
|
|
private MetroFramework.Controls.MetroTabPage metroTabPage1;
|
||
|
|
}
|
||
|
|
}
|