|
|
@@ -31,8 +31,8 @@
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
- this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
this.TbxLogin = new System.Windows.Forms.TextBox();
|
|
|
this.TbxPassw = new System.Windows.Forms.TextBox();
|
|
|
@@ -42,19 +42,20 @@
|
|
|
this.techServiceBAUDataSet = new СУБД_Техносервис.TechServiceBAUDataSet();
|
|
|
this.BsEmployee = new System.Windows.Forms.BindingSource(this.components);
|
|
|
this.employeeTableAdapter = new СУБД_Техносервис.TechServiceBAUDataSetTableAdapters.EmployeeTableAdapter();
|
|
|
- this.panel2 = new System.Windows.Forms.Panel();
|
|
|
- this.PCapcha = new System.Windows.Forms.Panel();
|
|
|
- this.TbxCapcha = new System.Windows.Forms.TextBox();
|
|
|
+ this.PanelCapcha = new System.Windows.Forms.Panel();
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
|
- this.LblC1 = new System.Windows.Forms.Label();
|
|
|
- this.LblC2 = new System.Windows.Forms.Label();
|
|
|
- this.LblC3 = new System.Windows.Forms.Label();
|
|
|
+ this.TbxCapcha = new System.Windows.Forms.TextBox();
|
|
|
+ this.PCapcha = new System.Windows.Forms.Panel();
|
|
|
this.LblC4 = new System.Windows.Forms.Label();
|
|
|
+ this.LblC3 = new System.Windows.Forms.Label();
|
|
|
+ this.LblC2 = new System.Windows.Forms.Label();
|
|
|
+ this.LblC1 = new System.Windows.Forms.Label();
|
|
|
+ this.TimerForLogin = new System.Windows.Forms.Timer(this.components);
|
|
|
this.panel1.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.techServiceBAUDataSet)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.BsEmployee)).BeginInit();
|
|
|
- this.panel2.SuspendLayout();
|
|
|
+ this.PanelCapcha.SuspendLayout();
|
|
|
this.PCapcha.SuspendLayout();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
@@ -69,6 +70,16 @@
|
|
|
this.panel1.Size = new System.Drawing.Size(495, 100);
|
|
|
this.panel1.TabIndex = 0;
|
|
|
//
|
|
|
+ // label1
|
|
|
+ //
|
|
|
+ this.label1.AutoSize = true;
|
|
|
+ this.label1.Font = new System.Drawing.Font("Arial Narrow", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.label1.Location = new System.Drawing.Point(35, 31);
|
|
|
+ this.label1.Name = "label1";
|
|
|
+ this.label1.Size = new System.Drawing.Size(177, 37);
|
|
|
+ this.label1.TabIndex = 1;
|
|
|
+ this.label1.Text = "Авторизация";
|
|
|
+ //
|
|
|
// pictureBox1
|
|
|
//
|
|
|
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Right;
|
|
|
@@ -80,16 +91,6 @@
|
|
|
this.pictureBox1.TabIndex = 0;
|
|
|
this.pictureBox1.TabStop = false;
|
|
|
//
|
|
|
- // label1
|
|
|
- //
|
|
|
- this.label1.AutoSize = true;
|
|
|
- this.label1.Font = new System.Drawing.Font("Arial Narrow", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
- this.label1.Location = new System.Drawing.Point(35, 31);
|
|
|
- this.label1.Name = "label1";
|
|
|
- this.label1.Size = new System.Drawing.Size(177, 37);
|
|
|
- this.label1.TabIndex = 1;
|
|
|
- this.label1.Text = "Авторизация";
|
|
|
- //
|
|
|
// label2
|
|
|
//
|
|
|
this.label2.AutoSize = true;
|
|
|
@@ -105,6 +106,7 @@
|
|
|
this.TbxLogin.Name = "TbxLogin";
|
|
|
this.TbxLogin.Size = new System.Drawing.Size(157, 21);
|
|
|
this.TbxLogin.TabIndex = 2;
|
|
|
+ this.TbxLogin.Text = "m";
|
|
|
//
|
|
|
// TbxPassw
|
|
|
//
|
|
|
@@ -112,6 +114,7 @@
|
|
|
this.TbxPassw.Name = "TbxPassw";
|
|
|
this.TbxPassw.Size = new System.Drawing.Size(157, 21);
|
|
|
this.TbxPassw.TabIndex = 4;
|
|
|
+ this.TbxPassw.Text = "m";
|
|
|
this.TbxPassw.UseSystemPasswordChar = true;
|
|
|
//
|
|
|
// label3
|
|
|
@@ -160,15 +163,32 @@
|
|
|
//
|
|
|
this.employeeTableAdapter.ClearBeforeFill = true;
|
|
|
//
|
|
|
- // panel2
|
|
|
+ // PanelCapcha
|
|
|
+ //
|
|
|
+ this.PanelCapcha.Controls.Add(this.label4);
|
|
|
+ this.PanelCapcha.Controls.Add(this.TbxCapcha);
|
|
|
+ this.PanelCapcha.Controls.Add(this.PCapcha);
|
|
|
+ this.PanelCapcha.Location = new System.Drawing.Point(238, 132);
|
|
|
+ this.PanelCapcha.Name = "PanelCapcha";
|
|
|
+ this.PanelCapcha.Size = new System.Drawing.Size(233, 143);
|
|
|
+ this.PanelCapcha.TabIndex = 7;
|
|
|
+ this.PanelCapcha.Visible = false;
|
|
|
//
|
|
|
- this.panel2.Controls.Add(this.label4);
|
|
|
- this.panel2.Controls.Add(this.TbxCapcha);
|
|
|
- this.panel2.Controls.Add(this.PCapcha);
|
|
|
- this.panel2.Location = new System.Drawing.Point(238, 132);
|
|
|
- this.panel2.Name = "panel2";
|
|
|
- this.panel2.Size = new System.Drawing.Size(233, 143);
|
|
|
- this.panel2.TabIndex = 7;
|
|
|
+ // label4
|
|
|
+ //
|
|
|
+ this.label4.AutoSize = true;
|
|
|
+ this.label4.Location = new System.Drawing.Point(32, 109);
|
|
|
+ this.label4.Name = "label4";
|
|
|
+ this.label4.Size = new System.Drawing.Size(75, 16);
|
|
|
+ this.label4.TabIndex = 2;
|
|
|
+ this.label4.Text = "Введите капчу";
|
|
|
+ //
|
|
|
+ // TbxCapcha
|
|
|
+ //
|
|
|
+ this.TbxCapcha.Location = new System.Drawing.Point(113, 106);
|
|
|
+ this.TbxCapcha.Name = "TbxCapcha";
|
|
|
+ this.TbxCapcha.Size = new System.Drawing.Size(100, 21);
|
|
|
+ this.TbxCapcha.TabIndex = 1;
|
|
|
//
|
|
|
// PCapcha
|
|
|
//
|
|
|
@@ -184,32 +204,27 @@
|
|
|
this.PCapcha.TabIndex = 0;
|
|
|
this.PCapcha.Paint += new System.Windows.Forms.PaintEventHandler(this.PCapcha_Paint);
|
|
|
//
|
|
|
- // TbxCapcha
|
|
|
- //
|
|
|
- this.TbxCapcha.Location = new System.Drawing.Point(113, 106);
|
|
|
- this.TbxCapcha.Name = "TbxCapcha";
|
|
|
- this.TbxCapcha.Size = new System.Drawing.Size(100, 21);
|
|
|
- this.TbxCapcha.TabIndex = 1;
|
|
|
- //
|
|
|
- // label4
|
|
|
+ // LblC4
|
|
|
//
|
|
|
- this.label4.AutoSize = true;
|
|
|
- this.label4.Location = new System.Drawing.Point(32, 109);
|
|
|
- this.label4.Name = "label4";
|
|
|
- this.label4.Size = new System.Drawing.Size(75, 16);
|
|
|
- this.label4.TabIndex = 2;
|
|
|
- this.label4.Text = "Введите капчу";
|
|
|
+ this.LblC4.AutoSize = true;
|
|
|
+ this.LblC4.BackColor = System.Drawing.Color.Transparent;
|
|
|
+ this.LblC4.Font = new System.Drawing.Font("MV Boli", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
+ this.LblC4.Location = new System.Drawing.Point(175, 46);
|
|
|
+ this.LblC4.Name = "LblC4";
|
|
|
+ this.LblC4.Size = new System.Drawing.Size(38, 41);
|
|
|
+ this.LblC4.TabIndex = 3;
|
|
|
+ this.LblC4.Text = "S";
|
|
|
//
|
|
|
- // LblC1
|
|
|
+ // LblC3
|
|
|
//
|
|
|
- this.LblC1.AutoSize = true;
|
|
|
- this.LblC1.BackColor = System.Drawing.Color.Transparent;
|
|
|
- this.LblC1.Font = new System.Drawing.Font("MV Boli", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
- this.LblC1.Location = new System.Drawing.Point(17, 18);
|
|
|
- this.LblC1.Name = "LblC1";
|
|
|
- this.LblC1.Size = new System.Drawing.Size(38, 41);
|
|
|
- this.LblC1.TabIndex = 0;
|
|
|
- this.LblC1.Text = "S";
|
|
|
+ this.LblC3.AutoSize = true;
|
|
|
+ this.LblC3.BackColor = System.Drawing.Color.Transparent;
|
|
|
+ this.LblC3.Font = new System.Drawing.Font("MV Boli", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
+ this.LblC3.Location = new System.Drawing.Point(116, 18);
|
|
|
+ this.LblC3.Name = "LblC3";
|
|
|
+ this.LblC3.Size = new System.Drawing.Size(38, 41);
|
|
|
+ this.LblC3.TabIndex = 2;
|
|
|
+ this.LblC3.Text = "S";
|
|
|
//
|
|
|
// LblC2
|
|
|
//
|
|
|
@@ -222,27 +237,21 @@
|
|
|
this.LblC2.TabIndex = 1;
|
|
|
this.LblC2.Text = "S";
|
|
|
//
|
|
|
- // LblC3
|
|
|
+ // LblC1
|
|
|
//
|
|
|
- this.LblC3.AutoSize = true;
|
|
|
- this.LblC3.BackColor = System.Drawing.Color.Transparent;
|
|
|
- this.LblC3.Font = new System.Drawing.Font("MV Boli", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
- this.LblC3.Location = new System.Drawing.Point(116, 18);
|
|
|
- this.LblC3.Name = "LblC3";
|
|
|
- this.LblC3.Size = new System.Drawing.Size(38, 41);
|
|
|
- this.LblC3.TabIndex = 2;
|
|
|
- this.LblC3.Text = "S";
|
|
|
+ this.LblC1.AutoSize = true;
|
|
|
+ this.LblC1.BackColor = System.Drawing.Color.Transparent;
|
|
|
+ this.LblC1.Font = new System.Drawing.Font("MV Boli", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
+ this.LblC1.Location = new System.Drawing.Point(17, 18);
|
|
|
+ this.LblC1.Name = "LblC1";
|
|
|
+ this.LblC1.Size = new System.Drawing.Size(38, 41);
|
|
|
+ this.LblC1.TabIndex = 0;
|
|
|
+ this.LblC1.Text = "S";
|
|
|
//
|
|
|
- // LblC4
|
|
|
+ // TimerForLogin
|
|
|
//
|
|
|
- this.LblC4.AutoSize = true;
|
|
|
- this.LblC4.BackColor = System.Drawing.Color.Transparent;
|
|
|
- this.LblC4.Font = new System.Drawing.Font("MV Boli", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
- this.LblC4.Location = new System.Drawing.Point(175, 46);
|
|
|
- this.LblC4.Name = "LblC4";
|
|
|
- this.LblC4.Size = new System.Drawing.Size(38, 41);
|
|
|
- this.LblC4.TabIndex = 3;
|
|
|
- this.LblC4.Text = "S";
|
|
|
+ this.TimerForLogin.Interval = 10000;
|
|
|
+ this.TimerForLogin.Tick += new System.EventHandler(this.TimerForLogin_Tick);
|
|
|
//
|
|
|
// FormMain
|
|
|
//
|
|
|
@@ -250,7 +259,7 @@
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.BackColor = System.Drawing.Color.White;
|
|
|
this.ClientSize = new System.Drawing.Size(495, 304);
|
|
|
- this.Controls.Add(this.panel2);
|
|
|
+ this.Controls.Add(this.PanelCapcha);
|
|
|
this.Controls.Add(this.CbxShowPassw);
|
|
|
this.Controls.Add(this.BtnVhod);
|
|
|
this.Controls.Add(this.TbxPassw);
|
|
|
@@ -273,8 +282,8 @@
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.techServiceBAUDataSet)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.BsEmployee)).EndInit();
|
|
|
- this.panel2.ResumeLayout(false);
|
|
|
- this.panel2.PerformLayout();
|
|
|
+ this.PanelCapcha.ResumeLayout(false);
|
|
|
+ this.PanelCapcha.PerformLayout();
|
|
|
this.PCapcha.ResumeLayout(false);
|
|
|
this.PCapcha.PerformLayout();
|
|
|
this.ResumeLayout(false);
|
|
|
@@ -296,7 +305,7 @@
|
|
|
private TechServiceBAUDataSet techServiceBAUDataSet;
|
|
|
private System.Windows.Forms.BindingSource BsEmployee;
|
|
|
private TechServiceBAUDataSetTableAdapters.EmployeeTableAdapter employeeTableAdapter;
|
|
|
- private System.Windows.Forms.Panel panel2;
|
|
|
+ private System.Windows.Forms.Panel PanelCapcha;
|
|
|
private System.Windows.Forms.Label label4;
|
|
|
private System.Windows.Forms.TextBox TbxCapcha;
|
|
|
private System.Windows.Forms.Panel PCapcha;
|
|
|
@@ -304,6 +313,7 @@
|
|
|
private System.Windows.Forms.Label LblC3;
|
|
|
private System.Windows.Forms.Label LblC2;
|
|
|
private System.Windows.Forms.Label LblC1;
|
|
|
+ private System.Windows.Forms.Timer TimerForLogin;
|
|
|
}
|
|
|
}
|
|
|
|