|
@@ -30,19 +30,19 @@
|
|
|
{
|
|
|
this.tabControl1 = new System.Windows.Forms.TabControl();
|
|
|
this.tabPage1 = new System.Windows.Forms.TabPage();
|
|
|
- this.tabPage2 = new System.Windows.Forms.TabPage();
|
|
|
- this.login = new System.Windows.Forms.TextBox();
|
|
|
- this.password = new System.Windows.Forms.TextBox();
|
|
|
+ this.AddUser = new System.Windows.Forms.Button();
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
- this.admin = new System.Windows.Forms.RadioButton();
|
|
|
this.manager = new System.Windows.Forms.RadioButton();
|
|
|
- this.AddUser = new System.Windows.Forms.Button();
|
|
|
- this.LoginDel = new System.Windows.Forms.TextBox();
|
|
|
+ this.admin = new System.Windows.Forms.RadioButton();
|
|
|
+ this.password = new System.Windows.Forms.TextBox();
|
|
|
+ this.login = new System.Windows.Forms.TextBox();
|
|
|
+ this.tabPage2 = new System.Windows.Forms.TabPage();
|
|
|
this.Delete = new System.Windows.Forms.Button();
|
|
|
+ this.LoginDel = new System.Windows.Forms.TextBox();
|
|
|
this.tabControl1.SuspendLayout();
|
|
|
this.tabPage1.SuspendLayout();
|
|
|
- this.tabPage2.SuspendLayout();
|
|
|
this.panel1.SuspendLayout();
|
|
|
+ this.tabPage2.SuspendLayout();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// tabControl1
|
|
@@ -52,7 +52,7 @@
|
|
|
this.tabControl1.Location = new System.Drawing.Point(0, 0);
|
|
|
this.tabControl1.Name = "tabControl1";
|
|
|
this.tabControl1.SelectedIndex = 0;
|
|
|
- this.tabControl1.Size = new System.Drawing.Size(788, 438);
|
|
|
+ this.tabControl1.Size = new System.Drawing.Size(369, 438);
|
|
|
this.tabControl1.TabIndex = 0;
|
|
|
//
|
|
|
// tabPage1
|
|
@@ -64,45 +64,42 @@
|
|
|
this.tabPage1.Location = new System.Drawing.Point(4, 22);
|
|
|
this.tabPage1.Name = "tabPage1";
|
|
|
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
|
|
- this.tabPage1.Size = new System.Drawing.Size(780, 412);
|
|
|
+ this.tabPage1.Size = new System.Drawing.Size(361, 412);
|
|
|
this.tabPage1.TabIndex = 0;
|
|
|
this.tabPage1.Text = "Добавить";
|
|
|
this.tabPage1.UseVisualStyleBackColor = true;
|
|
|
+ this.tabPage1.Click += new System.EventHandler(this.tabPage1_Click);
|
|
|
//
|
|
|
- // tabPage2
|
|
|
- //
|
|
|
- this.tabPage2.Controls.Add(this.Delete);
|
|
|
- this.tabPage2.Controls.Add(this.LoginDel);
|
|
|
- this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
|
|
- this.tabPage2.Name = "tabPage2";
|
|
|
- this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
|
|
- this.tabPage2.Size = new System.Drawing.Size(780, 412);
|
|
|
- this.tabPage2.TabIndex = 1;
|
|
|
- this.tabPage2.Text = "Удалить";
|
|
|
- this.tabPage2.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // login
|
|
|
- //
|
|
|
- this.login.Location = new System.Drawing.Point(150, 76);
|
|
|
- this.login.Name = "login";
|
|
|
- this.login.Size = new System.Drawing.Size(152, 20);
|
|
|
- this.login.TabIndex = 0;
|
|
|
- //
|
|
|
- // password
|
|
|
+ // AddUser
|
|
|
//
|
|
|
- this.password.Location = new System.Drawing.Point(150, 123);
|
|
|
- this.password.Name = "password";
|
|
|
- this.password.Size = new System.Drawing.Size(151, 20);
|
|
|
- this.password.TabIndex = 1;
|
|
|
+ this.AddUser.Location = new System.Drawing.Point(75, 298);
|
|
|
+ this.AddUser.Name = "AddUser";
|
|
|
+ this.AddUser.Size = new System.Drawing.Size(151, 34);
|
|
|
+ this.AddUser.TabIndex = 3;
|
|
|
+ this.AddUser.Text = "Добавить пользователя";
|
|
|
+ this.AddUser.UseVisualStyleBackColor = true;
|
|
|
+ this.AddUser.Click += new System.EventHandler(this.AddUser_Click);
|
|
|
//
|
|
|
// panel1
|
|
|
//
|
|
|
this.panel1.Controls.Add(this.manager);
|
|
|
this.panel1.Controls.Add(this.admin);
|
|
|
- this.panel1.Location = new System.Drawing.Point(127, 218);
|
|
|
+ this.panel1.Location = new System.Drawing.Point(52, 214);
|
|
|
this.panel1.Name = "panel1";
|
|
|
this.panel1.Size = new System.Drawing.Size(237, 49);
|
|
|
this.panel1.TabIndex = 2;
|
|
|
+ this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
|
|
|
+ //
|
|
|
+ // manager
|
|
|
+ //
|
|
|
+ this.manager.AutoSize = true;
|
|
|
+ this.manager.Location = new System.Drawing.Point(121, 13);
|
|
|
+ this.manager.Name = "manager";
|
|
|
+ this.manager.Size = new System.Drawing.Size(77, 17);
|
|
|
+ this.manager.TabIndex = 1;
|
|
|
+ this.manager.TabStop = true;
|
|
|
+ this.manager.Text = "менеджер";
|
|
|
+ this.manager.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
// admin
|
|
|
//
|
|
@@ -115,37 +112,37 @@
|
|
|
this.admin.Text = "Админ";
|
|
|
this.admin.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
- // manager
|
|
|
+ // password
|
|
|
//
|
|
|
- this.manager.AutoSize = true;
|
|
|
- this.manager.Location = new System.Drawing.Point(121, 13);
|
|
|
- this.manager.Name = "manager";
|
|
|
- this.manager.Size = new System.Drawing.Size(77, 17);
|
|
|
- this.manager.TabIndex = 1;
|
|
|
- this.manager.TabStop = true;
|
|
|
- this.manager.Text = "менеджер";
|
|
|
- this.manager.UseVisualStyleBackColor = true;
|
|
|
+ this.password.Location = new System.Drawing.Point(75, 119);
|
|
|
+ this.password.Name = "password";
|
|
|
+ this.password.Size = new System.Drawing.Size(151, 20);
|
|
|
+ this.password.TabIndex = 1;
|
|
|
+ this.password.TextChanged += new System.EventHandler(this.password_TextChanged);
|
|
|
//
|
|
|
- // AddUser
|
|
|
+ // login
|
|
|
//
|
|
|
- this.AddUser.Location = new System.Drawing.Point(150, 302);
|
|
|
- this.AddUser.Name = "AddUser";
|
|
|
- this.AddUser.Size = new System.Drawing.Size(151, 34);
|
|
|
- this.AddUser.TabIndex = 3;
|
|
|
- this.AddUser.Text = "Добавить пользователя";
|
|
|
- this.AddUser.UseVisualStyleBackColor = true;
|
|
|
- this.AddUser.Click += new System.EventHandler(this.AddUser_Click);
|
|
|
+ this.login.Location = new System.Drawing.Point(75, 72);
|
|
|
+ this.login.Name = "login";
|
|
|
+ this.login.Size = new System.Drawing.Size(152, 20);
|
|
|
+ this.login.TabIndex = 0;
|
|
|
+ this.login.TextChanged += new System.EventHandler(this.login_TextChanged);
|
|
|
//
|
|
|
- // LoginDel
|
|
|
+ // tabPage2
|
|
|
//
|
|
|
- this.LoginDel.Location = new System.Drawing.Point(20, 22);
|
|
|
- this.LoginDel.Name = "LoginDel";
|
|
|
- this.LoginDel.Size = new System.Drawing.Size(100, 20);
|
|
|
- this.LoginDel.TabIndex = 0;
|
|
|
+ this.tabPage2.Controls.Add(this.Delete);
|
|
|
+ this.tabPage2.Controls.Add(this.LoginDel);
|
|
|
+ this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
|
|
+ this.tabPage2.Name = "tabPage2";
|
|
|
+ this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
|
|
+ this.tabPage2.Size = new System.Drawing.Size(361, 412);
|
|
|
+ this.tabPage2.TabIndex = 1;
|
|
|
+ this.tabPage2.Text = "Удалить";
|
|
|
+ this.tabPage2.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
// Delete
|
|
|
//
|
|
|
- this.Delete.Location = new System.Drawing.Point(8, 74);
|
|
|
+ this.Delete.Location = new System.Drawing.Point(94, 206);
|
|
|
this.Delete.Name = "Delete";
|
|
|
this.Delete.Size = new System.Drawing.Size(154, 23);
|
|
|
this.Delete.TabIndex = 1;
|
|
@@ -153,11 +150,18 @@
|
|
|
this.Delete.UseVisualStyleBackColor = true;
|
|
|
this.Delete.Click += new System.EventHandler(this.Delete_Click);
|
|
|
//
|
|
|
+ // LoginDel
|
|
|
+ //
|
|
|
+ this.LoginDel.Location = new System.Drawing.Point(120, 150);
|
|
|
+ this.LoginDel.Name = "LoginDel";
|
|
|
+ this.LoginDel.Size = new System.Drawing.Size(100, 20);
|
|
|
+ this.LoginDel.TabIndex = 0;
|
|
|
+ //
|
|
|
// Form2
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(800, 450);
|
|
|
+ this.ClientSize = new System.Drawing.Size(376, 450);
|
|
|
this.Controls.Add(this.tabControl1);
|
|
|
this.Name = "Form2";
|
|
|
this.Text = "ПанельУправления";
|
|
@@ -165,10 +169,10 @@
|
|
|
this.tabControl1.ResumeLayout(false);
|
|
|
this.tabPage1.ResumeLayout(false);
|
|
|
this.tabPage1.PerformLayout();
|
|
|
- this.tabPage2.ResumeLayout(false);
|
|
|
- this.tabPage2.PerformLayout();
|
|
|
this.panel1.ResumeLayout(false);
|
|
|
this.panel1.PerformLayout();
|
|
|
+ this.tabPage2.ResumeLayout(false);
|
|
|
+ this.tabPage2.PerformLayout();
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
}
|