示例#1
0
文件: frmAdd.cs 项目: hkiaipc/yh
 /// <summary>
 /// �����֧������ķ��� - ��Ҫʹ�ô���༭���޸�
 /// �˷��������ݡ�
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.cmbManagers = new BengZhan.controls.myCmb();
     this.label5 = new System.Windows.Forms.Label();
     this.chkPower = new System.Windows.Forms.CheckBox();
     this.txtPwdCer = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.txtUserPwd = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.txtUserName = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.txtUserID = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.btnInsert = new System.Windows.Forms.Button();
     this.btnExit = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.cmbManagers);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.chkPower);
     this.groupBox1.Controls.Add(this.txtPwdCer);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.txtUserPwd);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.txtUserName);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.txtUserID);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(8, 8);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(280, 192);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop = false;
     //
     // cmbManagers
     //
     this.cmbManagers.Location = new System.Drawing.Point(112, 160);
     this.cmbManagers.Name = "cmbManagers";
     this.cmbManagers.Size = new System.Drawing.Size(88, 20);
     this.cmbManagers.TabIndex = 0;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(208, 160);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(48, 23);
     this.label5.TabIndex = 10;
     this.label5.Text = "��Ȩ��";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chkPower
     //
     this.chkPower.Location = new System.Drawing.Point(32, 160);
     this.chkPower.Name = "chkPower";
     this.chkPower.Size = new System.Drawing.Size(72, 24);
     this.chkPower.TabIndex = 8;
     this.chkPower.Text = "Ӧ�ã�";
     this.chkPower.CheckedChanged += new System.EventHandler(this.checkPower_CheckedChanged);
     //
     // txtPwdCer
     //
     this.txtPwdCer.Location = new System.Drawing.Point(112, 128);
     this.txtPwdCer.Name = "txtPwdCer";
     this.txtPwdCer.PasswordChar = '*';
     this.txtPwdCer.Size = new System.Drawing.Size(144, 21);
     this.txtPwdCer.TabIndex = 7;
     this.txtPwdCer.Text = "";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(32, 128);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(72, 23);
     this.label4.TabIndex = 6;
     this.label4.Text = "����ȷ�ϣ�";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtUserPwd
     //
     this.txtUserPwd.Location = new System.Drawing.Point(112, 96);
     this.txtUserPwd.Name = "txtUserPwd";
     this.txtUserPwd.PasswordChar = '*';
     this.txtUserPwd.Size = new System.Drawing.Size(144, 21);
     this.txtUserPwd.TabIndex = 5;
     this.txtUserPwd.Text = "";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(32, 96);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(72, 23);
     this.label3.TabIndex = 4;
     this.label3.Text = "�û����룺";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtUserName
     //
     this.txtUserName.Location = new System.Drawing.Point(112, 64);
     this.txtUserName.Name = "txtUserName";
     this.txtUserName.Size = new System.Drawing.Size(144, 21);
     this.txtUserName.TabIndex = 3;
     this.txtUserName.Text = "";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(24, 64);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(80, 24);
     this.label2.TabIndex = 2;
     this.label2.Text = "�û�����";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtUserID
     //
     this.txtUserID.Location = new System.Drawing.Point(112, 32);
     this.txtUserID.Name = "txtUserID";
     this.txtUserID.Size = new System.Drawing.Size(144, 21);
     this.txtUserID.TabIndex = 1;
     this.txtUserID.Text = "";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(24, 32);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(80, 23);
     this.label1.TabIndex = 0;
     this.label1.Text = "�û�ID��";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // btnInsert
     //
     this.btnInsert.Location = new System.Drawing.Point(128, 208);
     this.btnInsert.Name = "btnInsert";
     this.btnInsert.Size = new System.Drawing.Size(64, 23);
     this.btnInsert.TabIndex = 1;
     this.btnInsert.Text = "���";
     this.btnInsert.Click += new System.EventHandler(this.button1_Click);
     //
     // btnExit
     //
     this.btnExit.Location = new System.Drawing.Point(224, 208);
     this.btnExit.Name = "btnExit";
     this.btnExit.Size = new System.Drawing.Size(64, 24);
     this.btnExit.TabIndex = 2;
     this.btnExit.Text = "�˳�";
     this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
     //
     // frmAdd
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize = new System.Drawing.Size(298, 240);
     this.Controls.Add(this.btnExit);
     this.Controls.Add(this.btnInsert);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox = false;
     this.Name = "frmAdd";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "�û����";
     this.Load += new System.EventHandler(this.frmAdd_Load);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
示例#2
0
文件: frmAdd.cs 项目: wwkkww1983/yh
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1   = new System.Windows.Forms.GroupBox();
     this.cmbManagers = new BengZhan.controls.myCmb();
     this.label5      = new System.Windows.Forms.Label();
     this.chkPower    = new System.Windows.Forms.CheckBox();
     this.txtPwdCer   = new System.Windows.Forms.TextBox();
     this.label4      = new System.Windows.Forms.Label();
     this.txtUserPwd  = new System.Windows.Forms.TextBox();
     this.label3      = new System.Windows.Forms.Label();
     this.txtUserName = new System.Windows.Forms.TextBox();
     this.label2      = new System.Windows.Forms.Label();
     this.txtUserID   = new System.Windows.Forms.TextBox();
     this.label1      = new System.Windows.Forms.Label();
     this.btnInsert   = new System.Windows.Forms.Button();
     this.btnExit     = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.cmbManagers);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.chkPower);
     this.groupBox1.Controls.Add(this.txtPwdCer);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.txtUserPwd);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.txtUserName);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.txtUserID);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(8, 8);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(280, 192);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     //
     // cmbManagers
     //
     this.cmbManagers.Location = new System.Drawing.Point(112, 160);
     this.cmbManagers.Name     = "cmbManagers";
     this.cmbManagers.Size     = new System.Drawing.Size(88, 20);
     this.cmbManagers.TabIndex = 0;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(208, 160);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(48, 23);
     this.label5.TabIndex  = 10;
     this.label5.Text      = "的权限";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chkPower
     //
     this.chkPower.Location        = new System.Drawing.Point(32, 160);
     this.chkPower.Name            = "chkPower";
     this.chkPower.Size            = new System.Drawing.Size(72, 24);
     this.chkPower.TabIndex        = 8;
     this.chkPower.Text            = "应用:";
     this.chkPower.CheckedChanged += new System.EventHandler(this.checkPower_CheckedChanged);
     //
     // txtPwdCer
     //
     this.txtPwdCer.Location     = new System.Drawing.Point(112, 128);
     this.txtPwdCer.Name         = "txtPwdCer";
     this.txtPwdCer.PasswordChar = '*';
     this.txtPwdCer.Size         = new System.Drawing.Size(144, 21);
     this.txtPwdCer.TabIndex     = 7;
     this.txtPwdCer.Text         = "";
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(32, 128);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(72, 23);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "密码确认:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtUserPwd
     //
     this.txtUserPwd.Location     = new System.Drawing.Point(112, 96);
     this.txtUserPwd.Name         = "txtUserPwd";
     this.txtUserPwd.PasswordChar = '*';
     this.txtUserPwd.Size         = new System.Drawing.Size(144, 21);
     this.txtUserPwd.TabIndex     = 5;
     this.txtUserPwd.Text         = "";
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(32, 96);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(72, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "用户密码:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtUserName
     //
     this.txtUserName.Location = new System.Drawing.Point(112, 64);
     this.txtUserName.Name     = "txtUserName";
     this.txtUserName.Size     = new System.Drawing.Size(144, 21);
     this.txtUserName.TabIndex = 3;
     this.txtUserName.Text     = "";
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(24, 64);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(80, 24);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "用户名:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtUserID
     //
     this.txtUserID.Location = new System.Drawing.Point(112, 32);
     this.txtUserID.Name     = "txtUserID";
     this.txtUserID.Size     = new System.Drawing.Size(144, 21);
     this.txtUserID.TabIndex = 1;
     this.txtUserID.Text     = "";
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(24, 32);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(80, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "用户ID:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // btnInsert
     //
     this.btnInsert.Location = new System.Drawing.Point(128, 208);
     this.btnInsert.Name     = "btnInsert";
     this.btnInsert.Size     = new System.Drawing.Size(64, 23);
     this.btnInsert.TabIndex = 1;
     this.btnInsert.Text     = "添加";
     this.btnInsert.Click   += new System.EventHandler(this.button1_Click);
     //
     // btnExit
     //
     this.btnExit.Location = new System.Drawing.Point(224, 208);
     this.btnExit.Name     = "btnExit";
     this.btnExit.Size     = new System.Drawing.Size(64, 24);
     this.btnExit.TabIndex = 2;
     this.btnExit.Text     = "退出";
     this.btnExit.Click   += new System.EventHandler(this.btnExit_Click);
     //
     // frmAdd
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(298, 240);
     this.Controls.Add(this.btnExit);
     this.Controls.Add(this.btnInsert);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.Name            = "frmAdd";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "用户添加";
     this.Load           += new System.EventHandler(this.frmAdd_Load);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }