-
Notifications
You must be signed in to change notification settings - Fork 0
/
Form1.Designer.cs
305 lines (300 loc) · 12.9 KB
/
Form1.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
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));
LengthBar = new TrackBar();
label1 = new Label();
label2 = new Label();
checkBoxUpper = new CheckBox();
checkBoxNumerals = new CheckBox();
checkBoxSpecial = new CheckBox();
buttonGenerate = new Button();
textBoxGenerated = new TextBox();
labelVersion = new Label();
groupBox1 = new GroupBox();
flowLayoutPanel1 = new FlowLayoutPanel();
groupBox2 = new GroupBox();
panel1 = new Panel();
buttonStrong = new Button();
buttonSimple = new Button();
passwordQuantity = new NumericUpDown();
label3 = new Label();
((System.ComponentModel.ISupportInitialize)LengthBar).BeginInit();
groupBox1.SuspendLayout();
flowLayoutPanel1.SuspendLayout();
groupBox2.SuspendLayout();
panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)passwordQuantity).BeginInit();
SuspendLayout();
//
// LengthBar
//
LengthBar.BackColor = SystemColors.ButtonHighlight;
LengthBar.Location = new Point(10, 29);
LengthBar.Margin = new Padding(10);
LengthBar.Maximum = 20;
LengthBar.Minimum = 8;
LengthBar.Name = "LengthBar";
LengthBar.Size = new Size(158, 45);
LengthBar.TabIndex = 0;
LengthBar.TickStyle = TickStyle.Both;
LengthBar.Value = 8;
LengthBar.Scroll += LengthBar_Scroll;
//
// label1
//
label1.AutoSize = true;
label1.Font = new Font("Bahnschrift", 14.25F, FontStyle.Regular, GraphicsUnit.Point);
label1.Location = new Point(12, 9);
label1.Margin = new Padding(50, 0, 3, 0);
label1.Name = "label1";
label1.Size = new Size(185, 23);
label1.TabIndex = 1;
label1.Text = "Password Generator";
//
// label2
//
label2.AutoSize = true;
label2.Font = new Font("Bahnschrift", 12F, FontStyle.Regular, GraphicsUnit.Point);
label2.Location = new Point(3, 0);
label2.Name = "label2";
label2.Size = new Size(76, 19);
label2.TabIndex = 2;
label2.Text = "Length: 8";
//
// checkBoxUpper
//
checkBoxUpper.AutoSize = true;
checkBoxUpper.Font = new Font("Bahnschrift", 12F, FontStyle.Regular, GraphicsUnit.Point);
checkBoxUpper.Location = new Point(3, 87);
checkBoxUpper.Name = "checkBoxUpper";
checkBoxUpper.Size = new Size(165, 23);
checkBoxUpper.TabIndex = 3;
checkBoxUpper.Text = "Include Lowercase";
checkBoxUpper.UseVisualStyleBackColor = true;
//
// checkBoxNumerals
//
checkBoxNumerals.AutoSize = true;
checkBoxNumerals.Font = new Font("Bahnschrift", 12F, FontStyle.Regular, GraphicsUnit.Point);
checkBoxNumerals.Location = new Point(3, 116);
checkBoxNumerals.Name = "checkBoxNumerals";
checkBoxNumerals.Size = new Size(152, 23);
checkBoxNumerals.TabIndex = 4;
checkBoxNumerals.Text = "Include Numbers";
checkBoxNumerals.UseVisualStyleBackColor = true;
//
// checkBoxSpecial
//
checkBoxSpecial.AutoSize = true;
checkBoxSpecial.Font = new Font("Bahnschrift", 12F, FontStyle.Regular, GraphicsUnit.Point);
checkBoxSpecial.Location = new Point(3, 145);
checkBoxSpecial.Name = "checkBoxSpecial";
checkBoxSpecial.Size = new Size(139, 23);
checkBoxSpecial.TabIndex = 5;
checkBoxSpecial.Text = "Include Special";
checkBoxSpecial.UseVisualStyleBackColor = true;
//
// buttonGenerate
//
buttonGenerate.AutoSize = true;
buttonGenerate.FlatStyle = FlatStyle.Flat;
buttonGenerate.Font = new Font("Bahnschrift", 12F, FontStyle.Regular, GraphicsUnit.Point);
buttonGenerate.Location = new Point(8, 186);
buttonGenerate.Margin = new Padding(8, 15, 3, 3);
buttonGenerate.Name = "buttonGenerate";
buttonGenerate.Size = new Size(164, 31);
buttonGenerate.TabIndex = 6;
buttonGenerate.Text = "Generate Password";
buttonGenerate.UseVisualStyleBackColor = true;
buttonGenerate.Click += buttonGenerate_Click;
//
// textBoxGenerated
//
textBoxGenerated.BorderStyle = BorderStyle.FixedSingle;
textBoxGenerated.Font = new Font("Bahnschrift", 12F, FontStyle.Regular, GraphicsUnit.Point);
textBoxGenerated.Location = new Point(18, 323);
textBoxGenerated.MaxLength = 20;
textBoxGenerated.Multiline = true;
textBoxGenerated.Name = "textBoxGenerated";
textBoxGenerated.Size = new Size(296, 76);
textBoxGenerated.TabIndex = 7;
textBoxGenerated.WordWrap = false;
//
// labelVersion
//
labelVersion.AutoSize = true;
labelVersion.Location = new Point(285, 9);
labelVersion.Name = "labelVersion";
labelVersion.Size = new Size(47, 14);
labelVersion.TabIndex = 8;
labelVersion.Text = "v0.1.0.4";
//
// groupBox1
//
groupBox1.Controls.Add(flowLayoutPanel1);
groupBox1.Location = new Point(12, 53);
groupBox1.Name = "groupBox1";
groupBox1.Size = new Size(189, 247);
groupBox1.TabIndex = 9;
groupBox1.TabStop = false;
groupBox1.Text = "Random Characters";
//
// flowLayoutPanel1
//
flowLayoutPanel1.Controls.Add(label2);
flowLayoutPanel1.Controls.Add(LengthBar);
flowLayoutPanel1.Controls.Add(checkBoxUpper);
flowLayoutPanel1.Controls.Add(checkBoxNumerals);
flowLayoutPanel1.Controls.Add(checkBoxSpecial);
flowLayoutPanel1.Controls.Add(buttonGenerate);
flowLayoutPanel1.Dock = DockStyle.Fill;
flowLayoutPanel1.Location = new Point(3, 18);
flowLayoutPanel1.Name = "flowLayoutPanel1";
flowLayoutPanel1.Size = new Size(183, 226);
flowLayoutPanel1.TabIndex = 0;
//
// groupBox2
//
groupBox2.Controls.Add(panel1);
groupBox2.Location = new Point(207, 53);
groupBox2.Name = "groupBox2";
groupBox2.Size = new Size(115, 157);
groupBox2.TabIndex = 10;
groupBox2.TabStop = false;
groupBox2.Text = "Human Readable";
//
// panel1
//
panel1.Controls.Add(buttonStrong);
panel1.Controls.Add(buttonSimple);
panel1.Dock = DockStyle.Fill;
panel1.Location = new Point(3, 18);
panel1.Name = "panel1";
panel1.Size = new Size(109, 136);
panel1.TabIndex = 0;
//
// buttonStrong
//
buttonStrong.BackColor = SystemColors.ButtonFace;
buttonStrong.Dock = DockStyle.Right;
buttonStrong.FlatAppearance.MouseDownBackColor = Color.FromArgb(0, 64, 0);
buttonStrong.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 0);
buttonStrong.FlatStyle = FlatStyle.Flat;
buttonStrong.Location = new Point(54, 0);
buttonStrong.Name = "buttonStrong";
buttonStrong.Size = new Size(55, 136);
buttonStrong.TabIndex = 1;
buttonStrong.Text = "Strong";
buttonStrong.UseVisualStyleBackColor = false;
buttonStrong.Click += buttonStrong_Click;
//
// buttonSimple
//
buttonSimple.BackColor = SystemColors.ButtonFace;
buttonSimple.Dock = DockStyle.Left;
buttonSimple.FlatAppearance.MouseDownBackColor = Color.FromArgb(0, 64, 64);
buttonSimple.FlatAppearance.MouseOverBackColor = Color.FromArgb(0, 192, 192);
buttonSimple.FlatStyle = FlatStyle.Flat;
buttonSimple.Location = new Point(0, 0);
buttonSimple.Name = "buttonSimple";
buttonSimple.Size = new Size(53, 136);
buttonSimple.TabIndex = 0;
buttonSimple.Text = "Simple";
buttonSimple.UseVisualStyleBackColor = false;
buttonSimple.Click += buttonSimple_Click;
//
// passwordQuantity
//
passwordQuantity.Location = new Point(211, 275);
passwordQuantity.Maximum = new decimal(new int[] { 15, 0, 0, 0 });
passwordQuantity.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
passwordQuantity.Name = "passwordQuantity";
passwordQuantity.Size = new Size(111, 22);
passwordQuantity.TabIndex = 11;
passwordQuantity.Value = new decimal(new int[] { 1, 0, 0, 0 });
passwordQuantity.ValueChanged += passwordQuantity_ValueChanged;
//
// label3
//
label3.AutoSize = true;
label3.Location = new Point(211, 257);
label3.Name = "label3";
label3.Size = new Size(68, 14);
label3.TabIndex = 12;
label3.Text = "How many?";
//
// Form1
//
AutoScaleDimensions = new SizeF(7F, 14F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(334, 411);
Controls.Add(label3);
Controls.Add(passwordQuantity);
Controls.Add(groupBox2);
Controls.Add(groupBox1);
Controls.Add(labelVersion);
Controls.Add(textBoxGenerated);
Controls.Add(label1);
Font = new Font("Bahnschrift", 9F, FontStyle.Regular, GraphicsUnit.Point);
FormBorderStyle = FormBorderStyle.FixedToolWindow;
Icon = (Icon)resources.GetObject("$this.Icon");
Margin = new Padding(4, 3, 4, 3);
MaximizeBox = false;
Name = "Form1";
Opacity = 0.95D;
StartPosition = FormStartPosition.CenterScreen;
((System.ComponentModel.ISupportInitialize)LengthBar).EndInit();
groupBox1.ResumeLayout(false);
flowLayoutPanel1.ResumeLayout(false);
flowLayoutPanel1.PerformLayout();
groupBox2.ResumeLayout(false);
panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)passwordQuantity).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private TrackBar LengthBar;
private Label label1;
private Label label2;
private CheckBox checkBoxUpper;
private CheckBox checkBoxNumerals;
private CheckBox checkBoxSpecial;
private Button buttonGenerate;
private TextBox textBoxGenerated;
private Label labelVersion;
private GroupBox groupBox1;
private FlowLayoutPanel flowLayoutPanel1;
private GroupBox groupBox2;
private Panel panel1;
private Button buttonStrong;
private Button buttonSimple;
private NumericUpDown passwordQuantity;
private Label label3;
}
}