-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.Designer.cs
364 lines (360 loc) · 17.7 KB
/
Main.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
namespace KeyInputMacro
{
partial class Main
{
/// <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(Main));
GetWindows_GroupBox = new GroupBox();
WriteObjToScriptButton = new Button();
flushWindowsList = new Button();
ParentObjListAndSubObjList_SplitContainer = new SplitContainer();
parentObjList = new ListBox();
subObjList = new ListBox();
scriptEditBox = new TextBox();
Main_ToolStrip = new MenuStrip();
Main_ToolStrip_Script = new ToolStripMenuItem();
Main_ToolStrip_Script_New = new ToolStripMenuItem();
Main_ToolStrip_Script_Open = new ToolStripMenuItem();
Main_ToolStrip_Script_SaveAs = new ToolStripMenuItem();
toolStripMenuItem1 = new ToolStripSeparator();
Main_ToolStrip_Script_Run = new ToolStripMenuItem();
Main_ToolStrip_Script_Stop = new ToolStripMenuItem();
Main_ToolStrip_OpenTestWindow = new ToolStripMenuItem();
Main_ToolStrip_Edit = new ToolStripMenuItem();
Main_ToolStrip_Edit_Format = new ToolStripMenuItem();
Main_ToolStrip_OpenLogWindow = new ToolStripMenuItem();
Main_ToolStrip_help = new ToolStripMenuItem();
Main_ToolStrip_help_helpDoc = new ToolStripMenuItem();
Main_ToolStrip_help_about = new ToolStripMenuItem();
Root_SplitContainer = new SplitContainer();
OpenScriptFile = new OpenFileDialog();
SaveAsScriptFile = new SaveFileDialog();
GetWindows_GroupBox.SuspendLayout();
((System.ComponentModel.ISupportInitialize)ParentObjListAndSubObjList_SplitContainer).BeginInit();
ParentObjListAndSubObjList_SplitContainer.Panel1.SuspendLayout();
ParentObjListAndSubObjList_SplitContainer.Panel2.SuspendLayout();
ParentObjListAndSubObjList_SplitContainer.SuspendLayout();
Main_ToolStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)Root_SplitContainer).BeginInit();
Root_SplitContainer.Panel1.SuspendLayout();
Root_SplitContainer.Panel2.SuspendLayout();
Root_SplitContainer.SuspendLayout();
SuspendLayout();
//
// GetWindows_GroupBox
//
GetWindows_GroupBox.Controls.Add(WriteObjToScriptButton);
GetWindows_GroupBox.Controls.Add(flushWindowsList);
GetWindows_GroupBox.Controls.Add(ParentObjListAndSubObjList_SplitContainer);
GetWindows_GroupBox.Dock = DockStyle.Fill;
GetWindows_GroupBox.Location = new Point(0, 0);
GetWindows_GroupBox.Name = "GetWindows_GroupBox";
GetWindows_GroupBox.Size = new Size(612, 204);
GetWindows_GroupBox.TabIndex = 2;
GetWindows_GroupBox.TabStop = false;
GetWindows_GroupBox.Text = "获取目标窗口";
//
// WriteObjToScriptButton
//
WriteObjToScriptButton.Anchor = AnchorStyles.Bottom;
WriteObjToScriptButton.Location = new Point(288, 175);
WriteObjToScriptButton.Name = "WriteObjToScriptButton";
WriteObjToScriptButton.Size = new Size(138, 23);
WriteObjToScriptButton.TabIndex = 4;
WriteObjToScriptButton.Text = "将选择的目标写入脚本";
WriteObjToScriptButton.UseVisualStyleBackColor = true;
WriteObjToScriptButton.Click += WriteObjToScriptButton_Click;
//
// flushWindowsList
//
flushWindowsList.Anchor = AnchorStyles.Bottom;
flushWindowsList.Location = new Point(187, 175);
flushWindowsList.Name = "flushWindowsList";
flushWindowsList.Size = new Size(95, 23);
flushWindowsList.TabIndex = 3;
flushWindowsList.Text = "刷新窗口列表";
flushWindowsList.UseVisualStyleBackColor = true;
flushWindowsList.Click += FlushWindowsList_Click;
//
// ParentObjListAndSubObjList_SplitContainer
//
ParentObjListAndSubObjList_SplitContainer.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
ParentObjListAndSubObjList_SplitContainer.Location = new Point(8, 22);
ParentObjListAndSubObjList_SplitContainer.Name = "ParentObjListAndSubObjList_SplitContainer";
//
// ParentObjListAndSubObjList_SplitContainer.Panel1
//
ParentObjListAndSubObjList_SplitContainer.Panel1.Controls.Add(parentObjList);
//
// ParentObjListAndSubObjList_SplitContainer.Panel2
//
ParentObjListAndSubObjList_SplitContainer.Panel2.Controls.Add(subObjList);
ParentObjListAndSubObjList_SplitContainer.Size = new Size(598, 147);
ParentObjListAndSubObjList_SplitContainer.SplitterDistance = 288;
ParentObjListAndSubObjList_SplitContainer.TabIndex = 2;
//
// parentObjList
//
parentObjList.Dock = DockStyle.Fill;
parentObjList.FormattingEnabled = true;
parentObjList.HorizontalScrollbar = true;
parentObjList.IntegralHeight = false;
parentObjList.ItemHeight = 17;
parentObjList.Location = new Point(0, 0);
parentObjList.Name = "parentObjList";
parentObjList.Size = new Size(288, 147);
parentObjList.TabIndex = 0;
parentObjList.SelectedIndexChanged += ParentObjList_SelectedIndexChanged;
//
// subObjList
//
subObjList.Dock = DockStyle.Fill;
subObjList.FormattingEnabled = true;
subObjList.HorizontalScrollbar = true;
subObjList.IntegralHeight = false;
subObjList.ItemHeight = 17;
subObjList.Location = new Point(0, 0);
subObjList.Name = "subObjList";
subObjList.Size = new Size(306, 147);
subObjList.TabIndex = 1;
//
// scriptEditBox
//
scriptEditBox.AcceptsReturn = true;
scriptEditBox.AcceptsTab = true;
scriptEditBox.AllowDrop = true;
scriptEditBox.Dock = DockStyle.Fill;
scriptEditBox.Location = new Point(0, 0);
scriptEditBox.Multiline = true;
scriptEditBox.Name = "scriptEditBox";
scriptEditBox.Size = new Size(612, 270);
scriptEditBox.TabIndex = 3;
scriptEditBox.DragDrop += ScriptEditBox_DragDrop;
scriptEditBox.DragEnter += ScriptEditBox_DragEnter;
//
// Main_ToolStrip
//
Main_ToolStrip.Items.AddRange(new ToolStripItem[] { Main_ToolStrip_Script, Main_ToolStrip_OpenTestWindow, Main_ToolStrip_Edit, Main_ToolStrip_OpenLogWindow, Main_ToolStrip_help });
Main_ToolStrip.Location = new Point(0, 0);
Main_ToolStrip.Name = "Main_ToolStrip";
Main_ToolStrip.Size = new Size(612, 25);
Main_ToolStrip.TabIndex = 5;
Main_ToolStrip.Text = "menuStrip1";
//
// Main_ToolStrip_Script
//
Main_ToolStrip_Script.DropDownItems.AddRange(new ToolStripItem[] { Main_ToolStrip_Script_New, Main_ToolStrip_Script_Open, Main_ToolStrip_Script_SaveAs, toolStripMenuItem1, Main_ToolStrip_Script_Run, Main_ToolStrip_Script_Stop });
Main_ToolStrip_Script.Name = "Main_ToolStrip_Script";
Main_ToolStrip_Script.Size = new Size(44, 21);
Main_ToolStrip_Script.Text = "脚本";
//
// Main_ToolStrip_Script_New
//
Main_ToolStrip_Script_New.Name = "Main_ToolStrip_Script_New";
Main_ToolStrip_Script_New.ShortcutKeyDisplayString = "Ctrl+N";
Main_ToolStrip_Script_New.Size = new Size(180, 22);
Main_ToolStrip_Script_New.Text = "新建";
Main_ToolStrip_Script_New.Click += Main_ToolStrip_Script_New_Click;
//
// Main_ToolStrip_Script_Open
//
Main_ToolStrip_Script_Open.Name = "Main_ToolStrip_Script_Open";
Main_ToolStrip_Script_Open.ShortcutKeyDisplayString = "Ctrl+O";
Main_ToolStrip_Script_Open.Size = new Size(180, 22);
Main_ToolStrip_Script_Open.Text = "打开";
Main_ToolStrip_Script_Open.Click += Main_ToolStrip_Script_Open_Click;
//
// Main_ToolStrip_Script_SaveAs
//
Main_ToolStrip_Script_SaveAs.Name = "Main_ToolStrip_Script_SaveAs";
Main_ToolStrip_Script_SaveAs.ShortcutKeyDisplayString = "Ctrl+S";
Main_ToolStrip_Script_SaveAs.Size = new Size(180, 22);
Main_ToolStrip_Script_SaveAs.Text = "另存为";
Main_ToolStrip_Script_SaveAs.Click += Main_ToolStrip_Script_SaveAs_Click;
//
// toolStripMenuItem1
//
toolStripMenuItem1.Name = "toolStripMenuItem1";
toolStripMenuItem1.Size = new Size(177, 6);
//
// Main_ToolStrip_Script_Run
//
Main_ToolStrip_Script_Run.Name = "Main_ToolStrip_Script_Run";
Main_ToolStrip_Script_Run.ShortcutKeyDisplayString = "Ctrl+\\";
Main_ToolStrip_Script_Run.Size = new Size(180, 22);
Main_ToolStrip_Script_Run.Text = "运行";
Main_ToolStrip_Script_Run.Click += Main_ToolStrip_Script_Run_Click;
//
// Main_ToolStrip_Script_Stop
//
Main_ToolStrip_Script_Stop.Enabled = false;
Main_ToolStrip_Script_Stop.Name = "Main_ToolStrip_Script_Stop";
Main_ToolStrip_Script_Stop.ShortcutKeyDisplayString = "Ctrl+\\";
Main_ToolStrip_Script_Stop.Size = new Size(180, 22);
Main_ToolStrip_Script_Stop.Text = "停止";
Main_ToolStrip_Script_Stop.Click += Main_ToolStrip_Script_Stop_Click;
//
// Main_ToolStrip_OpenTestWindow
//
Main_ToolStrip_OpenTestWindow.Alignment = ToolStripItemAlignment.Right;
Main_ToolStrip_OpenTestWindow.Name = "Main_ToolStrip_OpenTestWindow";
Main_ToolStrip_OpenTestWindow.Size = new Size(68, 21);
Main_ToolStrip_OpenTestWindow.Text = "测试窗口";
Main_ToolStrip_OpenTestWindow.Click += Main_ToolStrip_OpenTestWindow_Click;
//
// Main_ToolStrip_Edit
//
Main_ToolStrip_Edit.DropDownItems.AddRange(new ToolStripItem[] { Main_ToolStrip_Edit_Format });
Main_ToolStrip_Edit.Name = "Main_ToolStrip_Edit";
Main_ToolStrip_Edit.Size = new Size(44, 21);
Main_ToolStrip_Edit.Text = "编辑";
//
// Main_ToolStrip_Edit_Format
//
Main_ToolStrip_Edit_Format.Name = "Main_ToolStrip_Edit_Format";
Main_ToolStrip_Edit_Format.ShortcutKeyDisplayString = "Ctrl+F";
Main_ToolStrip_Edit_Format.Size = new Size(180, 22);
Main_ToolStrip_Edit_Format.Text = "格式化文本";
Main_ToolStrip_Edit_Format.Click += Main_ToolStrip_Edit_Format_Click;
//
// Main_ToolStrip_OpenLogWindow
//
Main_ToolStrip_OpenLogWindow.Alignment = ToolStripItemAlignment.Right;
Main_ToolStrip_OpenLogWindow.Name = "Main_ToolStrip_OpenLogWindow";
Main_ToolStrip_OpenLogWindow.Size = new Size(68, 21);
Main_ToolStrip_OpenLogWindow.Text = "执行日志";
Main_ToolStrip_OpenLogWindow.Click += Main_ToolStrip_OpenLogWindow_Click;
//
// Main_ToolStrip_help
//
Main_ToolStrip_help.DropDownItems.AddRange(new ToolStripItem[] { Main_ToolStrip_help_helpDoc, Main_ToolStrip_help_about });
Main_ToolStrip_help.Name = "Main_ToolStrip_help";
Main_ToolStrip_help.Size = new Size(44, 21);
Main_ToolStrip_help.Text = "帮助";
//
// Main_ToolStrip_help_helpDoc
//
Main_ToolStrip_help_helpDoc.Name = "Main_ToolStrip_help_helpDoc";
Main_ToolStrip_help_helpDoc.Size = new Size(180, 22);
Main_ToolStrip_help_helpDoc.Text = "帮助文档";
Main_ToolStrip_help_helpDoc.Click += Main_ToolStrip_help_helpDoc_Click;
//
// Main_ToolStrip_help_about
//
Main_ToolStrip_help_about.Name = "Main_ToolStrip_help_about";
Main_ToolStrip_help_about.Size = new Size(180, 22);
Main_ToolStrip_help_about.Text = "关于";
Main_ToolStrip_help_about.Click += Main_ToolStrip_help_about_Click;
//
// Root_SplitContainer
//
Root_SplitContainer.Dock = DockStyle.Fill;
Root_SplitContainer.Location = new Point(0, 25);
Root_SplitContainer.Name = "Root_SplitContainer";
Root_SplitContainer.Orientation = Orientation.Horizontal;
//
// Root_SplitContainer.Panel1
//
Root_SplitContainer.Panel1.Controls.Add(GetWindows_GroupBox);
//
// Root_SplitContainer.Panel2
//
Root_SplitContainer.Panel2.Controls.Add(scriptEditBox);
Root_SplitContainer.Size = new Size(612, 478);
Root_SplitContainer.SplitterDistance = 204;
Root_SplitContainer.TabIndex = 6;
//
// OpenScriptFile
//
OpenScriptFile.DefaultExt = "xml.kims";
OpenScriptFile.Filter = "脚本文件|*.xml.kims;*.kims|xml文件|*.xml|文本文件|*.txt";
OpenScriptFile.Title = "打开脚本文件";
//
// SaveAsScriptFile
//
SaveAsScriptFile.DefaultExt = "xml.kims";
SaveAsScriptFile.Filter = "脚本文件|*.xml.kims|脚本文件|*.kims";
SaveAsScriptFile.Title = "另存为脚本文件";
//
// Main
//
AutoScaleDimensions = new SizeF(7F, 17F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(612, 503);
Controls.Add(Root_SplitContainer);
Controls.Add(Main_ToolStrip);
Icon = (Icon)resources.GetObject("$this.Icon");
KeyPreview = true;
MainMenuStrip = Main_ToolStrip;
MinimumSize = new Size(288, 444);
Name = "Main";
Text = "按键输入宏";
FormClosed += Main_FormClosed;
Load += Main_Load;
KeyDown += Main_KeyDown;
GetWindows_GroupBox.ResumeLayout(false);
ParentObjListAndSubObjList_SplitContainer.Panel1.ResumeLayout(false);
ParentObjListAndSubObjList_SplitContainer.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)ParentObjListAndSubObjList_SplitContainer).EndInit();
ParentObjListAndSubObjList_SplitContainer.ResumeLayout(false);
Main_ToolStrip.ResumeLayout(false);
Main_ToolStrip.PerformLayout();
Root_SplitContainer.Panel1.ResumeLayout(false);
Root_SplitContainer.Panel2.ResumeLayout(false);
Root_SplitContainer.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)Root_SplitContainer).EndInit();
Root_SplitContainer.ResumeLayout(false);
ResumeLayout(false);
PerformLayout();
}
#endregion
private GroupBox GetWindows_GroupBox;
private ListBox subObjList;
private ListBox parentObjList;
private SplitContainer ParentObjListAndSubObjList_SplitContainer;
private Button flushWindowsList;
private Button WriteObjToScriptButton;
private TextBox scriptEditBox;
private MenuStrip Main_ToolStrip;
private ToolStripMenuItem Main_ToolStrip_Script;
private ToolStripMenuItem Main_ToolStrip_OpenTestWindow;
private ToolStripMenuItem Main_ToolStrip_Script_New;
private ToolStripMenuItem Main_ToolStrip_Script_Open;
private ToolStripMenuItem Main_ToolStrip_Script_SaveAs;
private ToolStripSeparator toolStripMenuItem1;
private ToolStripMenuItem Main_ToolStrip_Script_Run;
private ToolStripMenuItem Main_ToolStrip_Script_Stop;
private SplitContainer Root_SplitContainer;
private ToolStripMenuItem Main_ToolStrip_Edit;
private ToolStripMenuItem Main_ToolStrip_Edit_Format;
private ToolStripMenuItem Main_ToolStrip_OpenLogWindow;
private OpenFileDialog OpenScriptFile;
private SaveFileDialog SaveAsScriptFile;
private ToolStripMenuItem Main_ToolStrip_help;
private ToolStripMenuItem Main_ToolStrip_help_helpDoc;
private ToolStripMenuItem Main_ToolStrip_help_about;
}
}