Removed verify

This commit is contained in:
Ryan Ward 2022-01-25 00:01:13 -05:00
parent 34cbc2cd9d
commit 19b39a5cce
8 changed files with 18 additions and 51 deletions

Binary file not shown.

View File

@ -51,8 +51,6 @@ namespace OnePass
this.save_login = new System.Windows.Forms.Button(); this.save_login = new System.Windows.Forms.Button();
this.load_login = new System.Windows.Forms.Button(); this.load_login = new System.Windows.Forms.Button();
this.label7 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label();
this.verify = new System.Windows.Forms.TextBox();
this.verify_label = new System.Windows.Forms.Label();
this.checkBox1 = new System.Windows.Forms.CheckBox(); this.checkBox1 = new System.Windows.Forms.CheckBox();
((System.ComponentModel.ISupportInitialize)(this.passCycle)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.passCycle)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.passLength)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.passLength)).BeginInit();
@ -60,7 +58,7 @@ namespace OnePass
// //
// Generate // Generate
// //
this.Generate.Location = new System.Drawing.Point(259, 171); this.Generate.Location = new System.Drawing.Point(259, 154);
this.Generate.Name = "Generate"; this.Generate.Name = "Generate";
this.Generate.Size = new System.Drawing.Size(109, 20); this.Generate.Size = new System.Drawing.Size(109, 20);
this.Generate.TabIndex = 0; this.Generate.TabIndex = 0;
@ -70,7 +68,7 @@ namespace OnePass
// //
// passCycle // passCycle
// //
this.passCycle.Location = new System.Drawing.Point(209, 171); this.passCycle.Location = new System.Drawing.Point(209, 154);
this.passCycle.Maximum = new decimal(new int[] { this.passCycle.Maximum = new decimal(new int[] {
9999, 9999,
0, 0,
@ -82,7 +80,7 @@ namespace OnePass
// //
// passLength // passLength
// //
this.passLength.Location = new System.Drawing.Point(112, 172); this.passLength.Location = new System.Drawing.Point(112, 155);
this.passLength.Maximum = new decimal(new int[] { this.passLength.Maximum = new decimal(new int[] {
128, 128,
0, 0,
@ -106,7 +104,7 @@ namespace OnePass
// //
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold); this.label1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.label1.Location = new System.Drawing.Point(164, 174); this.label1.Location = new System.Drawing.Point(164, 157);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(39, 15); this.label1.Size = new System.Drawing.Size(39, 15);
this.label1.TabIndex = 4; this.label1.TabIndex = 4;
@ -116,7 +114,7 @@ namespace OnePass
// //
this.label2.AutoSize = true; this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold); this.label2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.label2.Location = new System.Drawing.Point(10, 173); this.label2.Location = new System.Drawing.Point(10, 156);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(101, 15); this.label2.Size = new System.Drawing.Size(101, 15);
this.label2.TabIndex = 5; this.label2.TabIndex = 5;
@ -182,7 +180,7 @@ namespace OnePass
this.label6.AutoSize = true; this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold); this.label6.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.label6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.label6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.label6.Location = new System.Drawing.Point(3, 99); this.label6.Location = new System.Drawing.Point(3, 82);
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(53, 15); this.label6.Size = new System.Drawing.Size(53, 15);
this.label6.TabIndex = 12; this.label6.TabIndex = 12;
@ -194,7 +192,7 @@ namespace OnePass
this.atoz.BackColor = System.Drawing.SystemColors.Highlight; this.atoz.BackColor = System.Drawing.SystemColors.Highlight;
this.atoz.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.atoz.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.atoz.Font = new System.Drawing.Font("Segoe UI", 20F); this.atoz.Font = new System.Drawing.Font("Segoe UI", 20F);
this.atoz.Location = new System.Drawing.Point(17, 117); this.atoz.Location = new System.Drawing.Point(17, 100);
this.atoz.Name = "atoz"; this.atoz.Name = "atoz";
this.atoz.Size = new System.Drawing.Size(56, 39); this.atoz.Size = new System.Drawing.Size(56, 39);
this.atoz.TabIndex = 13; this.atoz.TabIndex = 13;
@ -207,7 +205,7 @@ namespace OnePass
this.uAtoZ.BackColor = System.Drawing.SystemColors.Highlight; this.uAtoZ.BackColor = System.Drawing.SystemColors.Highlight;
this.uAtoZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.uAtoZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.uAtoZ.Font = new System.Drawing.Font("Segoe UI", 20F); this.uAtoZ.Font = new System.Drawing.Font("Segoe UI", 20F);
this.uAtoZ.Location = new System.Drawing.Point(79, 117); this.uAtoZ.Location = new System.Drawing.Point(79, 100);
this.uAtoZ.Name = "uAtoZ"; this.uAtoZ.Name = "uAtoZ";
this.uAtoZ.Size = new System.Drawing.Size(62, 39); this.uAtoZ.Size = new System.Drawing.Size(62, 39);
this.uAtoZ.TabIndex = 14; this.uAtoZ.TabIndex = 14;
@ -220,7 +218,7 @@ namespace OnePass
this.numbers.BackColor = System.Drawing.SystemColors.Highlight; this.numbers.BackColor = System.Drawing.SystemColors.Highlight;
this.numbers.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numbers.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.numbers.Font = new System.Drawing.Font("Segoe UI", 20F); this.numbers.Font = new System.Drawing.Font("Segoe UI", 20F);
this.numbers.Location = new System.Drawing.Point(147, 117); this.numbers.Location = new System.Drawing.Point(147, 100);
this.numbers.Name = "numbers"; this.numbers.Name = "numbers";
this.numbers.Size = new System.Drawing.Size(60, 39); this.numbers.Size = new System.Drawing.Size(60, 39);
this.numbers.TabIndex = 15; this.numbers.TabIndex = 15;
@ -233,7 +231,7 @@ namespace OnePass
this.special.BackColor = System.Drawing.SystemColors.Highlight; this.special.BackColor = System.Drawing.SystemColors.Highlight;
this.special.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.special.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.special.Font = new System.Drawing.Font("Segoe UI", 20F); this.special.Font = new System.Drawing.Font("Segoe UI", 20F);
this.special.Location = new System.Drawing.Point(213, 117); this.special.Location = new System.Drawing.Point(213, 100);
this.special.Name = "special"; this.special.Name = "special";
this.special.Size = new System.Drawing.Size(69, 39); this.special.Size = new System.Drawing.Size(69, 39);
this.special.TabIndex = 16; this.special.TabIndex = 16;
@ -246,7 +244,7 @@ namespace OnePass
this.extspc.BackColor = System.Drawing.SystemColors.InactiveCaption; this.extspc.BackColor = System.Drawing.SystemColors.InactiveCaption;
this.extspc.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.extspc.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.extspc.Font = new System.Drawing.Font("Segoe UI", 20F); this.extspc.Font = new System.Drawing.Font("Segoe UI", 20F);
this.extspc.Location = new System.Drawing.Point(288, 117); this.extspc.Location = new System.Drawing.Point(288, 100);
this.extspc.Name = "extspc"; this.extspc.Name = "extspc";
this.extspc.Size = new System.Drawing.Size(76, 39); this.extspc.Size = new System.Drawing.Size(76, 39);
this.extspc.TabIndex = 17; this.extspc.TabIndex = 17;
@ -289,37 +287,18 @@ namespace OnePass
this.label7.BackColor = System.Drawing.SystemColors.InactiveCaption; this.label7.BackColor = System.Drawing.SystemColors.InactiveCaption;
this.label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label7.Font = new System.Drawing.Font("Segoe UI", 20F); this.label7.Font = new System.Drawing.Font("Segoe UI", 20F);
this.label7.Location = new System.Drawing.Point(370, 117); this.label7.Location = new System.Drawing.Point(370, 100);
this.label7.Name = "label7"; this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(49, 39); this.label7.Size = new System.Drawing.Size(49, 39);
this.label7.TabIndex = 21; this.label7.TabIndex = 21;
this.label7.Text = "Pn"; this.label7.Text = "Pn";
this.label7.Click += new System.EventHandler(this.label7_Click); this.label7.Click += new System.EventHandler(this.label7_Click);
// //
// verify
//
this.verify.Location = new System.Drawing.Point(107, 82);
this.verify.Name = "verify";
this.verify.Size = new System.Drawing.Size(257, 20);
this.verify.TabIndex = 22;
this.verify.UseSystemPasswordChar = true;
//
// verify_label
//
this.verify_label.AutoSize = true;
this.verify_label.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.verify_label.Location = new System.Drawing.Point(64, 84);
this.verify_label.Name = "verify_label";
this.verify_label.Size = new System.Drawing.Size(43, 15);
this.verify_label.TabIndex = 23;
this.verify_label.Text = "Verify:";
this.verify_label.Click += new System.EventHandler(this.label8_Click);
//
// checkBox1 // checkBox1
// //
this.checkBox1.AutoSize = true; this.checkBox1.AutoSize = true;
this.checkBox1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold); this.checkBox1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.checkBox1.Location = new System.Drawing.Point(371, 84); this.checkBox1.Location = new System.Drawing.Point(371, 79);
this.checkBox1.Name = "checkBox1"; this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(57, 19); this.checkBox1.Size = new System.Drawing.Size(57, 19);
this.checkBox1.TabIndex = 24; this.checkBox1.TabIndex = 24;
@ -332,10 +311,8 @@ namespace OnePass
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(426, 198); this.ClientSize = new System.Drawing.Size(426, 183);
this.Controls.Add(this.checkBox1); this.Controls.Add(this.checkBox1);
this.Controls.Add(this.verify_label);
this.Controls.Add(this.verify);
this.Controls.Add(this.label7); this.Controls.Add(this.label7);
this.Controls.Add(this.load_login); this.Controls.Add(this.load_login);
this.Controls.Add(this.save_login); this.Controls.Add(this.save_login);
@ -358,10 +335,10 @@ namespace OnePass
this.Controls.Add(this.passCycle); this.Controls.Add(this.passCycle);
this.Controls.Add(this.Generate); this.Controls.Add(this.Generate);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximumSize = new System.Drawing.Size(442, 237); this.MaximumSize = new System.Drawing.Size(442, 222);
this.MinimumSize = new System.Drawing.Size(442, 237); this.MinimumSize = new System.Drawing.Size(442, 222);
this.Name = "Form1"; this.Name = "Form1";
this.Text = "OnePass V4.0"; this.Text = "OnePass V5.0";
((System.ComponentModel.ISupportInitialize)(this.passCycle)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.passCycle)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.passLength)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.passLength)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
@ -392,8 +369,6 @@ namespace OnePass
private System.Windows.Forms.Button save_login; private System.Windows.Forms.Button save_login;
private System.Windows.Forms.Button load_login; private System.Windows.Forms.Button load_login;
private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox verify;
private System.Windows.Forms.Label verify_label;
private System.Windows.Forms.CheckBox checkBox1; private System.Windows.Forms.CheckBox checkBox1;
} }
} }

View File

@ -177,11 +177,6 @@ namespace OnePass
} }
private void Generate_Click(object sender, EventArgs e) private void Generate_Click(object sender, EventArgs e)
{ {
if(!checkBox1.Checked && masterpass.Text != verify.Text)
{
MessageBox.Show("Passwords must match!");
return;
}
if (sitename.Text == "" || username.Text == "" || masterpass.Text == "") if (sitename.Text == "" || username.Text == "" || masterpass.Text == "")
{ {
MessageBox.Show("Cannot leave a field blank!"); MessageBox.Show("Cannot leave a field blank!");
@ -238,7 +233,6 @@ namespace OnePass
MessageBox.Show("Attempt to capture clipboard data over the network! (Are you using remote desktop w/clipboard)"); MessageBox.Show("Attempt to capture clipboard data over the network! (Are you using remote desktop w/clipboard)");
} }
masterpass.Text = ""; masterpass.Text = "";
verify.Text = "";
Generate.Text = "Copied to Clipboard"; Generate.Text = "Copied to Clipboard";
Generate.Enabled = false; Generate.Enabled = false;
Update(); Update();
@ -330,9 +324,6 @@ namespace OnePass
private void checkBox1_CheckedChanged(object sender, EventArgs e) private void checkBox1_CheckedChanged(object sender, EventArgs e)
{ {
masterpass.UseSystemPasswordChar = !checkBox1.Checked; masterpass.UseSystemPasswordChar = !checkBox1.Checked;
verify.UseSystemPasswordChar = !checkBox1.Checked;
verify_label.Enabled = !checkBox1.Checked;
verify.Enabled = !checkBox1.Checked;
} }
} }
} }

Binary file not shown.

View File

@ -28,3 +28,4 @@ G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.csproj.GenerateResource.cach
G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.csproj.CoreCompileInputs.cache G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.csproj.CoreCompileInputs.cache
G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.exe G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.exe
G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.pdb G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.pdb
G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.csproj.AssemblyReference.cache

Binary file not shown.

Binary file not shown.