-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.Designer.cs
More file actions
629 lines (624 loc) · 28.4 KB
/
Copy pathMainWindow.Designer.cs
File metadata and controls
629 lines (624 loc) · 28.4 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
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
namespace PrizeDrawTool
{
partial class MainWindow
{
/// <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(MainWindow));
tabControl1 = new TabControl();
FastDrawPage = new TabPage();
ClearFastDrawResultBtn = new Button();
IsFDAppendMode = new CheckBox();
SetFastDrawAmount = new NumericUpDown();
IsFDResultArrangeByOrder = new CheckBox();
IsAlowRepeat = new CheckBox();
DrawResultLabel1 = new Label();
FastDrawResultList = new ListBox();
SetDrawAmountLabel = new Label();
StartFastDrawBtn = new Button();
LuckDrawPage = new TabPage();
LuckDrawSpeedLabel = new Label();
LuckDrawSpeed = new ComboBox();
IsRemoveLDResult = new CheckBox();
LuckDrawBtn = new Button();
LuckDrawResult = new TextBox();
RandNumGenPage = new TabPage();
IsAllowRandResultRepeat = new CheckBox();
ClearRandGenBtn = new Button();
RGAmountLabel = new Label();
RandGenAmount = new NumericUpDown();
RandGenMaxLabel = new Label();
RandGenMinLabel = new Label();
RandGenMinValue = new NumericUpDown();
RandGenMaxValue = new NumericUpDown();
RGResultLabel = new Label();
RandGenResultTB = new RichTextBox();
RandGenBtn = new Button();
ChooseFileBtn = new Button();
FilePathTB = new TextBox();
ItemList = new ListBox();
AddItemBtn = new Button();
DeleteItemBtn = new Button();
ItemLabel = new Label();
DataAreaTable = new Label();
FileLabel = new Label();
DataAreaTB = new TextBox();
BannerPictureBox = new PictureBox();
SettingBtn = new Button();
CopyFDResultBtn = new Button();
tabControl1.SuspendLayout();
FastDrawPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)SetFastDrawAmount).BeginInit();
LuckDrawPage.SuspendLayout();
RandNumGenPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)RandGenAmount).BeginInit();
((System.ComponentModel.ISupportInitialize)RandGenMinValue).BeginInit();
((System.ComponentModel.ISupportInitialize)RandGenMaxValue).BeginInit();
((System.ComponentModel.ISupportInitialize)BannerPictureBox).BeginInit();
SuspendLayout();
//
// tabControl1
//
tabControl1.Controls.Add(FastDrawPage);
tabControl1.Controls.Add(LuckDrawPage);
tabControl1.Controls.Add(RandNumGenPage);
tabControl1.Location = new Point(309, 179);
tabControl1.Name = "tabControl1";
tabControl1.SelectedIndex = 0;
tabControl1.Size = new Size(720, 487);
tabControl1.TabIndex = 0;
//
// FastDrawPage
//
FastDrawPage.BorderStyle = BorderStyle.FixedSingle;
FastDrawPage.Controls.Add(CopyFDResultBtn);
FastDrawPage.Controls.Add(ClearFastDrawResultBtn);
FastDrawPage.Controls.Add(IsFDAppendMode);
FastDrawPage.Controls.Add(SetFastDrawAmount);
FastDrawPage.Controls.Add(IsFDResultArrangeByOrder);
FastDrawPage.Controls.Add(IsAlowRepeat);
FastDrawPage.Controls.Add(DrawResultLabel1);
FastDrawPage.Controls.Add(FastDrawResultList);
FastDrawPage.Controls.Add(SetDrawAmountLabel);
FastDrawPage.Controls.Add(StartFastDrawBtn);
FastDrawPage.Location = new Point(4, 29);
FastDrawPage.Name = "FastDrawPage";
FastDrawPage.Padding = new Padding(3);
FastDrawPage.Size = new Size(712, 454);
FastDrawPage.TabIndex = 0;
FastDrawPage.Text = "快速抽签";
FastDrawPage.UseVisualStyleBackColor = true;
FastDrawPage.MouseClick += FastDrawPage_MouseClick;
//
// ClearFastDrawResultBtn
//
ClearFastDrawResultBtn.BackColor = Color.Salmon;
ClearFastDrawResultBtn.Font = new Font("Microsoft YaHei UI", 10.8F, FontStyle.Regular, GraphicsUnit.Point, 134);
ClearFastDrawResultBtn.Location = new Point(576, 404);
ClearFastDrawResultBtn.Name = "ClearFastDrawResultBtn";
ClearFastDrawResultBtn.Size = new Size(114, 39);
ClearFastDrawResultBtn.TabIndex = 8;
ClearFastDrawResultBtn.Text = "清空结果";
ClearFastDrawResultBtn.UseVisualStyleBackColor = false;
ClearFastDrawResultBtn.Click += ClearFastDrawResultBtn_Click;
//
// IsFDAppendMode
//
IsFDAppendMode.AutoSize = true;
IsFDAppendMode.CheckAlign = ContentAlignment.MiddleRight;
IsFDAppendMode.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
IsFDAppendMode.Location = new Point(214, 106);
IsFDAppendMode.Name = "IsFDAppendMode";
IsFDAppendMode.Size = new Size(114, 31);
IsFDAppendMode.TabIndex = 7;
IsFDAppendMode.Text = "追加模式";
IsFDAppendMode.UseVisualStyleBackColor = true;
IsFDAppendMode.CheckedChanged += IsFDAppendMode_CheckedChanged;
//
// SetFastDrawAmount
//
SetFastDrawAmount.Location = new Point(196, 67);
SetFastDrawAmount.Name = "SetFastDrawAmount";
SetFastDrawAmount.Size = new Size(132, 27);
SetFastDrawAmount.TabIndex = 1;
SetFastDrawAmount.Leave += SetFastDrawAmount_Leave;
//
// IsFDResultArrangeByOrder
//
IsFDResultArrangeByOrder.AutoSize = true;
IsFDResultArrangeByOrder.CheckAlign = ContentAlignment.MiddleRight;
IsFDResultArrangeByOrder.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
IsFDResultArrangeByOrder.Location = new Point(48, 106);
IsFDResultArrangeByOrder.Name = "IsFDResultArrangeByOrder";
IsFDResultArrangeByOrder.Size = new Size(154, 31);
IsFDResultArrangeByOrder.TabIndex = 6;
IsFDResultArrangeByOrder.Text = "结果按序排列";
IsFDResultArrangeByOrder.UseVisualStyleBackColor = true;
//
// IsAlowRepeat
//
IsAlowRepeat.AutoSize = true;
IsAlowRepeat.CheckAlign = ContentAlignment.MiddleRight;
IsAlowRepeat.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
IsAlowRepeat.Location = new Point(48, 146);
IsAlowRepeat.Name = "IsAlowRepeat";
IsAlowRepeat.Size = new Size(154, 31);
IsAlowRepeat.TabIndex = 5;
IsAlowRepeat.Text = "允许结果重复";
IsAlowRepeat.UseVisualStyleBackColor = true;
//
// DrawResultLabel1
//
DrawResultLabel1.AutoSize = true;
DrawResultLabel1.Font = new Font("Microsoft YaHei UI", 15F, FontStyle.Bold, GraphicsUnit.Point, 134);
DrawResultLabel1.Location = new Point(372, 23);
DrawResultLabel1.Name = "DrawResultLabel1";
DrawResultLabel1.Size = new Size(115, 33);
DrawResultLabel1.TabIndex = 4;
DrawResultLabel1.Text = "抽签结果";
//
// FastDrawResultList
//
FastDrawResultList.Font = new Font("Microsoft YaHei UI", 18F, FontStyle.Bold, GraphicsUnit.Point, 134);
FastDrawResultList.FormattingEnabled = true;
FastDrawResultList.ItemHeight = 40;
FastDrawResultList.Location = new Point(372, 70);
FastDrawResultList.Name = "FastDrawResultList";
FastDrawResultList.SelectionMode = SelectionMode.MultiExtended;
FastDrawResultList.Size = new Size(318, 324);
FastDrawResultList.TabIndex = 3;
//
// SetDrawAmountLabel
//
SetDrawAmountLabel.AutoSize = true;
SetDrawAmountLabel.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
SetDrawAmountLabel.Location = new Point(48, 67);
SetDrawAmountLabel.Name = "SetDrawAmountLabel";
SetDrawAmountLabel.Size = new Size(152, 27);
SetDrawAmountLabel.TabIndex = 2;
SetDrawAmountLabel.Text = "设置抽签数量:";
SetDrawAmountLabel.TextAlign = ContentAlignment.MiddleLeft;
//
// StartFastDrawBtn
//
StartFastDrawBtn.BackColor = Color.DarkOrange;
StartFastDrawBtn.Cursor = Cursors.Hand;
StartFastDrawBtn.Font = new Font("Microsoft YaHei UI", 25.8000011F, FontStyle.Bold, GraphicsUnit.Point, 134);
StartFastDrawBtn.Location = new Point(48, 205);
StartFastDrawBtn.Name = "StartFastDrawBtn";
StartFastDrawBtn.Size = new Size(280, 123);
StartFastDrawBtn.TabIndex = 0;
StartFastDrawBtn.Text = "抽签";
StartFastDrawBtn.UseVisualStyleBackColor = false;
StartFastDrawBtn.Click += StartFastDrawBtn_Click;
//
// LuckDrawPage
//
LuckDrawPage.BorderStyle = BorderStyle.FixedSingle;
LuckDrawPage.Controls.Add(LuckDrawSpeedLabel);
LuckDrawPage.Controls.Add(LuckDrawSpeed);
LuckDrawPage.Controls.Add(IsRemoveLDResult);
LuckDrawPage.Controls.Add(LuckDrawBtn);
LuckDrawPage.Controls.Add(LuckDrawResult);
LuckDrawPage.Location = new Point(4, 29);
LuckDrawPage.Name = "LuckDrawPage";
LuckDrawPage.Padding = new Padding(3);
LuckDrawPage.Size = new Size(712, 454);
LuckDrawPage.TabIndex = 1;
LuckDrawPage.Text = "随时暂停";
LuckDrawPage.UseVisualStyleBackColor = true;
//
// LuckDrawSpeedLabel
//
LuckDrawSpeedLabel.AutoSize = true;
LuckDrawSpeedLabel.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
LuckDrawSpeedLabel.Location = new Point(31, 20);
LuckDrawSpeedLabel.Name = "LuckDrawSpeedLabel";
LuckDrawSpeedLabel.Size = new Size(92, 27);
LuckDrawSpeedLabel.TabIndex = 4;
LuckDrawSpeedLabel.Text = "抽签速度";
//
// LuckDrawSpeed
//
LuckDrawSpeed.DropDownStyle = ComboBoxStyle.DropDownList;
LuckDrawSpeed.FormattingEnabled = true;
LuckDrawSpeed.Items.AddRange(new object[] { "慢", "中", "快" });
LuckDrawSpeed.Location = new Point(129, 19);
LuckDrawSpeed.Name = "LuckDrawSpeed";
LuckDrawSpeed.Size = new Size(60, 28);
LuckDrawSpeed.TabIndex = 3;
//
// IsRemoveLDResult
//
IsRemoveLDResult.AutoSize = true;
IsRemoveLDResult.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
IsRemoveLDResult.Location = new Point(31, 402);
IsRemoveLDResult.Name = "IsRemoveLDResult";
IsRemoveLDResult.Size = new Size(181, 24);
IsRemoveLDResult.TabIndex = 2;
IsRemoveLDResult.Text = "从列表中移除已抽结果";
IsRemoveLDResult.UseVisualStyleBackColor = true;
//
// LuckDrawBtn
//
LuckDrawBtn.BackColor = Color.YellowGreen;
LuckDrawBtn.Cursor = Cursors.Hand;
LuckDrawBtn.Font = new Font("Microsoft YaHei UI", 25.8000011F, FontStyle.Bold, GraphicsUnit.Point, 134);
LuckDrawBtn.Location = new Point(31, 287);
LuckDrawBtn.Name = "LuckDrawBtn";
LuckDrawBtn.Size = new Size(647, 100);
LuckDrawBtn.TabIndex = 1;
LuckDrawBtn.Text = "开始";
LuckDrawBtn.UseVisualStyleBackColor = false;
LuckDrawBtn.Click += LuckDrawBtn_Click;
//
// LuckDrawResult
//
LuckDrawResult.BackColor = SystemColors.GradientInactiveCaption;
LuckDrawResult.Font = new Font("Microsoft YaHei UI", 72F, FontStyle.Bold, GraphicsUnit.Point, 134);
LuckDrawResult.Location = new Point(31, 64);
LuckDrawResult.MinimumSize = new Size(0, 200);
LuckDrawResult.Name = "LuckDrawResult";
LuckDrawResult.ReadOnly = true;
LuckDrawResult.Size = new Size(647, 200);
LuckDrawResult.TabIndex = 0;
LuckDrawResult.TextAlign = HorizontalAlignment.Center;
//
// RandNumGenPage
//
RandNumGenPage.Controls.Add(IsAllowRandResultRepeat);
RandNumGenPage.Controls.Add(ClearRandGenBtn);
RandNumGenPage.Controls.Add(RGAmountLabel);
RandNumGenPage.Controls.Add(RandGenAmount);
RandNumGenPage.Controls.Add(RandGenMaxLabel);
RandNumGenPage.Controls.Add(RandGenMinLabel);
RandNumGenPage.Controls.Add(RandGenMinValue);
RandNumGenPage.Controls.Add(RandGenMaxValue);
RandNumGenPage.Controls.Add(RGResultLabel);
RandNumGenPage.Controls.Add(RandGenResultTB);
RandNumGenPage.Controls.Add(RandGenBtn);
RandNumGenPage.Location = new Point(4, 29);
RandNumGenPage.Name = "RandNumGenPage";
RandNumGenPage.Padding = new Padding(3);
RandNumGenPage.Size = new Size(712, 454);
RandNumGenPage.TabIndex = 2;
RandNumGenPage.Text = "随机数生成";
RandNumGenPage.UseVisualStyleBackColor = true;
RandNumGenPage.Click += RandNumGenPage_Click;
//
// IsAllowRandResultRepeat
//
IsAllowRandResultRepeat.AutoSize = true;
IsAllowRandResultRepeat.CheckAlign = ContentAlignment.MiddleRight;
IsAllowRandResultRepeat.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
IsAllowRandResultRepeat.Location = new Point(189, 184);
IsAllowRandResultRepeat.Name = "IsAllowRandResultRepeat";
IsAllowRandResultRepeat.Size = new Size(154, 31);
IsAllowRandResultRepeat.TabIndex = 10;
IsAllowRandResultRepeat.Text = "允许结果重复";
IsAllowRandResultRepeat.UseVisualStyleBackColor = true;
//
// ClearRandGenBtn
//
ClearRandGenBtn.BackColor = Color.Salmon;
ClearRandGenBtn.Font = new Font("Microsoft YaHei UI", 10.8F, FontStyle.Regular, GraphicsUnit.Point, 134);
ClearRandGenBtn.Location = new Point(566, 382);
ClearRandGenBtn.Name = "ClearRandGenBtn";
ClearRandGenBtn.Size = new Size(114, 39);
ClearRandGenBtn.TabIndex = 9;
ClearRandGenBtn.Text = "清空结果";
ClearRandGenBtn.UseVisualStyleBackColor = false;
ClearRandGenBtn.Click += ClearRandGenBtn_Click;
//
// RGAmountLabel
//
RGAmountLabel.AutoSize = true;
RGAmountLabel.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
RGAmountLabel.Location = new Point(18, 188);
RGAmountLabel.Name = "RGAmountLabel";
RGAmountLabel.Size = new Size(52, 27);
RGAmountLabel.TabIndex = 8;
RGAmountLabel.Text = "数量";
//
// RandGenAmount
//
RandGenAmount.Location = new Point(83, 188);
RandGenAmount.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
RandGenAmount.Name = "RandGenAmount";
RandGenAmount.Size = new Size(100, 27);
RandGenAmount.TabIndex = 7;
RandGenAmount.Value = new decimal(new int[] { 1, 0, 0, 0 });
//
// RandGenMaxLabel
//
RandGenMaxLabel.AutoSize = true;
RandGenMaxLabel.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
RandGenMaxLabel.Location = new Point(6, 141);
RandGenMaxLabel.Name = "RandGenMaxLabel";
RandGenMaxLabel.Size = new Size(72, 27);
RandGenMaxLabel.TabIndex = 6;
RandGenMaxLabel.Text = "最大值";
//
// RandGenMinLabel
//
RandGenMinLabel.AutoSize = true;
RandGenMinLabel.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
RandGenMinLabel.Location = new Point(6, 98);
RandGenMinLabel.Name = "RandGenMinLabel";
RandGenMinLabel.Size = new Size(72, 27);
RandGenMinLabel.TabIndex = 5;
RandGenMinLabel.Text = "最小值";
//
// RandGenMinValue
//
RandGenMinValue.Location = new Point(83, 98);
RandGenMinValue.Maximum = new decimal(new int[] { 99999, 0, 0, 0 });
RandGenMinValue.Minimum = new decimal(new int[] { 99999, 0, 0, int.MinValue });
RandGenMinValue.Name = "RandGenMinValue";
RandGenMinValue.Size = new Size(100, 27);
RandGenMinValue.TabIndex = 4;
RandGenMinValue.ValueChanged += ValidateRandGenValue;
RandGenMinValue.Leave += ValidateRandGenValue;
//
// RandGenMaxValue
//
RandGenMaxValue.Location = new Point(83, 141);
RandGenMaxValue.Maximum = new decimal(new int[] { 99999, 0, 0, 0 });
RandGenMaxValue.Minimum = new decimal(new int[] { 99999, 0, 0, int.MinValue });
RandGenMaxValue.Name = "RandGenMaxValue";
RandGenMaxValue.Size = new Size(100, 27);
RandGenMaxValue.TabIndex = 3;
RandGenMaxValue.ValueChanged += ValidateRandGenValue;
RandGenMaxValue.Leave += ValidateRandGenValue;
//
// RGResultLabel
//
RGResultLabel.AutoSize = true;
RGResultLabel.Font = new Font("Microsoft YaHei UI", 15F, FontStyle.Bold, GraphicsUnit.Point, 134);
RGResultLabel.Location = new Point(349, 14);
RGResultLabel.Name = "RGResultLabel";
RGResultLabel.Size = new Size(115, 33);
RGResultLabel.TabIndex = 2;
RGResultLabel.Text = "生成结果";
//
// RandGenResultTB
//
RandGenResultTB.BackColor = SystemColors.Info;
RandGenResultTB.Font = new Font("Microsoft YaHei UI", 15F, FontStyle.Bold, GraphicsUnit.Point, 134);
RandGenResultTB.Location = new Point(349, 59);
RandGenResultTB.Name = "RandGenResultTB";
RandGenResultTB.ReadOnly = true;
RandGenResultTB.Size = new Size(331, 306);
RandGenResultTB.TabIndex = 1;
RandGenResultTB.Text = "";
//
// RandGenBtn
//
RandGenBtn.BackColor = Color.PowderBlue;
RandGenBtn.Cursor = Cursors.Hand;
RandGenBtn.Font = new Font("Microsoft YaHei UI", 15F, FontStyle.Bold, GraphicsUnit.Point, 134);
RandGenBtn.Location = new Point(86, 372);
RandGenBtn.Name = "RandGenBtn";
RandGenBtn.Size = new Size(180, 53);
RandGenBtn.TabIndex = 0;
RandGenBtn.Text = "生成";
RandGenBtn.UseVisualStyleBackColor = false;
RandGenBtn.Click += RandGenBtn_Click;
//
// ChooseFileBtn
//
ChooseFileBtn.Location = new Point(197, 633);
ChooseFileBtn.Name = "ChooseFileBtn";
ChooseFileBtn.Size = new Size(94, 29);
ChooseFileBtn.TabIndex = 1;
ChooseFileBtn.Text = "读取表格";
ChooseFileBtn.UseVisualStyleBackColor = true;
ChooseFileBtn.Click += ChooseFileBtn_Click;
//
// FilePathTB
//
FilePathTB.Location = new Point(63, 11);
FilePathTB.Name = "FilePathTB";
FilePathTB.ReadOnly = true;
FilePathTB.Size = new Size(455, 27);
FilePathTB.TabIndex = 2;
//
// ItemList
//
ItemList.FormattingEnabled = true;
ItemList.Location = new Point(16, 208);
ItemList.Name = "ItemList";
ItemList.SelectionMode = SelectionMode.MultiExtended;
ItemList.Size = new Size(275, 404);
ItemList.TabIndex = 3;
//
// AddItemBtn
//
AddItemBtn.Location = new Point(16, 633);
AddItemBtn.Name = "AddItemBtn";
AddItemBtn.Size = new Size(88, 29);
AddItemBtn.TabIndex = 4;
AddItemBtn.Text = "添加项目";
AddItemBtn.UseVisualStyleBackColor = true;
AddItemBtn.Click += AddItemBtn_Click;
//
// DeleteItemBtn
//
DeleteItemBtn.Location = new Point(110, 633);
DeleteItemBtn.Name = "DeleteItemBtn";
DeleteItemBtn.Size = new Size(81, 29);
DeleteItemBtn.TabIndex = 5;
DeleteItemBtn.Text = "删除选中";
DeleteItemBtn.UseVisualStyleBackColor = true;
DeleteItemBtn.Click += DeleteItemBtn_Click;
//
// ItemLabel
//
ItemLabel.AutoSize = true;
ItemLabel.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
ItemLabel.Location = new Point(12, 178);
ItemLabel.Name = "ItemLabel";
ItemLabel.Size = new Size(92, 27);
ItemLabel.TabIndex = 6;
ItemLabel.Text = "抽签列表";
//
// DataAreaTable
//
DataAreaTable.AutoSize = true;
DataAreaTable.Location = new Point(524, 14);
DataAreaTable.Name = "DataAreaTable";
DataAreaTable.Size = new Size(69, 20);
DataAreaTable.TabIndex = 8;
DataAreaTable.Text = "数据范围";
DataAreaTable.TextAlign = ContentAlignment.MiddleCenter;
//
// FileLabel
//
FileLabel.AutoSize = true;
FileLabel.Location = new Point(18, 15);
FileLabel.Name = "FileLabel";
FileLabel.Size = new Size(39, 20);
FileLabel.TabIndex = 7;
FileLabel.Text = "文件";
FileLabel.TextAlign = ContentAlignment.MiddleCenter;
//
// DataAreaTB
//
DataAreaTB.Location = new Point(599, 11);
DataAreaTB.Name = "DataAreaTB";
DataAreaTB.ReadOnly = true;
DataAreaTB.Size = new Size(142, 27);
DataAreaTB.TabIndex = 9;
//
// BannerPictureBox
//
BannerPictureBox.Location = new Point(16, 47);
BannerPictureBox.Name = "BannerPictureBox";
BannerPictureBox.Size = new Size(1009, 120);
BannerPictureBox.TabIndex = 11;
BannerPictureBox.TabStop = false;
//
// SettingBtn
//
SettingBtn.Location = new Point(931, 12);
SettingBtn.Name = "SettingBtn";
SettingBtn.Size = new Size(94, 29);
SettingBtn.TabIndex = 12;
SettingBtn.Text = "设置";
SettingBtn.UseVisualStyleBackColor = true;
SettingBtn.Click += SettingBtn_Click;
//
// CopyFDResultBtn
//
CopyFDResultBtn.BackColor = Color.PaleTurquoise;
CopyFDResultBtn.Font = new Font("Microsoft YaHei UI", 10.8F, FontStyle.Regular, GraphicsUnit.Point, 134);
CopyFDResultBtn.Location = new Point(373, 404);
CopyFDResultBtn.Name = "CopyFDResultBtn";
CopyFDResultBtn.Size = new Size(114, 39);
CopyFDResultBtn.TabIndex = 9;
CopyFDResultBtn.Text = "复制结果";
CopyFDResultBtn.UseVisualStyleBackColor = false;
CopyFDResultBtn.Click += CopyFDResultBtn_Click;
//
// MainWindow
//
AutoScaleDimensions = new SizeF(9F, 20F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(1041, 678);
Controls.Add(SettingBtn);
Controls.Add(BannerPictureBox);
Controls.Add(DataAreaTB);
Controls.Add(DataAreaTable);
Controls.Add(FileLabel);
Controls.Add(ItemLabel);
Controls.Add(DeleteItemBtn);
Controls.Add(AddItemBtn);
Controls.Add(ItemList);
Controls.Add(FilePathTB);
Controls.Add(ChooseFileBtn);
Controls.Add(tabControl1);
FormBorderStyle = FormBorderStyle.Fixed3D;
Icon = (Icon)resources.GetObject("$this.Icon");
MaximizeBox = false;
Name = "MainWindow";
Text = "抽签工具 beta 3.0";
tabControl1.ResumeLayout(false);
FastDrawPage.ResumeLayout(false);
FastDrawPage.PerformLayout();
((System.ComponentModel.ISupportInitialize)SetFastDrawAmount).EndInit();
LuckDrawPage.ResumeLayout(false);
LuckDrawPage.PerformLayout();
RandNumGenPage.ResumeLayout(false);
RandNumGenPage.PerformLayout();
((System.ComponentModel.ISupportInitialize)RandGenAmount).EndInit();
((System.ComponentModel.ISupportInitialize)RandGenMinValue).EndInit();
((System.ComponentModel.ISupportInitialize)RandGenMaxValue).EndInit();
((System.ComponentModel.ISupportInitialize)BannerPictureBox).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private TabControl tabControl1;
private TabPage FastDrawPage;
private TabPage LuckDrawPage;
private Button ChooseFileBtn;
private TextBox FilePathTB;
private ListBox ItemList;
private Button AddItemBtn;
private Button DeleteItemBtn;
private Label ItemLabel;
private Label DataAreaTable;
private Label FileLabel;
public TextBox DataAreaTB;
public PictureBox BannerPictureBox;
private Button SettingBtn;
private Button StartFastDrawBtn;
private NumericUpDown SetFastDrawAmount;
private Label SetDrawAmountLabel;
private Label DrawResultLabel1;
private ListBox FastDrawResultList;
private CheckBox IsAlowRepeat;
private CheckBox IsFDResultArrangeByOrder;
private CheckBox IsFDAppendMode;
private Button ClearFastDrawResultBtn;
private TextBox LuckDrawResult;
private Button LuckDrawBtn;
private CheckBox IsRemoveLDResult;
private ComboBox LuckDrawSpeed;
private Label LuckDrawSpeedLabel;
private TabPage RandNumGenPage;
private Button RandGenBtn;
private RichTextBox RandGenResultTB;
private Label RGResultLabel;
private NumericUpDown RandGenMaxValue;
private Label RandGenMinLabel;
private NumericUpDown RandGenMinValue;
private Label RandGenMaxLabel;
private Label RGAmountLabel;
private NumericUpDown RandGenAmount;
private Button ClearRandGenBtn;
private CheckBox IsAllowRandResultRepeat;
private Button CopyFDResultBtn;
}
}