This commit is contained in:
2022-07-25 16:37:40 +00:00
parent b536fbb3be
commit d9ba8e9f51
7 changed files with 189 additions and 89 deletions

View File

@@ -33,11 +33,13 @@
this.btnVerifyCode = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// edTFACode
//
this.edTFACode.Location = new System.Drawing.Point(15, 66);
this.edTFACode.Location = new System.Drawing.Point(14, 48);
this.edTFACode.Name = "edTFACode";
this.edTFACode.Size = new System.Drawing.Size(284, 20);
this.edTFACode.TabIndex = 3;
@@ -45,7 +47,7 @@
// btnVerifyCode
//
this.btnVerifyCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnVerifyCode.Location = new System.Drawing.Point(224, 126);
this.btnVerifyCode.Location = new System.Drawing.Point(223, 107);
this.btnVerifyCode.Name = "btnVerifyCode";
this.btnVerifyCode.Size = new System.Drawing.Size(75, 23);
this.btnVerifyCode.TabIndex = 9;
@@ -57,7 +59,7 @@
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(12, 126);
this.btnCancel.Location = new System.Drawing.Point(14, 107);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 10;
@@ -67,12 +69,24 @@
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 36);
this.label1.Location = new System.Drawing.Point(11, 18);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(93, 13);
this.label1.TabIndex = 11;
this.label1.Text = "Enter 6 digit code";
//
// panel1
//
this.panel1.Controls.Add(this.btnCancel);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.edTFACode);
this.panel1.Controls.Add(this.btnVerifyCode);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(318, 142);
this.panel1.TabIndex = 12;
//
// tfa
//
this.AcceptButton = this.btnVerifyCode;
@@ -80,19 +94,17 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(318, 179);
this.ClientSize = new System.Drawing.Size(318, 142);
this.ControlBox = false;
this.Controls.Add(this.label1);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnVerifyCode);
this.Controls.Add(this.edTFACode);
this.Controls.Add(this.panel1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "tfa";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Two-Factor Authentication";
this.Load += new System.EventHandler(this.auth_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
@@ -101,5 +113,6 @@
private System.Windows.Forms.Button btnVerifyCode;
private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel panel1;
}
}