-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Form1.Designer.cs
345 lines (341 loc) · 15.3 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
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
namespace YoutubeToMP3
{
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()
{
components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
urlBox = new TextBox();
downloadButton = new Button();
pictureBox1 = new PictureBox();
menuStrip1 = new MenuStrip();
helpToolStripMenuItem = new ToolStripMenuItem();
darkModeToolStripMenuItem = new ToolStripMenuItem();
checkForUpdateToolStripMenuItem = new ToolStripMenuItem();
aboutToolStripMenuItem = new ToolStripMenuItem();
progressBar = new ProgressBar();
downloadSingleButton = new Button();
clearButton = new Button();
urlListBox = new ListBox();
fileTypeLabel = new Label();
mp3Radio = new RadioButton();
opusRadio = new RadioButton();
pictureBox2 = new PictureBox();
toolTip1 = new ToolTip(components);
aacRadio = new RadioButton();
thumbnailCheckbox = new CheckBox();
addButton = new Button();
button1 = new Button();
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureBox2).BeginInit();
SuspendLayout();
//
// urlBox
//
urlBox.BorderStyle = BorderStyle.FixedSingle;
urlBox.Location = new Point(64, 172);
urlBox.Name = "urlBox";
urlBox.Size = new Size(379, 23);
urlBox.TabIndex = 1;
//
// downloadButton
//
downloadButton.BackColor = Color.Transparent;
downloadButton.FlatAppearance.BorderSize = 0;
downloadButton.FlatStyle = FlatStyle.Flat;
downloadButton.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point);
downloadButton.Image = (Image)resources.GetObject("downloadButton.Image");
downloadButton.Location = new Point(467, 206);
downloadButton.Name = "downloadButton";
downloadButton.Size = new Size(105, 59);
downloadButton.TabIndex = 2;
toolTip1.SetToolTip(downloadButton, "Download All");
downloadButton.UseVisualStyleBackColor = false;
downloadButton.Click += downloadButton_ClickAsync;
//
// pictureBox1
//
pictureBox1.Image = (Image)resources.GetObject("pictureBox1.Image");
pictureBox1.Location = new Point(12, 38);
pictureBox1.Name = "pictureBox1";
pictureBox1.Size = new Size(262, 110);
pictureBox1.SizeMode = PictureBoxSizeMode.Zoom;
pictureBox1.TabIndex = 4;
pictureBox1.TabStop = false;
toolTip1.SetToolTip(pictureBox1, "YouTubeToMP3");
//
// menuStrip1
//
menuStrip1.Items.AddRange(new ToolStripItem[] { helpToolStripMenuItem });
menuStrip1.Location = new Point(0, 0);
menuStrip1.Name = "menuStrip1";
menuStrip1.Size = new Size(584, 24);
menuStrip1.TabIndex = 5;
menuStrip1.Text = "menuStrip1";
//
// helpToolStripMenuItem
//
helpToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { darkModeToolStripMenuItem, checkForUpdateToolStripMenuItem, aboutToolStripMenuItem });
helpToolStripMenuItem.Image = (Image)resources.GetObject("helpToolStripMenuItem.Image");
helpToolStripMenuItem.Name = "helpToolStripMenuItem";
helpToolStripMenuItem.Size = new Size(28, 20);
helpToolStripMenuItem.ToolTipText = "Help";
helpToolStripMenuItem.Click += helpToolStripMenuItem_Click;
//
// darkModeToolStripMenuItem
//
darkModeToolStripMenuItem.Image = (Image)resources.GetObject("darkModeToolStripMenuItem.Image");
darkModeToolStripMenuItem.Name = "darkModeToolStripMenuItem";
darkModeToolStripMenuItem.Size = new Size(165, 22);
darkModeToolStripMenuItem.Text = "Dark Mode";
darkModeToolStripMenuItem.Click += darkModeToolStripMenuItem_Click;
//
// checkForUpdateToolStripMenuItem
//
checkForUpdateToolStripMenuItem.Image = (Image)resources.GetObject("checkForUpdateToolStripMenuItem.Image");
checkForUpdateToolStripMenuItem.Name = "checkForUpdateToolStripMenuItem";
checkForUpdateToolStripMenuItem.Size = new Size(165, 22);
checkForUpdateToolStripMenuItem.Text = "Check for update";
checkForUpdateToolStripMenuItem.Click += checkForUpdateToolStripMenuItem_Click;
//
// aboutToolStripMenuItem
//
aboutToolStripMenuItem.Image = (Image)resources.GetObject("aboutToolStripMenuItem.Image");
aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
aboutToolStripMenuItem.Size = new Size(165, 22);
aboutToolStripMenuItem.Text = "About";
aboutToolStripMenuItem.Click += aboutToolStripMenuItem_Click;
//
// progressBar
//
progressBar.BackColor = Color.White;
progressBar.Location = new Point(12, 306);
progressBar.Name = "progressBar";
progressBar.Size = new Size(560, 43);
progressBar.TabIndex = 6;
toolTip1.SetToolTip(progressBar, "Download Progress");
//
// downloadSingleButton
//
downloadSingleButton.BackColor = Color.Transparent;
downloadSingleButton.FlatAppearance.BorderSize = 0;
downloadSingleButton.FlatStyle = FlatStyle.Flat;
downloadSingleButton.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point);
downloadSingleButton.Image = (Image)resources.GetObject("downloadSingleButton.Image");
downloadSingleButton.Location = new Point(492, 163);
downloadSingleButton.Name = "downloadSingleButton";
downloadSingleButton.Size = new Size(37, 37);
downloadSingleButton.TabIndex = 7;
toolTip1.SetToolTip(downloadSingleButton, "Download Single");
downloadSingleButton.UseVisualStyleBackColor = false;
downloadSingleButton.Click += downloadSingleButton_Click;
//
// clearButton
//
clearButton.BackColor = Color.Transparent;
clearButton.FlatAppearance.BorderSize = 0;
clearButton.FlatStyle = FlatStyle.Flat;
clearButton.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point);
clearButton.Image = (Image)resources.GetObject("clearButton.Image");
clearButton.Location = new Point(535, 163);
clearButton.Name = "clearButton";
clearButton.Size = new Size(37, 37);
clearButton.TabIndex = 8;
toolTip1.SetToolTip(clearButton, "Clear");
clearButton.UseVisualStyleBackColor = false;
clearButton.Click += button2_Click;
//
// urlListBox
//
urlListBox.FormattingEnabled = true;
urlListBox.ItemHeight = 15;
urlListBox.Location = new Point(12, 206);
urlListBox.Name = "urlListBox";
urlListBox.Size = new Size(440, 94);
urlListBox.TabIndex = 9;
toolTip1.SetToolTip(urlListBox, "List of URLs");
//
// fileTypeLabel
//
fileTypeLabel.AutoSize = true;
fileTypeLabel.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
fileTypeLabel.Location = new Point(288, 75);
fileTypeLabel.Name = "fileTypeLabel";
fileTypeLabel.Size = new Size(77, 21);
fileTypeLabel.TabIndex = 10;
fileTypeLabel.Text = "File Type :";
//
// mp3Radio
//
mp3Radio.AutoSize = true;
mp3Radio.Checked = true;
mp3Radio.Font = new Font("Segoe UI", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
mp3Radio.Location = new Point(376, 76);
mp3Radio.Name = "mp3Radio";
mp3Radio.Size = new Size(55, 21);
mp3Radio.TabIndex = 13;
mp3Radio.TabStop = true;
mp3Radio.Text = ".MP3";
toolTip1.SetToolTip(mp3Radio, "MPEG-1 Audio Layer III");
mp3Radio.UseVisualStyleBackColor = true;
//
// opusRadio
//
opusRadio.AutoSize = true;
opusRadio.Font = new Font("Segoe UI", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
opusRadio.Location = new Point(445, 76);
opusRadio.Name = "opusRadio";
opusRadio.Size = new Size(57, 21);
opusRadio.TabIndex = 14;
opusRadio.Text = ".OGG";
toolTip1.SetToolTip(opusRadio, "Ogg Vorbis");
opusRadio.UseVisualStyleBackColor = true;
//
// pictureBox2
//
pictureBox2.Image = (Image)resources.GetObject("pictureBox2.Image");
pictureBox2.Location = new Point(12, 154);
pictureBox2.Name = "pictureBox2";
pictureBox2.Size = new Size(50, 50);
pictureBox2.SizeMode = PictureBoxSizeMode.Zoom;
pictureBox2.TabIndex = 15;
pictureBox2.TabStop = false;
toolTip1.SetToolTip(pictureBox2, "URL(s)");
//
// aacRadio
//
aacRadio.AutoSize = true;
aacRadio.Font = new Font("Segoe UI", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
aacRadio.Location = new Point(508, 76);
aacRadio.Name = "aacRadio";
aacRadio.Size = new Size(53, 21);
aacRadio.TabIndex = 16;
aacRadio.Text = ".AAC";
toolTip1.SetToolTip(aacRadio, "Advanced Audio Coding");
aacRadio.UseVisualStyleBackColor = true;
//
// thumbnailCheckbox
//
thumbnailCheckbox.AutoSize = true;
thumbnailCheckbox.CheckAlign = ContentAlignment.MiddleRight;
thumbnailCheckbox.Enabled = false;
thumbnailCheckbox.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
thumbnailCheckbox.Location = new Point(288, 112);
thumbnailCheckbox.Name = "thumbnailCheckbox";
thumbnailCheckbox.Size = new Size(103, 25);
thumbnailCheckbox.TabIndex = 18;
thumbnailCheckbox.Text = "Thumbnail";
toolTip1.SetToolTip(thumbnailCheckbox, "Thumbnail of Video");
thumbnailCheckbox.UseVisualStyleBackColor = true;
//
// addButton
//
addButton.BackColor = Color.Transparent;
addButton.FlatAppearance.BorderSize = 0;
addButton.FlatStyle = FlatStyle.Flat;
addButton.Font = new Font("Segoe UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point);
addButton.Image = (Image)resources.GetObject("addButton.Image");
addButton.Location = new Point(449, 163);
addButton.Name = "addButton";
addButton.Size = new Size(37, 37);
addButton.TabIndex = 19;
toolTip1.SetToolTip(addButton, "Add to list");
addButton.UseVisualStyleBackColor = false;
addButton.Click += addButton_Click;
//
// button1
//
button1.Location = new Point(467, 271);
button1.Name = "button1";
button1.Size = new Size(105, 23);
button1.TabIndex = 20;
button1.Text = "Remove URL";
toolTip1.SetToolTip(button1, "Remove Selected URL");
button1.UseVisualStyleBackColor = true;
button1.Click += button1_Click;
//
// Form1
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(584, 361);
Controls.Add(button1);
Controls.Add(addButton);
Controls.Add(thumbnailCheckbox);
Controls.Add(aacRadio);
Controls.Add(pictureBox2);
Controls.Add(opusRadio);
Controls.Add(mp3Radio);
Controls.Add(fileTypeLabel);
Controls.Add(urlListBox);
Controls.Add(clearButton);
Controls.Add(downloadSingleButton);
Controls.Add(progressBar);
Controls.Add(pictureBox1);
Controls.Add(downloadButton);
Controls.Add(urlBox);
Controls.Add(menuStrip1);
FormBorderStyle = FormBorderStyle.FixedToolWindow;
Icon = (Icon)resources.GetObject("$this.Icon");
MainMenuStrip = menuStrip1;
MaximizeBox = false;
MaximumSize = new Size(600, 400);
MinimumSize = new Size(600, 400);
Name = "Form1";
StartPosition = FormStartPosition.CenterScreen;
Text = "YouTube → MP3, OGG, AAC";
Load += Form1_Load;
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
menuStrip1.ResumeLayout(false);
menuStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureBox2).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private TextBox urlBox;
private Button downloadButton;
private PictureBox pictureBox1;
private MenuStrip menuStrip1;
private ToolStripMenuItem helpToolStripMenuItem;
private ToolStripMenuItem checkForUpdateToolStripMenuItem;
private ToolStripMenuItem aboutToolStripMenuItem;
private ProgressBar progressBar;
private Button downloadSingleButton;
private Button clearButton;
private ListBox urlListBox;
private Label fileTypeLabel;
private RadioButton mp3Radio;
private RadioButton opusRadio;
private PictureBox pictureBox2;
private ToolTip toolTip1;
private RadioButton aacRadio;
private CheckBox thumbnailCheckbox;
private ToolStripMenuItem darkModeToolStripMenuItem;
private Button addButton;
private Button button1;
}
}