-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainForm.Designer.cs
More file actions
150 lines (143 loc) · 6.4 KB
/
MainForm.Designer.cs
File metadata and controls
150 lines (143 loc) · 6.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
namespace MathematicalBSoD
{
partial class MainForm
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.question = new System.Windows.Forms.Label();
this.answer_box = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.submit = new System.Windows.Forms.Button();
this.ProcessDetection = new System.Windows.Forms.Timer(this.components);
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.timer = new System.Windows.Forms.Timer(this.components);
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// question
//
this.question.Font = new System.Drawing.Font("宋体", 10F);
this.question.Location = new System.Drawing.Point(16, 11);
this.question.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.question.Name = "question";
this.question.Size = new System.Drawing.Size(213, 18);
this.question.TabIndex = 0;
this.question.Text = "label1";
this.question.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.question.TextChanged += new System.EventHandler(this.label1_TextChanged);
this.question.Click += new System.EventHandler(this.label1_Click);
//
// answer_box
//
this.answer_box.Location = new System.Drawing.Point(39, 34);
this.answer_box.Margin = new System.Windows.Forms.Padding(4);
this.answer_box.Name = "answer_box";
this.answer_box.Size = new System.Drawing.Size(189, 25);
this.answer_box.TabIndex = 1;
this.answer_box.Tag = "";
this.answer_box.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
this.answer_box.KeyUp += new System.Windows.Forms.KeyEventHandler(this.answer_box_KeyUp);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(16, 38);
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(15, 15);
this.label2.TabIndex = 2;
this.label2.Text = "+";
//
// submit
//
this.submit.Enabled = false;
this.submit.Location = new System.Drawing.Point(13, 103);
this.submit.Margin = new System.Windows.Forms.Padding(4);
this.submit.Name = "submit";
this.submit.Size = new System.Drawing.Size(216, 33);
this.submit.TabIndex = 3;
this.submit.Text = "Submit";
this.submit.UseVisualStyleBackColor = true;
this.submit.Click += new System.EventHandler(this.submit_Click);
//
// ProcessDetection
//
this.ProcessDetection.Tick += new System.EventHandler(this.ProcessDetection_Tick);
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(12, 66);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(216, 30);
this.progressBar1.TabIndex = 4;
//
// timer
//
this.timer.Tick += new System.EventHandler(this.timer_Tick);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 81);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(55, 15);
this.label1.TabIndex = 5;
this.label1.Text = "label1";
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(245, 149);
this.Controls.Add(this.label1);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.submit);
this.Controls.Add(this.label2);
this.Controls.Add(this.answer_box);
this.Controls.Add(this.question);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Margin = new System.Windows.Forms.Padding(4);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(261, 47);
this.Name = "MainForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Solve question 1";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
this.Load += new System.EventHandler(this.MainForm_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label question;
private System.Windows.Forms.TextBox answer_box;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button submit;
private System.Windows.Forms.Timer ProcessDetection;
private System.Windows.Forms.ProgressBar progressBar1;
private System.Windows.Forms.Timer timer;
private System.Windows.Forms.Label label1;
}
}