Initial commit
This commit is contained in:
13 files changed
+1320
No files matched your search
Generated
+305
@@ -0,0 +1,305 @@
|
||||
using System.Drawing;
|
||||
|
||||
namespace PasswordGenerator
|
||||
{
|
||||
partial class Form1
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
||||
this.TitleText = new System.Windows.Forms.Label();
|
||||
this.InfoText = new System.Windows.Forms.Label();
|
||||
this.LengthText = new System.Windows.Forms.Label();
|
||||
this.LengthSlider = new System.Windows.Forms.TrackBar();
|
||||
this.PresetLength8Button = new System.Windows.Forms.Button();
|
||||
this.PresetLength16Button = new System.Windows.Forms.Button();
|
||||
this.PresetLength32Button = new System.Windows.Forms.Button();
|
||||
this.PresetLength64Button = new System.Windows.Forms.Button();
|
||||
this.PresetLength128Button = new System.Windows.Forms.Button();
|
||||
this.CharsText = new System.Windows.Forms.Label();
|
||||
this.UppercaseCheck = new System.Windows.Forms.CheckBox();
|
||||
this.LowercaseCheck = new System.Windows.Forms.CheckBox();
|
||||
this.NumbersCheck = new System.Windows.Forms.CheckBox();
|
||||
this.SymbolsCheck = new System.Windows.Forms.CheckBox();
|
||||
this.PasswordOutput = new System.Windows.Forms.TextBox();
|
||||
this.CopyButton = new System.Windows.Forms.Button();
|
||||
this.RegenerateButton = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.LengthSlider)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// TitleText
|
||||
//
|
||||
this.TitleText.Cursor = System.Windows.Forms.Cursors.Default;
|
||||
this.TitleText.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold);
|
||||
this.TitleText.Location = new System.Drawing.Point(12, 9);
|
||||
this.TitleText.Name = "TitleText";
|
||||
this.TitleText.Size = new System.Drawing.Size(360, 45);
|
||||
this.TitleText.TabIndex = 0;
|
||||
this.TitleText.Text = "Password Generator";
|
||||
this.TitleText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// InfoText
|
||||
//
|
||||
this.InfoText.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.InfoText.Location = new System.Drawing.Point(18, 54);
|
||||
this.InfoText.Name = "InfoText";
|
||||
this.InfoText.Size = new System.Drawing.Size(354, 41);
|
||||
this.InfoText.TabIndex = 1;
|
||||
this.InfoText.Text = "Select a length, or use the slider for a custom value.";
|
||||
this.InfoText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// LengthText
|
||||
//
|
||||
this.LengthText.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.LengthText.Location = new System.Drawing.Point(12, 95);
|
||||
this.LengthText.Name = "LengthText";
|
||||
this.LengthText.Size = new System.Drawing.Size(360, 38);
|
||||
this.LengthText.TabIndex = 2;
|
||||
this.LengthText.Text = "Password Length: 8";
|
||||
this.LengthText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// LengthSlider
|
||||
//
|
||||
this.LengthSlider.LargeChange = 50;
|
||||
this.LengthSlider.Location = new System.Drawing.Point(12, 136);
|
||||
this.LengthSlider.Maximum = 500;
|
||||
this.LengthSlider.Minimum = 1;
|
||||
this.LengthSlider.Name = "LengthSlider";
|
||||
this.LengthSlider.Size = new System.Drawing.Size(360, 45);
|
||||
this.LengthSlider.TabIndex = 3;
|
||||
this.LengthSlider.TickFrequency = 50;
|
||||
this.LengthSlider.Value = 8;
|
||||
this.LengthSlider.ValueChanged += new System.EventHandler(this.LengthSlider_ValueChanged);
|
||||
//
|
||||
// PresetLength8Button
|
||||
//
|
||||
this.PresetLength8Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.PresetLength8Button.Location = new System.Drawing.Point(85, 187);
|
||||
this.PresetLength8Button.Name = "PresetLength8Button";
|
||||
this.PresetLength8Button.Size = new System.Drawing.Size(36, 36);
|
||||
this.PresetLength8Button.TabIndex = 4;
|
||||
this.PresetLength8Button.Text = "8";
|
||||
this.PresetLength8Button.UseVisualStyleBackColor = true;
|
||||
this.PresetLength8Button.Click += new System.EventHandler(this.PresetLength8Button_Click);
|
||||
//
|
||||
// PresetLength16Button
|
||||
//
|
||||
this.PresetLength16Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.PresetLength16Button.Location = new System.Drawing.Point(127, 187);
|
||||
this.PresetLength16Button.Name = "PresetLength16Button";
|
||||
this.PresetLength16Button.Size = new System.Drawing.Size(36, 36);
|
||||
this.PresetLength16Button.TabIndex = 5;
|
||||
this.PresetLength16Button.Text = "16";
|
||||
this.PresetLength16Button.UseVisualStyleBackColor = true;
|
||||
this.PresetLength16Button.Click += new System.EventHandler(this.PresetLength16Button_Click);
|
||||
//
|
||||
// PresetLength32Button
|
||||
//
|
||||
this.PresetLength32Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.PresetLength32Button.Location = new System.Drawing.Point(169, 187);
|
||||
this.PresetLength32Button.Name = "PresetLength32Button";
|
||||
this.PresetLength32Button.Size = new System.Drawing.Size(36, 36);
|
||||
this.PresetLength32Button.TabIndex = 6;
|
||||
this.PresetLength32Button.Text = "32";
|
||||
this.PresetLength32Button.UseVisualStyleBackColor = true;
|
||||
this.PresetLength32Button.Click += new System.EventHandler(this.PresetLength32Button_Click);
|
||||
//
|
||||
// PresetLength64Button
|
||||
//
|
||||
this.PresetLength64Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.PresetLength64Button.Location = new System.Drawing.Point(211, 187);
|
||||
this.PresetLength64Button.Name = "PresetLength64Button";
|
||||
this.PresetLength64Button.Size = new System.Drawing.Size(36, 36);
|
||||
this.PresetLength64Button.TabIndex = 7;
|
||||
this.PresetLength64Button.Text = "64";
|
||||
this.PresetLength64Button.UseVisualStyleBackColor = true;
|
||||
this.PresetLength64Button.Click += new System.EventHandler(this.PresetLength64Button_Click);
|
||||
//
|
||||
// PresetLength128Button
|
||||
//
|
||||
this.PresetLength128Button.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.PresetLength128Button.Location = new System.Drawing.Point(253, 187);
|
||||
this.PresetLength128Button.Name = "PresetLength128Button";
|
||||
this.PresetLength128Button.Size = new System.Drawing.Size(48, 36);
|
||||
this.PresetLength128Button.TabIndex = 8;
|
||||
this.PresetLength128Button.Text = "128";
|
||||
this.PresetLength128Button.UseVisualStyleBackColor = true;
|
||||
this.PresetLength128Button.Click += new System.EventHandler(this.PresetLength128Button_Click);
|
||||
//
|
||||
// CharsText
|
||||
//
|
||||
this.CharsText.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.CharsText.Location = new System.Drawing.Point(12, 226);
|
||||
this.CharsText.Name = "CharsText";
|
||||
this.CharsText.Size = new System.Drawing.Size(360, 37);
|
||||
this.CharsText.TabIndex = 9;
|
||||
this.CharsText.Text = "Characters to use";
|
||||
this.CharsText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// UppercaseCheck
|
||||
//
|
||||
this.UppercaseCheck.Checked = true;
|
||||
this.UppercaseCheck.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.UppercaseCheck.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.UppercaseCheck.Location = new System.Drawing.Point(85, 266);
|
||||
this.UppercaseCheck.Name = "UppercaseCheck";
|
||||
this.UppercaseCheck.Size = new System.Drawing.Size(117, 37);
|
||||
this.UppercaseCheck.TabIndex = 11;
|
||||
this.UppercaseCheck.Text = "Uppercase";
|
||||
this.UppercaseCheck.UseVisualStyleBackColor = true;
|
||||
this.UppercaseCheck.CheckedChanged += new System.EventHandler(this.UppercaseCheck_CheckedChanged);
|
||||
//
|
||||
// LowercaseCheck
|
||||
//
|
||||
this.LowercaseCheck.Checked = true;
|
||||
this.LowercaseCheck.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.LowercaseCheck.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.LowercaseCheck.Location = new System.Drawing.Point(193, 266);
|
||||
this.LowercaseCheck.Name = "LowercaseCheck";
|
||||
this.LowercaseCheck.Size = new System.Drawing.Size(117, 37);
|
||||
this.LowercaseCheck.TabIndex = 12;
|
||||
this.LowercaseCheck.Text = "Lowercase";
|
||||
this.LowercaseCheck.UseVisualStyleBackColor = true;
|
||||
this.LowercaseCheck.CheckedChanged += new System.EventHandler(this.LowercaseCheck_CheckedChanged);
|
||||
//
|
||||
// NumbersCheck
|
||||
//
|
||||
this.NumbersCheck.Checked = true;
|
||||
this.NumbersCheck.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.NumbersCheck.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.NumbersCheck.Location = new System.Drawing.Point(85, 309);
|
||||
this.NumbersCheck.Name = "NumbersCheck";
|
||||
this.NumbersCheck.Size = new System.Drawing.Size(117, 37);
|
||||
this.NumbersCheck.TabIndex = 13;
|
||||
this.NumbersCheck.Text = "Numbers";
|
||||
this.NumbersCheck.UseVisualStyleBackColor = true;
|
||||
this.NumbersCheck.CheckedChanged += new System.EventHandler(this.NumbersCheck_CheckedChanged);
|
||||
//
|
||||
// SymbolsCheck
|
||||
//
|
||||
this.SymbolsCheck.Checked = true;
|
||||
this.SymbolsCheck.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.SymbolsCheck.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.SymbolsCheck.Location = new System.Drawing.Point(193, 309);
|
||||
this.SymbolsCheck.Name = "SymbolsCheck";
|
||||
this.SymbolsCheck.Size = new System.Drawing.Size(117, 37);
|
||||
this.SymbolsCheck.TabIndex = 14;
|
||||
this.SymbolsCheck.Text = "Symbols";
|
||||
this.SymbolsCheck.UseVisualStyleBackColor = true;
|
||||
this.SymbolsCheck.CheckedChanged += new System.EventHandler(this.SymbolsCheck_CheckedChanged);
|
||||
//
|
||||
// PasswordOutput
|
||||
//
|
||||
this.PasswordOutput.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.PasswordOutput.Location = new System.Drawing.Point(12, 352);
|
||||
this.PasswordOutput.MaxLength = 500;
|
||||
this.PasswordOutput.Multiline = true;
|
||||
this.PasswordOutput.Name = "PasswordOutput";
|
||||
this.PasswordOutput.ReadOnly = true;
|
||||
this.PasswordOutput.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.PasswordOutput.Size = new System.Drawing.Size(360, 100);
|
||||
this.PasswordOutput.TabIndex = 15;
|
||||
this.PasswordOutput.Text = resources.GetString("PasswordOutput.Text");
|
||||
this.PasswordOutput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// CopyButton
|
||||
//
|
||||
this.CopyButton.AutoSize = true;
|
||||
this.CopyButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.CopyButton.Location = new System.Drawing.Point(136, 458);
|
||||
this.CopyButton.Name = "CopyButton";
|
||||
this.CopyButton.Size = new System.Drawing.Size(50, 27);
|
||||
this.CopyButton.TabIndex = 16;
|
||||
this.CopyButton.Text = "Copy";
|
||||
this.CopyButton.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// RegenerateButton
|
||||
//
|
||||
this.RegenerateButton.AutoSize = true;
|
||||
this.RegenerateButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.RegenerateButton.Location = new System.Drawing.Point(192, 458);
|
||||
this.RegenerateButton.Name = "RegenerateButton";
|
||||
this.RegenerateButton.Size = new System.Drawing.Size(93, 27);
|
||||
this.RegenerateButton.TabIndex = 17;
|
||||
this.RegenerateButton.Text = "Regenerate";
|
||||
this.RegenerateButton.UseVisualStyleBackColor = true;
|
||||
this.RegenerateButton.Click += new System.EventHandler(this.RegenerateButton_Click);
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(384, 496);
|
||||
this.Controls.Add(this.RegenerateButton);
|
||||
this.Controls.Add(this.CopyButton);
|
||||
this.Controls.Add(this.PasswordOutput);
|
||||
this.Controls.Add(this.SymbolsCheck);
|
||||
this.Controls.Add(this.NumbersCheck);
|
||||
this.Controls.Add(this.LowercaseCheck);
|
||||
this.Controls.Add(this.UppercaseCheck);
|
||||
this.Controls.Add(this.CharsText);
|
||||
this.Controls.Add(this.PresetLength128Button);
|
||||
this.Controls.Add(this.PresetLength64Button);
|
||||
this.Controls.Add(this.PresetLength32Button);
|
||||
this.Controls.Add(this.PresetLength16Button);
|
||||
this.Controls.Add(this.PresetLength8Button);
|
||||
this.Controls.Add(this.LengthSlider);
|
||||
this.Controls.Add(this.LengthText);
|
||||
this.Controls.Add(this.InfoText);
|
||||
this.Controls.Add(this.TitleText);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "Form1";
|
||||
this.Text = "Password Generator";
|
||||
((System.ComponentModel.ISupportInitialize)(this.LengthSlider)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label TitleText;
|
||||
private System.Windows.Forms.Label InfoText;
|
||||
private System.Windows.Forms.Label LengthText;
|
||||
private System.Windows.Forms.TrackBar LengthSlider;
|
||||
private System.Windows.Forms.Button PresetLength8Button;
|
||||
private System.Windows.Forms.Button PresetLength16Button;
|
||||
private System.Windows.Forms.Button PresetLength32Button;
|
||||
private System.Windows.Forms.Button PresetLength64Button;
|
||||
private System.Windows.Forms.Button PresetLength128Button;
|
||||
private System.Windows.Forms.Label CharsText;
|
||||
private System.Windows.Forms.CheckBox UppercaseCheck;
|
||||
private System.Windows.Forms.CheckBox LowercaseCheck;
|
||||
private System.Windows.Forms.CheckBox NumbersCheck;
|
||||
private System.Windows.Forms.CheckBox SymbolsCheck;
|
||||
private System.Windows.Forms.TextBox PasswordOutput;
|
||||
private System.Windows.Forms.Button CopyButton;
|
||||
private System.Windows.Forms.Button RegenerateButton;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user