186 lines
8.2 KiB
C#
186 lines
8.2 KiB
C#
|
|
namespace 全自动水压检测仪
|
||
|
|
{
|
||
|
|
partial class UserEditForm
|
||
|
|
{
|
||
|
|
/// <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()
|
||
|
|
{
|
||
|
|
this.btnSave = new System.Windows.Forms.Button();
|
||
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
||
|
|
this.chkStatus = new System.Windows.Forms.CheckBox();
|
||
|
|
this.cmbUserRole = new System.Windows.Forms.ComboBox();
|
||
|
|
this.lblUserRole = new System.Windows.Forms.Label();
|
||
|
|
this.lblPassword = new System.Windows.Forms.Label();
|
||
|
|
this.lblUsername = new System.Windows.Forms.Label();
|
||
|
|
this.txtPassword = new System.Windows.Forms.TextBox();
|
||
|
|
this.txtUsername = new System.Windows.Forms.TextBox();
|
||
|
|
this.panelMain = new System.Windows.Forms.Panel();
|
||
|
|
this.panelMain.SuspendLayout();
|
||
|
|
this.SuspendLayout();
|
||
|
|
//
|
||
|
|
// btnSave
|
||
|
|
//
|
||
|
|
this.btnSave.Location = new System.Drawing.Point(150, 230);
|
||
|
|
this.btnSave.Name = "btnSave";
|
||
|
|
this.btnSave.Size = new System.Drawing.Size(90, 35);
|
||
|
|
this.btnSave.TabIndex = 6;
|
||
|
|
this.btnSave.Text = "保存";
|
||
|
|
this.btnSave.UseVisualStyleBackColor = true;
|
||
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
||
|
|
//
|
||
|
|
// btnCancel
|
||
|
|
//
|
||
|
|
this.btnCancel.Location = new System.Drawing.Point(260, 230);
|
||
|
|
this.btnCancel.Name = "btnCancel";
|
||
|
|
this.btnCancel.Size = new System.Drawing.Size(90, 35);
|
||
|
|
this.btnCancel.TabIndex = 7;
|
||
|
|
this.btnCancel.Text = "取消";
|
||
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
||
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
||
|
|
//
|
||
|
|
// chkStatus
|
||
|
|
//
|
||
|
|
this.chkStatus.AutoSize = true;
|
||
|
|
this.chkStatus.Checked = true;
|
||
|
|
this.chkStatus.CheckState = System.Windows.Forms.CheckState.Checked;
|
||
|
|
this.chkStatus.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||
|
|
this.chkStatus.Location = new System.Drawing.Point(150, 190);
|
||
|
|
this.chkStatus.Name = "chkStatus";
|
||
|
|
this.chkStatus.Size = new System.Drawing.Size(78, 24);
|
||
|
|
this.chkStatus.TabIndex = 5;
|
||
|
|
this.chkStatus.Text = "启用";
|
||
|
|
//
|
||
|
|
// cmbUserRole
|
||
|
|
//
|
||
|
|
this.cmbUserRole.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||
|
|
this.cmbUserRole.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||
|
|
this.cmbUserRole.FormattingEnabled = true;
|
||
|
|
this.cmbUserRole.Items.AddRange(new object[] {
|
||
|
|
"普通用户",
|
||
|
|
"管理员"});
|
||
|
|
this.cmbUserRole.Location = new System.Drawing.Point(150, 155);
|
||
|
|
this.cmbUserRole.Name = "cmbUserRole";
|
||
|
|
this.cmbUserRole.Size = new System.Drawing.Size(200, 28);
|
||
|
|
this.cmbUserRole.TabIndex = 4;
|
||
|
|
//
|
||
|
|
// lblUserRole
|
||
|
|
//
|
||
|
|
this.lblUserRole.AutoSize = true;
|
||
|
|
this.lblUserRole.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||
|
|
this.lblUserRole.Location = new System.Drawing.Point(60, 160);
|
||
|
|
this.lblUserRole.Name = "lblUserRole";
|
||
|
|
this.lblUserRole.Size = new System.Drawing.Size(68, 20);
|
||
|
|
this.lblUserRole.TabIndex = 3;
|
||
|
|
this.lblUserRole.Text = "用户角色:";
|
||
|
|
//
|
||
|
|
// lblPassword
|
||
|
|
//
|
||
|
|
this.lblPassword.AutoSize = true;
|
||
|
|
this.lblPassword.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||
|
|
this.lblPassword.Location = new System.Drawing.Point(60, 120);
|
||
|
|
this.lblPassword.Name = "lblPassword";
|
||
|
|
this.lblPassword.Size = new System.Drawing.Size(68, 20);
|
||
|
|
this.lblPassword.TabIndex = 2;
|
||
|
|
this.lblPassword.Text = "密码:";
|
||
|
|
//
|
||
|
|
// lblUsername
|
||
|
|
//
|
||
|
|
this.lblUsername.AutoSize = true;
|
||
|
|
this.lblUsername.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||
|
|
this.lblUsername.Location = new System.Drawing.Point(60, 80);
|
||
|
|
this.lblUsername.Name = "lblUsername";
|
||
|
|
this.lblUsername.Size = new System.Drawing.Size(68, 20);
|
||
|
|
this.lblUsername.TabIndex = 1;
|
||
|
|
this.lblUsername.Text = "用户名:";
|
||
|
|
//
|
||
|
|
// txtPassword
|
||
|
|
//
|
||
|
|
this.txtPassword.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||
|
|
this.txtPassword.Location = new System.Drawing.Point(150, 117);
|
||
|
|
this.txtPassword.Name = "txtPassword";
|
||
|
|
this.txtPassword.PasswordChar = '*';
|
||
|
|
this.txtPassword.Size = new System.Drawing.Size(200, 25);
|
||
|
|
this.txtPassword.TabIndex = 1;
|
||
|
|
//
|
||
|
|
// txtUsername
|
||
|
|
//
|
||
|
|
this.txtUsername.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
||
|
|
this.txtUsername.Location = new System.Drawing.Point(150, 77);
|
||
|
|
this.txtUsername.Name = "txtUsername";
|
||
|
|
this.txtUsername.Size = new System.Drawing.Size(200, 25);
|
||
|
|
this.txtUsername.TabIndex = 0;
|
||
|
|
//
|
||
|
|
// panelMain
|
||
|
|
//
|
||
|
|
this.panelMain.BackColor = System.Drawing.Color.White;
|
||
|
|
this.panelMain.Controls.Add(this.chkStatus);
|
||
|
|
this.panelMain.Controls.Add(this.cmbUserRole);
|
||
|
|
this.panelMain.Controls.Add(this.lblUserRole);
|
||
|
|
this.panelMain.Controls.Add(this.lblPassword);
|
||
|
|
this.panelMain.Controls.Add(this.lblUsername);
|
||
|
|
this.panelMain.Controls.Add(this.txtPassword);
|
||
|
|
this.panelMain.Controls.Add(this.txtUsername);
|
||
|
|
this.panelMain.Location = new System.Drawing.Point(60, 50);
|
||
|
|
this.panelMain.Name = "panelMain";
|
||
|
|
this.panelMain.Size = new System.Drawing.Size(400, 300);
|
||
|
|
this.panelMain.TabIndex = 0;
|
||
|
|
//
|
||
|
|
// UserEditForm
|
||
|
|
//
|
||
|
|
this.AcceptButton = this.btnSave;
|
||
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
||
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
|
|
this.ClientSize = new System.Drawing.Size(520, 380);
|
||
|
|
this.Controls.Add(this.btnSave);
|
||
|
|
this.Controls.Add(this.btnCancel);
|
||
|
|
this.Controls.Add(this.panelMain);
|
||
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||
|
|
this.MaximizeBox = false;
|
||
|
|
this.MinimizeBox = false;
|
||
|
|
this.Name = "UserEditForm";
|
||
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||
|
|
this.Text = "UserEditForm";
|
||
|
|
this.panelMain.ResumeLayout(false);
|
||
|
|
this.panelMain.PerformLayout();
|
||
|
|
this.ResumeLayout(false);
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
#endregion
|
||
|
|
|
||
|
|
private System.Windows.Forms.TextBox txtUsername;
|
||
|
|
private System.Windows.Forms.TextBox txtPassword;
|
||
|
|
private System.Windows.Forms.Label lblUsername;
|
||
|
|
private System.Windows.Forms.Label lblPassword;
|
||
|
|
private System.Windows.Forms.Label lblUserRole;
|
||
|
|
private System.Windows.Forms.ComboBox cmbUserRole;
|
||
|
|
private System.Windows.Forms.CheckBox chkStatus;
|
||
|
|
private System.Windows.Forms.Button btnSave;
|
||
|
|
private System.Windows.Forms.Button btnCancel;
|
||
|
|
private System.Windows.Forms.Panel panelMain;
|
||
|
|
}
|
||
|
|
}
|