2023-03-27 00:19:30 +02:00
|
|
|
|
namespace Password_Manager
|
|
|
|
|
|
{
|
|
|
|
|
|
partial class GeneratePassword
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <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()
|
|
|
|
|
|
{
|
|
|
|
|
|
passwordName = new TextBox();
|
|
|
|
|
|
label1 = new Label();
|
|
|
|
|
|
label2 = new Label();
|
|
|
|
|
|
passwordLength = new TextBox();
|
|
|
|
|
|
noSymbols = new CheckBox();
|
|
|
|
|
|
generate = new Button();
|
|
|
|
|
|
cancel = new Button();
|
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
|
//
|
2023-03-28 13:10:57 +02:00
|
|
|
|
// passwordName
|
2023-03-27 00:19:30 +02:00
|
|
|
|
//
|
|
|
|
|
|
passwordName.Location = new Point(12, 33);
|
2023-03-28 13:10:57 +02:00
|
|
|
|
passwordName.Name = "passwordName";
|
2023-03-27 00:19:30 +02:00
|
|
|
|
passwordName.PlaceholderText = "website.com";
|
|
|
|
|
|
passwordName.Size = new Size(156, 23);
|
|
|
|
|
|
passwordName.TabIndex = 0;
|
|
|
|
|
|
//
|
|
|
|
|
|
// label1
|
|
|
|
|
|
//
|
|
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
|
label1.Location = new Point(12, 15);
|
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
|
label1.Size = new Size(39, 15);
|
|
|
|
|
|
label1.TabIndex = 1;
|
|
|
|
|
|
label1.Text = "Name";
|
|
|
|
|
|
//
|
|
|
|
|
|
// label2
|
|
|
|
|
|
//
|
|
|
|
|
|
label2.AutoSize = true;
|
|
|
|
|
|
label2.Location = new Point(12, 59);
|
|
|
|
|
|
label2.Name = "label2";
|
|
|
|
|
|
label2.Size = new Size(44, 15);
|
|
|
|
|
|
label2.TabIndex = 2;
|
|
|
|
|
|
label2.Text = "Length";
|
|
|
|
|
|
//
|
2023-03-28 13:10:57 +02:00
|
|
|
|
// passwordLength
|
2023-03-27 00:19:30 +02:00
|
|
|
|
//
|
|
|
|
|
|
passwordLength.Location = new Point(12, 77);
|
2023-03-28 13:10:57 +02:00
|
|
|
|
passwordLength.Name = "passwordLength";
|
2023-03-27 00:19:30 +02:00
|
|
|
|
passwordLength.PlaceholderText = "16";
|
|
|
|
|
|
passwordLength.Size = new Size(156, 23);
|
|
|
|
|
|
passwordLength.TabIndex = 3;
|
|
|
|
|
|
//
|
2023-03-28 13:10:57 +02:00
|
|
|
|
// noSymbols
|
2023-03-27 00:19:30 +02:00
|
|
|
|
//
|
|
|
|
|
|
noSymbols.AutoSize = true;
|
|
|
|
|
|
noSymbols.Location = new Point(12, 106);
|
2023-03-28 13:10:57 +02:00
|
|
|
|
noSymbols.Name = "noSymbols";
|
2023-03-27 00:19:30 +02:00
|
|
|
|
noSymbols.Size = new Size(89, 19);
|
|
|
|
|
|
noSymbols.TabIndex = 4;
|
|
|
|
|
|
noSymbols.Text = "No symbols";
|
|
|
|
|
|
noSymbols.UseVisualStyleBackColor = true;
|
|
|
|
|
|
//
|
2023-03-28 13:10:57 +02:00
|
|
|
|
// generate
|
2023-03-27 00:19:30 +02:00
|
|
|
|
//
|
|
|
|
|
|
generate.Location = new Point(93, 131);
|
2023-03-28 13:10:57 +02:00
|
|
|
|
generate.Name = "generate";
|
2023-03-27 00:19:30 +02:00
|
|
|
|
generate.Size = new Size(75, 23);
|
|
|
|
|
|
generate.TabIndex = 5;
|
|
|
|
|
|
generate.Text = "Generate";
|
|
|
|
|
|
generate.UseVisualStyleBackColor = true;
|
|
|
|
|
|
generate.Click += Generate;
|
|
|
|
|
|
//
|
2023-03-28 13:10:57 +02:00
|
|
|
|
// cancel
|
2023-03-27 00:19:30 +02:00
|
|
|
|
//
|
|
|
|
|
|
cancel.Location = new Point(12, 131);
|
2023-03-28 13:10:57 +02:00
|
|
|
|
cancel.Name = "cancel";
|
2023-03-27 00:19:30 +02:00
|
|
|
|
cancel.Size = new Size(75, 23);
|
|
|
|
|
|
cancel.TabIndex = 6;
|
|
|
|
|
|
cancel.Text = "Cancel";
|
|
|
|
|
|
cancel.UseVisualStyleBackColor = true;
|
2023-03-28 13:10:57 +02:00
|
|
|
|
cancel.Click += cancel_Click;
|
2023-03-27 00:19:30 +02:00
|
|
|
|
//
|
|
|
|
|
|
// GeneratePassword
|
|
|
|
|
|
//
|
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
|
ClientSize = new Size(187, 173);
|
|
|
|
|
|
Controls.Add(cancel);
|
|
|
|
|
|
Controls.Add(generate);
|
|
|
|
|
|
Controls.Add(noSymbols);
|
|
|
|
|
|
Controls.Add(passwordLength);
|
|
|
|
|
|
Controls.Add(label2);
|
|
|
|
|
|
Controls.Add(label1);
|
|
|
|
|
|
Controls.Add(passwordName);
|
|
|
|
|
|
Name = "GeneratePassword";
|
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
|
PerformLayout();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void Generate_Click(object sender, EventArgs e)
|
|
|
|
|
|
{
|
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
private TextBox passwordName;
|
|
|
|
|
|
private Label label1;
|
|
|
|
|
|
private Label label2;
|
|
|
|
|
|
private TextBox passwordLength;
|
|
|
|
|
|
private CheckBox noSymbols;
|
|
|
|
|
|
private Button generate;
|
|
|
|
|
|
private Button cancel;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|