-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMainForm.Designer.cs
More file actions
431 lines (426 loc) · 19.2 KB
/
MainForm.Designer.cs
File metadata and controls
431 lines (426 loc) · 19.2 KB
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
425
426
427
428
429
430
431
namespace C__Yaml_Parser
{
partial class frmMain
{
/// <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(frmMain));
lblFolder = new Label();
txtFolder = new TextBox();
btnBrowse = new Button();
chkMarkdownAndText = new CheckBox();
listFiles = new ListBox();
lblFileName = new Label();
txtFileName = new TextBox();
tableLayoutFileName = new TableLayoutPanel();
txtContents = new TextBox();
lblContents = new Label();
btnSave = new Button();
tableLayoutRight = new TableLayoutPanel();
tableLayoutSave = new TableLayoutPanel();
cmbLang = new ComboBox();
lblLang = new Label();
panelYaml = new Panel();
tableLayoutLeft = new TableLayoutPanel();
tableLayoutPanel2 = new TableLayoutPanel();
btnClearList = new Button();
lblListOfFiles = new Label();
flowLayoutCheckboxes = new FlowLayoutPanel();
chkIncludeSubfolders = new CheckBox();
splitContainerMain = new SplitContainer();
tableLayoutFileName.SuspendLayout();
tableLayoutRight.SuspendLayout();
tableLayoutSave.SuspendLayout();
tableLayoutLeft.SuspendLayout();
tableLayoutPanel2.SuspendLayout();
flowLayoutCheckboxes.SuspendLayout();
((System.ComponentModel.ISupportInitialize)splitContainerMain).BeginInit();
splitContainerMain.Panel1.SuspendLayout();
splitContainerMain.Panel2.SuspendLayout();
splitContainerMain.SuspendLayout();
SuspendLayout();
//
// lblFolder
//
lblFolder.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
lblFolder.AutoSize = true;
lblFolder.Location = new Point(2, 506);
lblFolder.Margin = new Padding(2, 0, 2, 0);
lblFolder.Name = "lblFolder";
lblFolder.Size = new Size(54, 20);
lblFolder.TabIndex = 0;
lblFolder.Text = "Folder:";
//
// txtFolder
//
txtFolder.Anchor = AnchorStyles.Left | AnchorStyles.Right;
txtFolder.Enabled = false;
txtFolder.Location = new Point(2, 532);
txtFolder.Margin = new Padding(2);
txtFolder.Name = "txtFolder";
txtFolder.Size = new Size(396, 27);
txtFolder.TabIndex = 1;
//
// btnBrowse
//
btnBrowse.Anchor = AnchorStyles.Left | AnchorStyles.Right;
btnBrowse.Font = new Font("Segoe UI", 8F);
btnBrowse.Location = new Point(2, 4);
btnBrowse.Margin = new Padding(2);
btnBrowse.Name = "btnBrowse";
btnBrowse.Size = new Size(125, 30);
btnBrowse.TabIndex = 2;
btnBrowse.Text = "ADD FOLDER";
btnBrowse.UseVisualStyleBackColor = true;
btnBrowse.Click += btnBrowse_Click;
//
// chkMarkdownAndText
//
chkMarkdownAndText.Anchor = AnchorStyles.Right;
chkMarkdownAndText.AutoSize = true;
chkMarkdownAndText.Checked = true;
chkMarkdownAndText.CheckState = CheckState.Checked;
chkMarkdownAndText.Location = new Point(162, 3);
chkMarkdownAndText.Margin = new Padding(2);
chkMarkdownAndText.Name = "chkMarkdownAndText";
chkMarkdownAndText.Size = new Size(197, 24);
chkMarkdownAndText.TabIndex = 3;
chkMarkdownAndText.Text = "Markdown And Text Only";
chkMarkdownAndText.UseVisualStyleBackColor = true;
chkMarkdownAndText.CheckedChanged += chkMarkdown_CheckedChanged;
//
// listFiles
//
listFiles.AllowDrop = true;
listFiles.Dock = DockStyle.Fill;
listFiles.FormattingEnabled = true;
listFiles.HorizontalScrollbar = true;
listFiles.Location = new Point(2, 37);
listFiles.Margin = new Padding(2);
listFiles.Name = "listFiles";
listFiles.Size = new Size(396, 457);
listFiles.TabIndex = 5;
listFiles.SelectedIndexChanged += listFiles_SelectedIndexChanged;
listFiles.DragDrop += listFiles_DragDrop;
listFiles.DragEnter += listFiles_DragEnter;
//
// lblFileName
//
lblFileName.Anchor = AnchorStyles.Right;
lblFileName.AutoSize = true;
lblFileName.Location = new Point(18, 8);
lblFileName.Margin = new Padding(2, 0, 2, 0);
lblFileName.Name = "lblFileName";
lblFileName.Size = new Size(79, 20);
lblFileName.TabIndex = 6;
lblFileName.Text = "File Name:";
//
// txtFileName
//
txtFileName.Anchor = AnchorStyles.Left | AnchorStyles.Right;
txtFileName.Enabled = false;
txtFileName.Location = new Point(101, 4);
txtFileName.Margin = new Padding(2);
txtFileName.Name = "txtFileName";
txtFileName.Size = new Size(497, 27);
txtFileName.TabIndex = 7;
//
// tableLayoutFileName
//
tableLayoutFileName.ColumnCount = 2;
tableLayoutFileName.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 99F));
tableLayoutFileName.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
tableLayoutFileName.Controls.Add(lblFileName, 0, 0);
tableLayoutFileName.Controls.Add(txtFileName, 1, 0);
tableLayoutFileName.Dock = DockStyle.Fill;
tableLayoutFileName.Location = new Point(2, 37);
tableLayoutFileName.Margin = new Padding(2);
tableLayoutFileName.Name = "tableLayoutFileName";
tableLayoutFileName.RowCount = 1;
tableLayoutFileName.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
tableLayoutFileName.Size = new Size(600, 36);
tableLayoutFileName.TabIndex = 8;
//
// txtContents
//
txtContents.Dock = DockStyle.Fill;
txtContents.Location = new Point(2, 397);
txtContents.Margin = new Padding(2);
txtContents.Multiline = true;
txtContents.Name = "txtContents";
txtContents.ReadOnly = true;
txtContents.ScrollBars = ScrollBars.Vertical;
txtContents.Size = new Size(600, 207);
txtContents.TabIndex = 10;
//
// lblContents
//
lblContents.AutoSize = true;
lblContents.Location = new Point(2, 365);
lblContents.Margin = new Padding(2, 0, 2, 0);
lblContents.Name = "lblContents";
lblContents.Size = new Size(70, 20);
lblContents.TabIndex = 11;
lblContents.Text = "Contents:";
//
// btnSave
//
btnSave.Anchor = AnchorStyles.Left | AnchorStyles.Right;
btnSave.Font = new Font("Segoe UI", 10F);
btnSave.Location = new Point(459, 2);
btnSave.Margin = new Padding(2);
btnSave.Name = "btnSave";
btnSave.Size = new Size(137, 44);
btnSave.TabIndex = 12;
btnSave.Text = "SAVE";
btnSave.UseVisualStyleBackColor = true;
btnSave.Click += btnSave_Click;
//
// tableLayoutRight
//
tableLayoutRight.ColumnCount = 1;
tableLayoutRight.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
tableLayoutRight.Controls.Add(tableLayoutSave, 0, 7);
tableLayoutRight.Controls.Add(tableLayoutFileName, 0, 1);
tableLayoutRight.Controls.Add(txtContents, 0, 6);
tableLayoutRight.Controls.Add(lblContents, 0, 5);
tableLayoutRight.Controls.Add(panelYaml, 0, 3);
tableLayoutRight.Dock = DockStyle.Fill;
tableLayoutRight.Location = new Point(0, 0);
tableLayoutRight.Name = "tableLayoutRight";
tableLayoutRight.RowCount = 8;
tableLayoutRight.RowStyles.Add(new RowStyle(SizeType.Absolute, 35F));
tableLayoutRight.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F));
tableLayoutRight.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F));
tableLayoutRight.RowStyles.Add(new RowStyle(SizeType.Absolute, 250F));
tableLayoutRight.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F));
tableLayoutRight.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F));
tableLayoutRight.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
tableLayoutRight.RowStyles.Add(new RowStyle(SizeType.Absolute, 55F));
tableLayoutRight.Size = new Size(604, 661);
tableLayoutRight.TabIndex = 15;
//
// tableLayoutSave
//
tableLayoutSave.ColumnCount = 4;
tableLayoutSave.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 173F));
tableLayoutSave.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 141F));
tableLayoutSave.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
tableLayoutSave.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 141F));
tableLayoutSave.Controls.Add(cmbLang, 1, 0);
tableLayoutSave.Controls.Add(lblLang, 0, 0);
tableLayoutSave.Controls.Add(btnSave, 3, 0);
tableLayoutSave.Dock = DockStyle.Fill;
tableLayoutSave.Location = new Point(3, 609);
tableLayoutSave.Name = "tableLayoutSave";
tableLayoutSave.RowCount = 1;
tableLayoutSave.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
tableLayoutSave.Size = new Size(598, 49);
tableLayoutSave.TabIndex = 16;
//
// cmbLang
//
cmbLang.Anchor = AnchorStyles.Left | AnchorStyles.Right;
cmbLang.DropDownStyle = ComboBoxStyle.DropDownList;
cmbLang.FormattingEnabled = true;
cmbLang.Items.AddRange(new object[] { "EN - English", "RO - Romanian" });
cmbLang.Location = new Point(176, 10);
cmbLang.Name = "cmbLang";
cmbLang.Size = new Size(135, 28);
cmbLang.TabIndex = 1;
cmbLang.SelectedIndexChanged += cmbLang_SelectedIndexChanged;
//
// lblLang
//
lblLang.Anchor = AnchorStyles.Right;
lblLang.AutoSize = true;
lblLang.Location = new Point(12, 14);
lblLang.Name = "lblLang";
lblLang.Size = new Size(158, 20);
lblLang.TabIndex = 0;
lblLang.Text = "Application Language:";
//
// panelYaml
//
panelYaml.Anchor = AnchorStyles.Left;
panelYaml.Location = new Point(3, 98);
panelYaml.Name = "panelYaml";
panelYaml.Size = new Size(598, 244);
panelYaml.TabIndex = 17;
//
// tableLayoutLeft
//
tableLayoutLeft.ColumnCount = 1;
tableLayoutLeft.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
tableLayoutLeft.Controls.Add(listFiles, 0, 1);
tableLayoutLeft.Controls.Add(tableLayoutPanel2, 0, 4);
tableLayoutLeft.Controls.Add(lblFolder, 0, 2);
tableLayoutLeft.Controls.Add(txtFolder, 0, 3);
tableLayoutLeft.Controls.Add(lblListOfFiles, 0, 0);
tableLayoutLeft.Controls.Add(flowLayoutCheckboxes, 0, 5);
tableLayoutLeft.Dock = DockStyle.Fill;
tableLayoutLeft.Location = new Point(0, 0);
tableLayoutLeft.Name = "tableLayoutLeft";
tableLayoutLeft.RowCount = 7;
tableLayoutLeft.RowStyles.Add(new RowStyle(SizeType.Absolute, 35F));
tableLayoutLeft.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
tableLayoutLeft.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F));
tableLayoutLeft.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F));
tableLayoutLeft.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F));
tableLayoutLeft.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F));
tableLayoutLeft.RowStyles.Add(new RowStyle(SizeType.Absolute, 10F));
tableLayoutLeft.Size = new Size(400, 661);
tableLayoutLeft.TabIndex = 14;
//
// tableLayoutPanel2
//
tableLayoutPanel2.ColumnCount = 3;
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 129F));
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 46F));
tableLayoutPanel2.Controls.Add(btnBrowse, 0, 0);
tableLayoutPanel2.Controls.Add(btnClearList, 2, 0);
tableLayoutPanel2.Dock = DockStyle.Fill;
tableLayoutPanel2.Location = new Point(3, 569);
tableLayoutPanel2.Name = "tableLayoutPanel2";
tableLayoutPanel2.RowCount = 1;
tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
tableLayoutPanel2.Size = new Size(394, 39);
tableLayoutPanel2.TabIndex = 16;
//
// btnClearList
//
btnClearList.Dock = DockStyle.Fill;
btnClearList.Location = new Point(351, 3);
btnClearList.Name = "btnClearList";
btnClearList.Size = new Size(40, 33);
btnClearList.TabIndex = 0;
btnClearList.Text = "🗑️";
btnClearList.UseVisualStyleBackColor = true;
btnClearList.Click += btnClearList_Click;
//
// lblListOfFiles
//
lblListOfFiles.Anchor = AnchorStyles.Left;
lblListOfFiles.AutoSize = true;
lblListOfFiles.Location = new Point(3, 7);
lblListOfFiles.Name = "lblListOfFiles";
lblListOfFiles.Size = new Size(83, 20);
lblListOfFiles.TabIndex = 17;
lblListOfFiles.Text = "List of files:";
//
// flowLayoutCheckboxes
//
flowLayoutCheckboxes.Controls.Add(chkIncludeSubfolders);
flowLayoutCheckboxes.Controls.Add(chkMarkdownAndText);
flowLayoutCheckboxes.Dock = DockStyle.Fill;
flowLayoutCheckboxes.Location = new Point(3, 614);
flowLayoutCheckboxes.Name = "flowLayoutCheckboxes";
flowLayoutCheckboxes.Size = new Size(394, 34);
flowLayoutCheckboxes.TabIndex = 18;
//
// chkIncludeSubfolders
//
chkIncludeSubfolders.AutoSize = true;
chkIncludeSubfolders.Checked = true;
chkIncludeSubfolders.CheckState = CheckState.Checked;
chkIncludeSubfolders.Location = new Point(3, 3);
chkIncludeSubfolders.Name = "chkIncludeSubfolders";
chkIncludeSubfolders.Size = new Size(154, 24);
chkIncludeSubfolders.TabIndex = 0;
chkIncludeSubfolders.Text = "Include Subfolders";
chkIncludeSubfolders.UseVisualStyleBackColor = true;
//
// splitContainerMain
//
splitContainerMain.Dock = DockStyle.Fill;
splitContainerMain.Location = new Point(0, 0);
splitContainerMain.Name = "splitContainerMain";
//
// splitContainerMain.Panel1
//
splitContainerMain.Panel1.Controls.Add(tableLayoutLeft);
splitContainerMain.Panel1MinSize = 225;
//
// splitContainerMain.Panel2
//
splitContainerMain.Panel2.Controls.Add(tableLayoutRight);
splitContainerMain.Panel2MinSize = 225;
splitContainerMain.Size = new Size(1008, 661);
splitContainerMain.SplitterDistance = 400;
splitContainerMain.TabIndex = 14;
//
// frmMain
//
AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(1008, 661);
Controls.Add(splitContainerMain);
Icon = (Icon)resources.GetObject("$this.Icon");
Margin = new Padding(2);
Name = "frmMain";
Text = "FrontMatter Loader (YAML)";
tableLayoutFileName.ResumeLayout(false);
tableLayoutFileName.PerformLayout();
tableLayoutRight.ResumeLayout(false);
tableLayoutRight.PerformLayout();
tableLayoutSave.ResumeLayout(false);
tableLayoutSave.PerformLayout();
tableLayoutLeft.ResumeLayout(false);
tableLayoutLeft.PerformLayout();
tableLayoutPanel2.ResumeLayout(false);
flowLayoutCheckboxes.ResumeLayout(false);
flowLayoutCheckboxes.PerformLayout();
splitContainerMain.Panel1.ResumeLayout(false);
splitContainerMain.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)splitContainerMain).EndInit();
splitContainerMain.ResumeLayout(false);
ResumeLayout(false);
}
#endregion
private Label lblFolder;
private TextBox txtFolder;
private Button btnBrowse;
private CheckBox chkMarkdownAndText;
private ListBox listFiles;
private Label lblFileName;
private TextBox txtFileName;
private TableLayoutPanel tableLayoutFileName;
private TextBox txtContents;
private Label lblContents;
private Button btnSave;
private TableLayoutPanel tableLayoutLeft;
private TableLayoutPanel tableLayoutRight;
private TableLayoutPanel tableLayoutSave;
private TableLayoutPanel tableLayoutPanel2;
private Button btnClearList;
private Panel panelYaml;
private Label lblListOfFiles;
private FlowLayoutPanel flowLayoutCheckboxes;
private CheckBox chkIncludeSubfolders;
private SplitContainer splitContainerMain;
private Label lblLang;
private ComboBox cmbLang;
}
}