-
Notifications
You must be signed in to change notification settings - Fork 1
/
WndMain.Designer.cs
424 lines (419 loc) · 19.1 KB
/
WndMain.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
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
namespace NCMDumpGUI
{
partial class WndMain
{
/// <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();
label1 = new Label();
filepathTextBox = new TextBox();
browseButton = new Button();
convertButton = new Button();
statusStrip1 = new StatusStrip();
toolStripStatusLabel1 = new ToolStripStatusLabel();
toolStripStatusLabel2 = new ToolStripStatusLabel();
toolStripProgressBar1 = new ToolStripProgressBar();
fixMetaDataCheckBox = new CheckBox();
toolTip = new ToolTip(components);
linkLabel1 = new LinkLabel();
fileFolderComboBox = new ComboBox();
scanMoreFoldersCheckBox = new CheckBox();
filesizeLabel = new Label();
playGroupBox = new GroupBox();
playMoreButton = new Button();
audioProgressLabel = new Label();
playResumeButton = new Button();
audioProgressTrackBar = new TrackBar();
playMoreBtnContextMenuStrip = new ContextMenuStrip(components);
openWithDefaultPlayerToolStripMenuItem = new ToolStripMenuItem();
openFileLocationToolStripMenuItem = new ToolStripMenuItem();
timerTrackBar = new System.Windows.Forms.Timer(components);
folderConvertContextMenuStrip = new ContextMenuStrip(components);
autoDumpToolStripMenuItem = new ToolStripMenuItem();
saveAsGroupBox = new GroupBox();
saveAsBrowserButton = new Button();
saveFolderTextBox = new TextBox();
label2 = new Label();
saveAsCheckBox = new CheckBox();
statusStrip1.SuspendLayout();
playGroupBox.SuspendLayout();
((System.ComponentModel.ISupportInitialize)audioProgressTrackBar).BeginInit();
playMoreBtnContextMenuStrip.SuspendLayout();
folderConvertContextMenuStrip.SuspendLayout();
saveAsGroupBox.SuspendLayout();
SuspendLayout();
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(11, 9);
label1.Name = "label1";
label1.Size = new Size(296, 25);
label1.TabIndex = 0;
label1.Text = "文件&&目录路径(可以直接拖入):";
//
// filepathTextBox
//
filepathTextBox.Location = new Point(91, 39);
filepathTextBox.Name = "filepathTextBox";
filepathTextBox.Size = new Size(609, 31);
filepathTextBox.TabIndex = 1;
filepathTextBox.TextChanged += filepathTextBox_TextChanged;
//
// browseButton
//
browseButton.Location = new Point(706, 39);
browseButton.Name = "browseButton";
browseButton.Size = new Size(41, 35);
browseButton.TabIndex = 2;
browseButton.Text = "...";
browseButton.UseVisualStyleBackColor = true;
browseButton.Click += browseButton_Click;
//
// convertButton
//
convertButton.Location = new Point(15, 75);
convertButton.Name = "convertButton";
convertButton.Size = new Size(102, 35);
convertButton.TabIndex = 3;
convertButton.Text = "转换";
convertButton.UseVisualStyleBackColor = true;
convertButton.Click += convertButton_Click;
//
// statusStrip1
//
statusStrip1.ImageScalingSize = new Size(24, 24);
statusStrip1.Items.AddRange(new ToolStripItem[] { toolStripStatusLabel1, toolStripStatusLabel2, toolStripProgressBar1 });
statusStrip1.LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow;
statusStrip1.Location = new Point(0, 244);
statusStrip1.Name = "statusStrip1";
statusStrip1.Padding = new Padding(1, 0, 13, 0);
statusStrip1.Size = new Size(755, 37);
statusStrip1.SizingGrip = false;
statusStrip1.TabIndex = 4;
statusStrip1.Text = "statusStrip1";
//
// toolStripStatusLabel1
//
toolStripStatusLabel1.BorderSides = ToolStripStatusLabelBorderSides.Right;
toolStripStatusLabel1.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Bold);
toolStripStatusLabel1.Name = "toolStripStatusLabel1";
toolStripStatusLabel1.Size = new Size(70, 30);
toolStripStatusLabel1.Text = "状态:";
//
// toolStripStatusLabel2
//
toolStripStatusLabel2.Name = "toolStripStatusLabel2";
toolStripStatusLabel2.Size = new Size(102, 30);
toolStripStatusLabel2.Text = "请提供文件";
//
// toolStripProgressBar1
//
toolStripProgressBar1.Alignment = ToolStripItemAlignment.Right;
toolStripProgressBar1.MarqueeAnimationSpeed = 1;
toolStripProgressBar1.Name = "toolStripProgressBar1";
toolStripProgressBar1.Size = new Size(91, 29);
toolStripProgressBar1.Step = 5;
//
// fixMetaDataCheckBox
//
fixMetaDataCheckBox.AutoSize = true;
fixMetaDataCheckBox.Checked = true;
fixMetaDataCheckBox.CheckState = CheckState.Checked;
fixMetaDataCheckBox.Location = new Point(464, 81);
fixMetaDataCheckBox.Name = "fixMetaDataCheckBox";
fixMetaDataCheckBox.Size = new Size(128, 29);
fixMetaDataCheckBox.TabIndex = 5;
fixMetaDataCheckBox.Text = "修复元数据";
fixMetaDataCheckBox.UseVisualStyleBackColor = true;
//
// linkLabel1
//
linkLabel1.AutoSize = true;
linkLabel1.Location = new Point(659, 9);
linkLabel1.Name = "linkLabel1";
linkLabel1.Size = new Size(84, 25);
linkLabel1.TabIndex = 6;
linkLabel1.TabStop = true;
linkLabel1.Text = "免责声明";
linkLabel1.LinkClicked += linkLabel1_LinkClicked;
//
// fileFolderComboBox
//
fileFolderComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
fileFolderComboBox.FlatStyle = FlatStyle.System;
fileFolderComboBox.FormattingEnabled = true;
fileFolderComboBox.Items.AddRange(new object[] { "文件", "目录" });
fileFolderComboBox.Location = new Point(15, 38);
fileFolderComboBox.Name = "fileFolderComboBox";
fileFolderComboBox.Size = new Size(70, 33);
fileFolderComboBox.TabIndex = 7;
fileFolderComboBox.SelectedIndexChanged += fileFolderComboBox_SelectedIndexChanged;
//
// scanMoreFoldersCheckBox
//
scanMoreFoldersCheckBox.AutoSize = true;
scanMoreFoldersCheckBox.Location = new Point(332, 81);
scanMoreFoldersCheckBox.Name = "scanMoreFoldersCheckBox";
scanMoreFoldersCheckBox.Size = new Size(128, 29);
scanMoreFoldersCheckBox.TabIndex = 8;
scanMoreFoldersCheckBox.Text = "扫描子目录";
scanMoreFoldersCheckBox.UseVisualStyleBackColor = true;
scanMoreFoldersCheckBox.Visible = false;
//
// filesizeLabel
//
filesizeLabel.AutoSize = true;
filesizeLabel.Location = new Point(122, 80);
filesizeLabel.Name = "filesizeLabel";
filesizeLabel.Size = new Size(0, 25);
filesizeLabel.TabIndex = 9;
//
// playGroupBox
//
playGroupBox.Controls.Add(playMoreButton);
playGroupBox.Controls.Add(audioProgressLabel);
playGroupBox.Controls.Add(playResumeButton);
playGroupBox.Controls.Add(audioProgressTrackBar);
playGroupBox.Enabled = false;
playGroupBox.Location = new Point(15, 117);
playGroupBox.Name = "playGroupBox";
playGroupBox.Size = new Size(340, 117);
playGroupBox.TabIndex = 10;
playGroupBox.TabStop = false;
playGroupBox.Text = "播放";
//
// playMoreButton
//
playMoreButton.Cursor = Cursors.Hand;
playMoreButton.Font = new Font("Microsoft YaHei UI", 6F);
playMoreButton.Location = new Point(5, 75);
playMoreButton.Name = "playMoreButton";
playMoreButton.Size = new Size(36, 27);
playMoreButton.TabIndex = 3;
playMoreButton.Text = "…";
playMoreButton.TextAlign = ContentAlignment.TopCenter;
playMoreButton.UseVisualStyleBackColor = true;
playMoreButton.Click += playMoreButton_Click;
//
// audioProgressLabel
//
audioProgressLabel.AutoSize = true;
audioProgressLabel.Font = new Font("Microsoft YaHei UI", 7F);
audioProgressLabel.ForeColor = SystemColors.ControlDarkDark;
audioProgressLabel.Location = new Point(232, 81);
audioProgressLabel.Name = "audioProgressLabel";
audioProgressLabel.Size = new Size(92, 19);
audioProgressLabel.TabIndex = 2;
audioProgressLabel.Text = "00:00 / 00:00";
audioProgressLabel.TextAlign = ContentAlignment.MiddleRight;
//
// playResumeButton
//
playResumeButton.Location = new Point(5, 30);
playResumeButton.Name = "playResumeButton";
playResumeButton.Size = new Size(36, 46);
playResumeButton.TabIndex = 1;
playResumeButton.Text = "▶️";
playResumeButton.UseVisualStyleBackColor = true;
playResumeButton.Click += playResumeButton_Click;
//
// audioProgressTrackBar
//
audioProgressTrackBar.Location = new Point(47, 30);
audioProgressTrackBar.Name = "audioProgressTrackBar";
audioProgressTrackBar.Size = new Size(291, 69);
audioProgressTrackBar.TabIndex = 0;
audioProgressTrackBar.TickStyle = TickStyle.Both;
audioProgressTrackBar.Scroll += audioProgressTrackBar_Scroll;
//
// playMoreBtnContextMenuStrip
//
playMoreBtnContextMenuStrip.BackgroundImageLayout = ImageLayout.None;
playMoreBtnContextMenuStrip.ImageScalingSize = new Size(24, 24);
playMoreBtnContextMenuStrip.Items.AddRange(new ToolStripItem[] { openWithDefaultPlayerToolStripMenuItem, openFileLocationToolStripMenuItem });
playMoreBtnContextMenuStrip.Name = "playBtnContextMenuStrip";
playMoreBtnContextMenuStrip.RenderMode = ToolStripRenderMode.System;
playMoreBtnContextMenuStrip.Size = new Size(283, 68);
//
// openWithDefaultPlayerToolStripMenuItem
//
openWithDefaultPlayerToolStripMenuItem.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Bold, GraphicsUnit.Point, 134);
openWithDefaultPlayerToolStripMenuItem.Name = "openWithDefaultPlayerToolStripMenuItem";
openWithDefaultPlayerToolStripMenuItem.Size = new Size(282, 32);
openWithDefaultPlayerToolStripMenuItem.Text = "使用系统默认播放器打开";
openWithDefaultPlayerToolStripMenuItem.Click += openWithDefaultPlayerToolStripMenuItem_Click;
//
// openFileLocationToolStripMenuItem
//
openFileLocationToolStripMenuItem.Name = "openFileLocationToolStripMenuItem";
openFileLocationToolStripMenuItem.Size = new Size(282, 32);
openFileLocationToolStripMenuItem.Text = "打开文件所在位置";
openFileLocationToolStripMenuItem.Click += openFileLocationToolStripMenuItem_Click;
//
// timerTrackBar
//
timerTrackBar.Tick += timerTrackBar_Tick;
//
// folderConvertContextMenuStrip
//
folderConvertContextMenuStrip.ImageScalingSize = new Size(24, 24);
folderConvertContextMenuStrip.Items.AddRange(new ToolStripItem[] { autoDumpToolStripMenuItem });
folderConvertContextMenuStrip.Name = "folderConvertContextMenuStrip";
folderConvertContextMenuStrip.RenderMode = ToolStripRenderMode.System;
folderConvertContextMenuStrip.Size = new Size(288, 36);
//
// autoDumpToolStripMenuItem
//
autoDumpToolStripMenuItem.Enabled = false;
autoDumpToolStripMenuItem.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Bold);
autoDumpToolStripMenuItem.Name = "autoDumpToolStripMenuItem";
autoDumpToolStripMenuItem.Size = new Size(287, 32);
autoDumpToolStripMenuItem.Text = "启用 文件夹实时自动转换";
autoDumpToolStripMenuItem.Click += autoDumpToolStripMenuItem_Click;
//
// saveAsGroupBox
//
saveAsGroupBox.Controls.Add(saveAsBrowserButton);
saveAsGroupBox.Controls.Add(saveFolderTextBox);
saveAsGroupBox.Controls.Add(label2);
saveAsGroupBox.Enabled = false;
saveAsGroupBox.Location = new Point(361, 117);
saveAsGroupBox.Name = "saveAsGroupBox";
saveAsGroupBox.Size = new Size(386, 117);
saveAsGroupBox.TabIndex = 11;
saveAsGroupBox.TabStop = false;
saveAsGroupBox.Text = "另存为";
//
// saveAsBrowserButton
//
saveAsBrowserButton.Location = new Point(339, 58);
saveAsBrowserButton.Name = "saveAsBrowserButton";
saveAsBrowserButton.Size = new Size(41, 34);
saveAsBrowserButton.TabIndex = 2;
saveAsBrowserButton.Text = "...";
saveAsBrowserButton.UseVisualStyleBackColor = true;
saveAsBrowserButton.Click += saveAsBrowserButton_Click;
//
// saveFolderTextBox
//
saveFolderTextBox.Location = new Point(6, 58);
saveFolderTextBox.Name = "saveFolderTextBox";
saveFolderTextBox.Size = new Size(327, 31);
saveFolderTextBox.TabIndex = 1;
//
// label2
//
label2.AutoSize = true;
label2.Location = new Point(6, 30);
label2.Name = "label2";
label2.Size = new Size(138, 25);
label2.TabIndex = 0;
label2.Text = "媒体输出目录:";
//
// saveAsCheckBox
//
saveAsCheckBox.AutoSize = true;
saveAsCheckBox.Location = new Point(596, 81);
saveAsCheckBox.Name = "saveAsCheckBox";
saveAsCheckBox.Size = new Size(146, 29);
saveAsCheckBox.TabIndex = 12;
saveAsCheckBox.Text = "另存其他目录";
saveAsCheckBox.UseVisualStyleBackColor = true;
saveAsCheckBox.CheckedChanged += saveAsCheckBox_CheckedChanged;
//
// WndMain
//
AllowDrop = true;
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(755, 281);
Controls.Add(saveAsCheckBox);
Controls.Add(saveAsGroupBox);
Controls.Add(playGroupBox);
Controls.Add(filesizeLabel);
Controls.Add(scanMoreFoldersCheckBox);
Controls.Add(fileFolderComboBox);
Controls.Add(linkLabel1);
Controls.Add(fixMetaDataCheckBox);
Controls.Add(statusStrip1);
Controls.Add(convertButton);
Controls.Add(browseButton);
Controls.Add(filepathTextBox);
Controls.Add(label1);
FormBorderStyle = FormBorderStyle.FixedToolWindow;
MaximizeBox = false;
MinimizeBox = false;
Name = "WndMain";
StartPosition = FormStartPosition.CenterScreen;
Text = "NCMDumpGUI";
FormClosed += WndMain_FormClosed;
DragDrop += WndMain_DragDrop;
DragEnter += WndMain_DragEnter;
KeyDown += WndMain_KeyDown;
statusStrip1.ResumeLayout(false);
statusStrip1.PerformLayout();
playGroupBox.ResumeLayout(false);
playGroupBox.PerformLayout();
((System.ComponentModel.ISupportInitialize)audioProgressTrackBar).EndInit();
playMoreBtnContextMenuStrip.ResumeLayout(false);
folderConvertContextMenuStrip.ResumeLayout(false);
saveAsGroupBox.ResumeLayout(false);
saveAsGroupBox.PerformLayout();
ResumeLayout(false);
PerformLayout();
}
#endregion
private Label label1;
private TextBox filepathTextBox;
private Button browseButton;
private Button convertButton;
private StatusStrip statusStrip1;
private ToolStripStatusLabel toolStripStatusLabel1;
private ToolStripStatusLabel toolStripStatusLabel2;
private CheckBox fixMetaDataCheckBox;
private ToolTip toolTip;
private ToolStripProgressBar toolStripProgressBar1;
private LinkLabel linkLabel1;
private ComboBox fileFolderComboBox;
private CheckBox scanMoreFoldersCheckBox;
private Label filesizeLabel;
private GroupBox playGroupBox;
private Button playResumeButton;
private TrackBar audioProgressTrackBar;
private Label audioProgressLabel;
private System.Windows.Forms.Timer timerTrackBar;
private ContextMenuStrip playMoreBtnContextMenuStrip;
private ToolStripMenuItem openWithDefaultPlayerToolStripMenuItem;
private ToolStripMenuItem openFileLocationToolStripMenuItem;
private Button playMoreButton;
private ContextMenuStrip folderConvertContextMenuStrip;
private ToolStripMenuItem autoDumpToolStripMenuItem;
private GroupBox saveAsGroupBox;
private CheckBox saveAsCheckBox;
private Label label2;
private Button saveAsBrowserButton;
private TextBox saveFolderTextBox;
}
}