-
Notifications
You must be signed in to change notification settings - Fork 1
/
MainForm.Designer.cs
268 lines (261 loc) · 12.7 KB
/
MainForm.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
namespace MiJia
{
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.btnTest = new System.Windows.Forms.Button();
this.edResult = new System.Windows.Forms.TextBox();
this.btnReloadScript = new System.Windows.Forms.Button();
this.btnEditScript = new System.Windows.Forms.Button();
this.chkPause = new System.Windows.Forms.CheckBox();
this.chkOnTop = new System.Windows.Forms.CheckBox();
this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
this.contextNotify = new System.Windows.Forms.ContextMenuStrip(this.components);
this.tsmiOnTop = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiShowForm = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiSep1 = new System.Windows.Forms.ToolStripSeparator();
this.tsmiReload = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiEdit = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiTest = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiPause = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiSep2 = new System.Windows.Forms.ToolStripSeparator();
this.tsmiResetGateway = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiSep3 = new System.Windows.Forms.ToolStripSeparator();
this.tsmiExit = new System.Windows.Forms.ToolStripMenuItem();
this.contextNotify.SuspendLayout();
this.SuspendLayout();
//
// btnTest
//
this.btnTest.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnTest.Location = new System.Drawing.Point(12, 438);
this.btnTest.Name = "btnTest";
this.btnTest.Size = new System.Drawing.Size(75, 23);
this.btnTest.TabIndex = 0;
this.btnTest.Text = "Test Script";
this.btnTest.UseVisualStyleBackColor = true;
this.btnTest.Click += new System.EventHandler(this.btnTest_Click);
//
// edResult
//
this.edResult.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.edResult.Location = new System.Drawing.Point(12, 12);
this.edResult.Multiline = true;
this.edResult.Name = "edResult";
this.edResult.ReadOnly = true;
this.edResult.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.edResult.Size = new System.Drawing.Size(472, 411);
this.edResult.TabIndex = 1;
this.edResult.WordWrap = false;
//
// btnReloadScript
//
this.btnReloadScript.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnReloadScript.Location = new System.Drawing.Point(409, 438);
this.btnReloadScript.Name = "btnReloadScript";
this.btnReloadScript.Size = new System.Drawing.Size(75, 23);
this.btnReloadScript.TabIndex = 2;
this.btnReloadScript.Text = "Reload Script";
this.btnReloadScript.UseVisualStyleBackColor = true;
this.btnReloadScript.Click += new System.EventHandler(this.btnReloadScript_Click);
//
// btnEditScript
//
this.btnEditScript.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnEditScript.Location = new System.Drawing.Point(328, 438);
this.btnEditScript.Name = "btnEditScript";
this.btnEditScript.Size = new System.Drawing.Size(75, 23);
this.btnEditScript.TabIndex = 3;
this.btnEditScript.Text = "Edit Script";
this.btnEditScript.UseVisualStyleBackColor = true;
this.btnEditScript.Click += new System.EventHandler(this.btnEditScript_Click);
//
// chkPause
//
this.chkPause.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.chkPause.AutoEllipsis = true;
this.chkPause.Location = new System.Drawing.Point(250, 437);
this.chkPause.Name = "chkPause";
this.chkPause.Size = new System.Drawing.Size(72, 23);
this.chkPause.TabIndex = 4;
this.chkPause.Text = "Pausing";
this.chkPause.UseVisualStyleBackColor = true;
this.chkPause.CheckStateChanged += new System.EventHandler(this.chkPause_CheckStateChanged);
//
// chkOnTop
//
this.chkOnTop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.chkOnTop.AutoEllipsis = true;
this.chkOnTop.Location = new System.Drawing.Point(122, 437);
this.chkOnTop.Name = "chkOnTop";
this.chkOnTop.Size = new System.Drawing.Size(111, 23);
this.chkOnTop.TabIndex = 5;
this.chkOnTop.Text = "Always On Top";
this.chkOnTop.UseVisualStyleBackColor = true;
this.chkOnTop.CheckedChanged += new System.EventHandler(this.chkOnTop_CheckedChanged);
//
// notifyIcon
//
this.notifyIcon.ContextMenuStrip = this.contextNotify;
this.notifyIcon.Text = "notifyIcon1";
this.notifyIcon.Visible = true;
this.notifyIcon.DoubleClick += new System.EventHandler(this.notifyIcon_DoubleClick);
//
// contextNotify
//
this.contextNotify.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsmiOnTop,
this.tsmiShowForm,
this.tsmiSep1,
this.tsmiReload,
this.tsmiEdit,
this.tsmiTest,
this.tsmiPause,
this.tsmiSep2,
this.tsmiResetGateway,
this.tsmiSep3,
this.tsmiExit});
this.contextNotify.Name = "contextNotify";
this.contextNotify.Size = new System.Drawing.Size(164, 198);
//
// tsmiOnTop
//
this.tsmiOnTop.CheckOnClick = true;
this.tsmiOnTop.Name = "tsmiOnTop";
this.tsmiOnTop.Size = new System.Drawing.Size(163, 22);
this.tsmiOnTop.Text = "Always On Top";
this.tsmiOnTop.Click += new System.EventHandler(this.chkOnTop_CheckedChanged);
//
// tsmiShowForm
//
this.tsmiShowForm.Name = "tsmiShowForm";
this.tsmiShowForm.Size = new System.Drawing.Size(163, 22);
this.tsmiShowForm.Text = "Show Window";
this.tsmiShowForm.Click += new System.EventHandler(this.tsmiShowForm_Click);
//
// tsmiSep1
//
this.tsmiSep1.Name = "tsmiSep1";
this.tsmiSep1.Size = new System.Drawing.Size(160, 6);
//
// tsmiReload
//
this.tsmiReload.Name = "tsmiReload";
this.tsmiReload.Size = new System.Drawing.Size(163, 22);
this.tsmiReload.Text = "Reload Script";
this.tsmiReload.Click += new System.EventHandler(this.btnReloadScript_Click);
//
// tsmiEdit
//
this.tsmiEdit.Name = "tsmiEdit";
this.tsmiEdit.Size = new System.Drawing.Size(163, 22);
this.tsmiEdit.Text = "Edit Script";
this.tsmiEdit.Click += new System.EventHandler(this.btnEditScript_Click);
//
// tsmiTest
//
this.tsmiTest.Name = "tsmiTest";
this.tsmiTest.Size = new System.Drawing.Size(163, 22);
this.tsmiTest.Text = "Test Script";
this.tsmiTest.Click += new System.EventHandler(this.btnTest_Click);
//
// tsmiPause
//
this.tsmiPause.CheckOnClick = true;
this.tsmiPause.Name = "tsmiPause";
this.tsmiPause.Size = new System.Drawing.Size(163, 22);
this.tsmiPause.Text = "Pausing Script";
this.tsmiPause.Click += new System.EventHandler(this.chkPause_CheckStateChanged);
//
// tsmiSep2
//
this.tsmiSep2.Name = "tsmiSep2";
this.tsmiSep2.Size = new System.Drawing.Size(160, 6);
//
// tsmiResetGateway
//
this.tsmiResetGateway.Name = "tsmiResetGateway";
this.tsmiResetGateway.Size = new System.Drawing.Size(163, 22);
this.tsmiResetGateway.Text = "Reset Gateway";
this.tsmiResetGateway.Click += new System.EventHandler(this.tsmiResetGateway_Click);
//
// tsmiSep3
//
this.tsmiSep3.Name = "tsmiSep3";
this.tsmiSep3.Size = new System.Drawing.Size(160, 6);
//
// tsmiExit
//
this.tsmiExit.Name = "tsmiExit";
this.tsmiExit.Size = new System.Drawing.Size(163, 22);
this.tsmiExit.Text = "Exit";
this.tsmiExit.Click += new System.EventHandler(this.tsmiExit_Click);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(496, 473);
this.Controls.Add(this.chkOnTop);
this.Controls.Add(this.chkPause);
this.Controls.Add(this.btnEditScript);
this.Controls.Add(this.btnReloadScript);
this.Controls.Add(this.edResult);
this.Controls.Add(this.btnTest);
this.MinimumSize = new System.Drawing.Size(400, 300);
this.Name = "MainForm";
this.Text = "MiJia Gateway Monitor";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
this.Load += new System.EventHandler(this.MainForm_Load);
this.Resize += new System.EventHandler(this.MainForm_Resize);
this.contextNotify.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button btnTest;
private System.Windows.Forms.TextBox edResult;
private System.Windows.Forms.Button btnReloadScript;
private System.Windows.Forms.Button btnEditScript;
private System.Windows.Forms.CheckBox chkPause;
private System.Windows.Forms.CheckBox chkOnTop;
private System.Windows.Forms.NotifyIcon notifyIcon;
private System.Windows.Forms.ContextMenuStrip contextNotify;
private System.Windows.Forms.ToolStripMenuItem tsmiExit;
private System.Windows.Forms.ToolStripMenuItem tsmiShowForm;
private System.Windows.Forms.ToolStripSeparator tsmiSep1;
private System.Windows.Forms.ToolStripMenuItem tsmiOnTop;
private System.Windows.Forms.ToolStripMenuItem tsmiReload;
private System.Windows.Forms.ToolStripMenuItem tsmiEdit;
private System.Windows.Forms.ToolStripMenuItem tsmiTest;
private System.Windows.Forms.ToolStripMenuItem tsmiPause;
private System.Windows.Forms.ToolStripSeparator tsmiSep2;
private System.Windows.Forms.ToolStripMenuItem tsmiResetGateway;
private System.Windows.Forms.ToolStripSeparator tsmiSep3;
}
}