-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainForm.Designer.cs
357 lines (353 loc) · 15 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
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
namespace AfterburnerViewerServerWin
{
partial class MainForm
{
/// <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()
{
components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
log = new TextBox();
toolStripContainer1 = new ToolStripContainer();
splitContainer1 = new SplitContainer();
label1 = new Label();
txtMeasurementsPreview = new TextBox();
toolStrip2 = new ToolStrip();
toolStripLabel2 = new ToolStripLabel();
btOpenDir = new ToolStripButton();
txtDir = new ToolStripTextBox();
toolStripSeparator3 = new ToolStripSeparator();
txtABStatus = new ToolStripTextBox();
toolStrip1 = new ToolStrip();
toolStripLabel1 = new ToolStripLabel();
openToolStripButton = new ToolStripButton();
txtFile = new ToolStripTextBox();
toolStripSeparator2 = new ToolStripSeparator();
toolStrip3 = new ToolStrip();
btRestartIpc = new ToolStripButton();
toolStripSeparator4 = new ToolStripSeparator();
btCopyMeasurement = new ToolStripButton();
toolStripSeparator1 = new ToolStripSeparator();
btHelp = new ToolStripButton();
logTimer = new System.Windows.Forms.Timer(components);
dlgOpen = new OpenFileDialog();
dlgDir = new FolderBrowserDialog();
timerABSettings = new System.Windows.Forms.Timer(components);
toolStripContainer1.ContentPanel.SuspendLayout();
toolStripContainer1.TopToolStripPanel.SuspendLayout();
toolStripContainer1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
splitContainer1.Panel1.SuspendLayout();
splitContainer1.Panel2.SuspendLayout();
splitContainer1.SuspendLayout();
toolStrip2.SuspendLayout();
toolStrip1.SuspendLayout();
toolStrip3.SuspendLayout();
SuspendLayout();
//
// log
//
log.Dock = DockStyle.Fill;
log.Font = new Font("Courier New", 9F, FontStyle.Regular, GraphicsUnit.Point, 0);
log.Location = new Point(0, 0);
log.Multiline = true;
log.Name = "log";
log.ReadOnly = true;
log.ScrollBars = ScrollBars.Both;
log.Size = new Size(785, 334);
log.TabIndex = 1;
log.WordWrap = false;
//
// toolStripContainer1
//
//
// toolStripContainer1.ContentPanel
//
toolStripContainer1.ContentPanel.AutoScroll = true;
toolStripContainer1.ContentPanel.Controls.Add(splitContainer1);
toolStripContainer1.ContentPanel.Size = new Size(785, 383);
toolStripContainer1.Dock = DockStyle.Fill;
toolStripContainer1.Location = new Point(0, 0);
toolStripContainer1.Name = "toolStripContainer1";
toolStripContainer1.Size = new Size(785, 458);
toolStripContainer1.TabIndex = 2;
toolStripContainer1.Text = "toolStripContainer1";
//
// toolStripContainer1.TopToolStripPanel
//
toolStripContainer1.TopToolStripPanel.Controls.Add(toolStrip2);
toolStripContainer1.TopToolStripPanel.Controls.Add(toolStrip1);
toolStripContainer1.TopToolStripPanel.Controls.Add(toolStrip3);
//
// splitContainer1
//
splitContainer1.Dock = DockStyle.Fill;
splitContainer1.FixedPanel = FixedPanel.Panel1;
splitContainer1.IsSplitterFixed = true;
splitContainer1.Location = new Point(0, 0);
splitContainer1.Name = "splitContainer1";
splitContainer1.Orientation = Orientation.Horizontal;
//
// splitContainer1.Panel1
//
splitContainer1.Panel1.Controls.Add(label1);
splitContainer1.Panel1.Controls.Add(txtMeasurementsPreview);
//
// splitContainer1.Panel2
//
splitContainer1.Panel2.Controls.Add(log);
splitContainer1.Size = new Size(785, 383);
splitContainer1.SplitterDistance = 45;
splitContainer1.TabIndex = 3;
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(3, 5);
label1.Name = "label1";
label1.Size = new Size(132, 15);
label1.TabIndex = 3;
label1.Text = "Measurements preview:";
//
// txtMeasurementsPreview
//
txtMeasurementsPreview.Dock = DockStyle.Bottom;
txtMeasurementsPreview.Font = new Font("Courier New", 9F, FontStyle.Regular, GraphicsUnit.Point, 0);
txtMeasurementsPreview.Location = new Point(0, 24);
txtMeasurementsPreview.Name = "txtMeasurementsPreview";
txtMeasurementsPreview.ReadOnly = true;
txtMeasurementsPreview.Size = new Size(785, 21);
txtMeasurementsPreview.TabIndex = 2;
//
// toolStrip2
//
toolStrip2.Dock = DockStyle.None;
toolStrip2.Items.AddRange(new ToolStripItem[] { toolStripLabel2, btOpenDir, txtDir, toolStripSeparator3, txtABStatus });
toolStrip2.Location = new Point(3, 0);
toolStrip2.Name = "toolStrip2";
toolStrip2.Size = new Size(758, 25);
toolStrip2.TabIndex = 1;
//
// toolStripLabel2
//
toolStripLabel2.Name = "toolStripLabel2";
toolStripLabel2.Size = new Size(88, 22);
toolStripLabel2.Text = "Afterburner dir:";
//
// btOpenDir
//
btOpenDir.DisplayStyle = ToolStripItemDisplayStyle.Image;
btOpenDir.Image = (Image)resources.GetObject("btOpenDir.Image");
btOpenDir.ImageTransparentColor = Color.Magenta;
btOpenDir.Name = "btOpenDir";
btOpenDir.Size = new Size(23, 22);
btOpenDir.Text = "&Open";
btOpenDir.Click += btOpenDir_Click;
//
// txtDir
//
txtDir.Name = "txtDir";
txtDir.ReadOnly = true;
txtDir.Size = new Size(250, 25);
//
// toolStripSeparator3
//
toolStripSeparator3.Name = "toolStripSeparator3";
toolStripSeparator3.Size = new Size(6, 25);
//
// txtABStatus
//
txtABStatus.Font = new Font("Courier New", 9F, FontStyle.Bold, GraphicsUnit.Point, 0);
txtABStatus.ForeColor = Color.White;
txtABStatus.Name = "txtABStatus";
txtABStatus.ReadOnly = true;
txtABStatus.Size = new Size(375, 25);
//
// toolStrip1
//
toolStrip1.Dock = DockStyle.None;
toolStrip1.Items.AddRange(new ToolStripItem[] { toolStripLabel1, openToolStripButton, txtFile, toolStripSeparator2 });
toolStrip1.Location = new Point(3, 25);
toolStrip1.Name = "toolStrip1";
toolStrip1.Size = new Size(537, 25);
toolStrip1.TabIndex = 0;
//
// toolStripLabel1
//
toolStripLabel1.Name = "toolStripLabel1";
toolStripLabel1.Size = new Size(133, 22);
toolStripLabel1.Text = "Afterburner History File:";
//
// openToolStripButton
//
openToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
openToolStripButton.Image = (Image)resources.GetObject("openToolStripButton.Image");
openToolStripButton.ImageTransparentColor = Color.Magenta;
openToolStripButton.Name = "openToolStripButton";
openToolStripButton.Size = new Size(23, 22);
openToolStripButton.Text = "&Open";
openToolStripButton.Click += btSelectSourceFile_Click;
//
// txtFile
//
txtFile.Name = "txtFile";
txtFile.ReadOnly = true;
txtFile.Size = new Size(330, 25);
//
// toolStripSeparator2
//
toolStripSeparator2.Name = "toolStripSeparator2";
toolStripSeparator2.Size = new Size(6, 25);
//
// toolStrip3
//
toolStrip3.Dock = DockStyle.None;
toolStrip3.Items.AddRange(new ToolStripItem[] { btRestartIpc, toolStripSeparator4, btCopyMeasurement, toolStripSeparator1, btHelp });
toolStrip3.Location = new Point(3, 50);
toolStrip3.Name = "toolStrip3";
toolStrip3.Size = new Size(284, 25);
toolStrip3.TabIndex = 2;
//
// btRestartIpc
//
btRestartIpc.DisplayStyle = ToolStripItemDisplayStyle.Text;
btRestartIpc.Image = (Image)resources.GetObject("btRestartIpc.Image");
btRestartIpc.ImageTransparentColor = Color.Magenta;
btRestartIpc.Name = "btRestartIpc";
btRestartIpc.Size = new Size(81, 22);
btRestartIpc.Text = "Restart server";
btRestartIpc.Click += btRestartIpc_Click;
//
// toolStripSeparator4
//
toolStripSeparator4.Name = "toolStripSeparator4";
toolStripSeparator4.Size = new Size(6, 25);
//
// btCopyMeasurement
//
btCopyMeasurement.DisplayStyle = ToolStripItemDisplayStyle.Text;
btCopyMeasurement.Image = (Image)resources.GetObject("btCopyMeasurement.Image");
btCopyMeasurement.ImageTransparentColor = Color.Magenta;
btCopyMeasurement.Name = "btCopyMeasurement";
btCopyMeasurement.Size = new Size(156, 22);
btCopyMeasurement.Text = "Copy current measurement";
btCopyMeasurement.Click += btCopyMeasurement_Click;
//
// toolStripSeparator1
//
toolStripSeparator1.Name = "toolStripSeparator1";
toolStripSeparator1.Size = new Size(6, 25);
//
// btHelp
//
btHelp.DisplayStyle = ToolStripItemDisplayStyle.Image;
btHelp.Image = (Image)resources.GetObject("btHelp.Image");
btHelp.ImageTransparentColor = Color.Magenta;
btHelp.Name = "btHelp";
btHelp.Size = new Size(23, 22);
btHelp.Text = "He&lp";
btHelp.Click += btHelp_Click;
//
// logTimer
//
logTimer.Enabled = true;
logTimer.Interval = 500;
logTimer.Tick += logTimer_Tick;
//
// dlgOpen
//
dlgOpen.FileName = "HardwareMonitoring.hml";
dlgOpen.Filter = "HML Files (*.hml)|*.hml|All files (*.*)|*.*";
//
// dlgDir
//
dlgDir.RootFolder = Environment.SpecialFolder.CommonProgramFilesX86;
//
// timerABSettings
//
timerABSettings.Enabled = true;
timerABSettings.Interval = 1000;
timerABSettings.Tick += timerABSettings_Tick;
//
// MainForm
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(785, 458);
Controls.Add(toolStripContainer1);
Name = "MainForm";
Text = "AfterburnerToStreamDeck-Server";
FormClosed += Form1_FormClosed;
Load += Form1_Load;
toolStripContainer1.ContentPanel.ResumeLayout(false);
toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
toolStripContainer1.TopToolStripPanel.PerformLayout();
toolStripContainer1.ResumeLayout(false);
toolStripContainer1.PerformLayout();
splitContainer1.Panel1.ResumeLayout(false);
splitContainer1.Panel1.PerformLayout();
splitContainer1.Panel2.ResumeLayout(false);
splitContainer1.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)splitContainer1).EndInit();
splitContainer1.ResumeLayout(false);
toolStrip2.ResumeLayout(false);
toolStrip2.PerformLayout();
toolStrip1.ResumeLayout(false);
toolStrip1.PerformLayout();
toolStrip3.ResumeLayout(false);
toolStrip3.PerformLayout();
ResumeLayout(false);
}
#endregion
private TextBox log;
private ToolStripContainer toolStripContainer1;
private ToolStrip toolStrip1;
private System.Windows.Forms.Timer logTimer;
private ToolStripTextBox txtFile;
private ToolStripLabel toolStripLabel1;
private OpenFileDialog dlgOpen;
private TextBox txtMeasurementsPreview;
private SplitContainer splitContainer1;
private Label label1;
private ToolStripButton openToolStripButton;
private ToolStripSeparator toolStripSeparator2;
private ToolStripButton helpToolStripButton;
private ToolStrip toolStrip2;
private ToolStripLabel toolStripLabel2;
private ToolStripButton btOpenDir;
private ToolStripTextBox txtDir;
private FolderBrowserDialog dlgDir;
private ToolStripSeparator toolStripSeparator3;
private ToolStrip toolStrip3;
private ToolStripSeparator toolStripSeparator4;
private ToolStripLabel toolStripLabel3;
private ToolStripButton toolStripButton2;
private ToolStripTextBox toolStripTextBox1;
private ToolStripButton btHelp;
private ToolStripButton btRestartIpc;
private ToolStripSeparator toolStripSeparator1;
private ToolStripButton btCopyMeasurement;
private ToolStripTextBox txtABStatus;
private System.Windows.Forms.Timer timerABSettings;
}
}