moel@1
|
1 |
/*
|
moel@1
|
2 |
|
moel@344
|
3 |
This Source Code Form is subject to the terms of the Mozilla Public
|
moel@344
|
4 |
License, v. 2.0. If a copy of the MPL was not distributed with this
|
moel@344
|
5 |
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
moel@1
|
6 |
|
moel@344
|
7 |
Copyright (C) 2009-2011 Michael Möller <mmoeller@openhardwaremonitor.org>
|
moel@344
|
8 |
|
moel@1
|
9 |
*/
|
moel@1
|
10 |
|
moel@1
|
11 |
namespace OpenHardwareMonitor.GUI {
|
moel@1
|
12 |
partial class MainForm {
|
moel@1
|
13 |
/// <summary>
|
moel@1
|
14 |
/// Required designer variable.
|
moel@1
|
15 |
/// </summary>
|
moel@1
|
16 |
private System.ComponentModel.IContainer components = null;
|
moel@1
|
17 |
|
moel@1
|
18 |
/// <summary>
|
moel@1
|
19 |
/// Clean up any resources being used.
|
moel@1
|
20 |
/// </summary>
|
moel@1
|
21 |
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
moel@1
|
22 |
protected override void Dispose(bool disposing) {
|
moel@1
|
23 |
if (disposing && (components != null)) {
|
moel@1
|
24 |
components.Dispose();
|
moel@1
|
25 |
}
|
moel@1
|
26 |
base.Dispose(disposing);
|
moel@1
|
27 |
}
|
moel@1
|
28 |
|
moel@1
|
29 |
#region Windows Form Designer generated code
|
moel@1
|
30 |
|
moel@1
|
31 |
/// <summary>
|
moel@1
|
32 |
/// Required method for Designer support - do not modify
|
moel@1
|
33 |
/// the contents of this method with the code editor.
|
moel@1
|
34 |
/// </summary>
|
moel@1
|
35 |
private void InitializeComponent() {
|
moel@1
|
36 |
this.components = new System.ComponentModel.Container();
|
moel@1
|
37 |
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
moel@1
|
38 |
this.sensor = new Aga.Controls.Tree.TreeColumn();
|
moel@1
|
39 |
this.value = new Aga.Controls.Tree.TreeColumn();
|
moel@1
|
40 |
this.min = new Aga.Controls.Tree.TreeColumn();
|
moel@1
|
41 |
this.max = new Aga.Controls.Tree.TreeColumn();
|
moel@1
|
42 |
this.nodeImage = new Aga.Controls.Tree.NodeControls.NodeIcon();
|
moel@1
|
43 |
this.nodeCheckBox = new Aga.Controls.Tree.NodeControls.NodeCheckBox();
|
moel@1
|
44 |
this.nodeTextBoxText = new Aga.Controls.Tree.NodeControls.NodeTextBox();
|
moel@1
|
45 |
this.nodeTextBoxValue = new Aga.Controls.Tree.NodeControls.NodeTextBox();
|
moel@1
|
46 |
this.nodeTextBoxMin = new Aga.Controls.Tree.NodeControls.NodeTextBox();
|
moel@1
|
47 |
this.nodeTextBoxMax = new Aga.Controls.Tree.NodeControls.NodeTextBox();
|
moel@156
|
48 |
this.mainMenu = new System.Windows.Forms.MainMenu(this.components);
|
moel@156
|
49 |
this.fileMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
50 |
this.saveReportMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
51 |
this.sumbitReportMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
52 |
this.MenuItem2 = new System.Windows.Forms.MenuItem();
|
moel@287
|
53 |
this.resetMenuItem = new System.Windows.Forms.MenuItem();
|
moel@287
|
54 |
this.menuItem6 = new System.Windows.Forms.MenuItem();
|
moel@156
|
55 |
this.exitMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
56 |
this.viewMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
57 |
this.resetMinMaxMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
58 |
this.MenuItem3 = new System.Windows.Forms.MenuItem();
|
moel@156
|
59 |
this.hiddenMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
60 |
this.plotMenuItem = new System.Windows.Forms.MenuItem();
|
moel@190
|
61 |
this.gadgetMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
62 |
this.MenuItem1 = new System.Windows.Forms.MenuItem();
|
moel@156
|
63 |
this.columnsMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
64 |
this.valueMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
65 |
this.minMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
66 |
this.maxMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
67 |
this.optionsMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
68 |
this.startMinMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
69 |
this.minTrayMenuItem = new System.Windows.Forms.MenuItem();
|
paulwerelds@198
|
70 |
this.minCloseMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
71 |
this.startupMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
72 |
this.separatorMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
73 |
this.temperatureUnitsMenuItem = new System.Windows.Forms.MenuItem();
|
moel@299
|
74 |
this.celsiusMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
75 |
this.fahrenheitMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
76 |
this.MenuItem4 = new System.Windows.Forms.MenuItem();
|
moel@156
|
77 |
this.hddMenuItem = new System.Windows.Forms.MenuItem();
|
moel@348
|
78 |
this.webMenuItem = new System.Windows.Forms.MenuItem();
|
moel@348
|
79 |
this.runWebServerMenuItem = new System.Windows.Forms.MenuItem();
|
moel@348
|
80 |
this.serverPortMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
81 |
this.helpMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
82 |
this.aboutMenuItem = new System.Windows.Forms.MenuItem();
|
moel@275
|
83 |
this.treeContextMenu = new System.Windows.Forms.ContextMenu();
|
moel@83
|
84 |
this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
|
moel@86
|
85 |
this.timer = new System.Windows.Forms.Timer(this.components);
|
moel@158
|
86 |
this.splitContainer = new OpenHardwareMonitor.GUI.SplitContainerAdv();
|
moel@326
|
87 |
this.treeView = new Aga.Controls.Tree.TreeViewAdv();
|
moel@295
|
88 |
this.plotLocationMenuItem = new System.Windows.Forms.MenuItem();
|
moel@295
|
89 |
this.plotWindowMenuItem = new System.Windows.Forms.MenuItem();
|
moel@295
|
90 |
this.plotBottomMenuItem = new System.Windows.Forms.MenuItem();
|
moel@295
|
91 |
this.plotRightMenuItem = new System.Windows.Forms.MenuItem();
|
moel@1
|
92 |
this.splitContainer.Panel1.SuspendLayout();
|
moel@1
|
93 |
this.splitContainer.Panel2.SuspendLayout();
|
moel@1
|
94 |
this.splitContainer.SuspendLayout();
|
moel@1
|
95 |
this.SuspendLayout();
|
moel@1
|
96 |
//
|
moel@1
|
97 |
// sensor
|
moel@1
|
98 |
//
|
moel@1
|
99 |
this.sensor.Header = "Sensor";
|
moel@1
|
100 |
this.sensor.SortOrder = System.Windows.Forms.SortOrder.None;
|
moel@1
|
101 |
this.sensor.TooltipText = null;
|
moel@1
|
102 |
this.sensor.Width = 250;
|
moel@1
|
103 |
//
|
moel@1
|
104 |
// value
|
moel@1
|
105 |
//
|
moel@1
|
106 |
this.value.Header = "Value";
|
moel@1
|
107 |
this.value.SortOrder = System.Windows.Forms.SortOrder.None;
|
moel@1
|
108 |
this.value.TooltipText = null;
|
moel@1
|
109 |
this.value.Width = 100;
|
moel@1
|
110 |
//
|
moel@1
|
111 |
// min
|
moel@1
|
112 |
//
|
moel@1
|
113 |
this.min.Header = "Min";
|
moel@1
|
114 |
this.min.SortOrder = System.Windows.Forms.SortOrder.None;
|
moel@1
|
115 |
this.min.TooltipText = null;
|
moel@1
|
116 |
this.min.Width = 100;
|
moel@1
|
117 |
//
|
moel@1
|
118 |
// max
|
moel@1
|
119 |
//
|
moel@1
|
120 |
this.max.Header = "Max";
|
moel@1
|
121 |
this.max.SortOrder = System.Windows.Forms.SortOrder.None;
|
moel@1
|
122 |
this.max.TooltipText = null;
|
moel@1
|
123 |
this.max.Width = 100;
|
moel@1
|
124 |
//
|
moel@1
|
125 |
// nodeImage
|
moel@1
|
126 |
//
|
moel@1
|
127 |
this.nodeImage.DataPropertyName = "Image";
|
moel@1
|
128 |
this.nodeImage.LeftMargin = 1;
|
moel@1
|
129 |
this.nodeImage.ParentColumn = this.sensor;
|
moel@1
|
130 |
this.nodeImage.ScaleMode = Aga.Controls.Tree.ImageScaleMode.Fit;
|
moel@1
|
131 |
//
|
moel@1
|
132 |
// nodeCheckBox
|
moel@1
|
133 |
//
|
moel@1
|
134 |
this.nodeCheckBox.DataPropertyName = "Plot";
|
moel@1
|
135 |
this.nodeCheckBox.EditEnabled = true;
|
moel@1
|
136 |
this.nodeCheckBox.LeftMargin = 3;
|
moel@1
|
137 |
this.nodeCheckBox.ParentColumn = this.sensor;
|
moel@1
|
138 |
//
|
moel@1
|
139 |
// nodeTextBoxText
|
moel@1
|
140 |
//
|
moel@1
|
141 |
this.nodeTextBoxText.DataPropertyName = "Text";
|
moel@1
|
142 |
this.nodeTextBoxText.EditEnabled = true;
|
moel@1
|
143 |
this.nodeTextBoxText.IncrementalSearchEnabled = true;
|
moel@1
|
144 |
this.nodeTextBoxText.LeftMargin = 3;
|
moel@1
|
145 |
this.nodeTextBoxText.ParentColumn = this.sensor;
|
moel@190
|
146 |
this.nodeTextBoxText.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
|
moel@287
|
147 |
this.nodeTextBoxText.UseCompatibleTextRendering = true;
|
moel@1
|
148 |
//
|
moel@1
|
149 |
// nodeTextBoxValue
|
moel@1
|
150 |
//
|
moel@1
|
151 |
this.nodeTextBoxValue.DataPropertyName = "Value";
|
moel@1
|
152 |
this.nodeTextBoxValue.IncrementalSearchEnabled = true;
|
moel@1
|
153 |
this.nodeTextBoxValue.LeftMargin = 3;
|
moel@1
|
154 |
this.nodeTextBoxValue.ParentColumn = this.value;
|
moel@190
|
155 |
this.nodeTextBoxValue.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
|
moel@287
|
156 |
this.nodeTextBoxValue.UseCompatibleTextRendering = true;
|
moel@1
|
157 |
//
|
moel@1
|
158 |
// nodeTextBoxMin
|
moel@1
|
159 |
//
|
moel@1
|
160 |
this.nodeTextBoxMin.DataPropertyName = "Min";
|
moel@1
|
161 |
this.nodeTextBoxMin.IncrementalSearchEnabled = true;
|
moel@1
|
162 |
this.nodeTextBoxMin.LeftMargin = 3;
|
moel@1
|
163 |
this.nodeTextBoxMin.ParentColumn = this.min;
|
moel@190
|
164 |
this.nodeTextBoxMin.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
|
moel@287
|
165 |
this.nodeTextBoxMin.UseCompatibleTextRendering = true;
|
moel@1
|
166 |
//
|
moel@1
|
167 |
// nodeTextBoxMax
|
moel@1
|
168 |
//
|
moel@1
|
169 |
this.nodeTextBoxMax.DataPropertyName = "Max";
|
moel@1
|
170 |
this.nodeTextBoxMax.IncrementalSearchEnabled = true;
|
moel@1
|
171 |
this.nodeTextBoxMax.LeftMargin = 3;
|
moel@1
|
172 |
this.nodeTextBoxMax.ParentColumn = this.max;
|
moel@190
|
173 |
this.nodeTextBoxMax.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
|
moel@287
|
174 |
this.nodeTextBoxMax.UseCompatibleTextRendering = true;
|
moel@1
|
175 |
//
|
moel@156
|
176 |
// mainMenu
|
moel@1
|
177 |
//
|
moel@156
|
178 |
this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@156
|
179 |
this.fileMenuItem,
|
moel@156
|
180 |
this.viewMenuItem,
|
moel@156
|
181 |
this.optionsMenuItem,
|
moel@156
|
182 |
this.helpMenuItem});
|
moel@1
|
183 |
//
|
moel@156
|
184 |
// fileMenuItem
|
moel@1
|
185 |
//
|
moel@156
|
186 |
this.fileMenuItem.Index = 0;
|
moel@156
|
187 |
this.fileMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@156
|
188 |
this.saveReportMenuItem,
|
moel@156
|
189 |
this.sumbitReportMenuItem,
|
moel@156
|
190 |
this.MenuItem2,
|
moel@262
|
191 |
this.resetMenuItem,
|
moel@262
|
192 |
this.menuItem6,
|
moel@156
|
193 |
this.exitMenuItem});
|
moel@156
|
194 |
this.fileMenuItem.Text = "File";
|
moel@1
|
195 |
//
|
moel@156
|
196 |
// saveReportMenuItem
|
moel@1
|
197 |
//
|
moel@156
|
198 |
this.saveReportMenuItem.Index = 0;
|
moel@156
|
199 |
this.saveReportMenuItem.Text = "Save Report...";
|
moel@156
|
200 |
this.saveReportMenuItem.Click += new System.EventHandler(this.saveReportMenuItem_Click);
|
moel@1
|
201 |
//
|
moel@156
|
202 |
// sumbitReportMenuItem
|
moel@151
|
203 |
//
|
moel@156
|
204 |
this.sumbitReportMenuItem.Index = 1;
|
moel@156
|
205 |
this.sumbitReportMenuItem.Text = "Submit Report...";
|
moel@156
|
206 |
this.sumbitReportMenuItem.Click += new System.EventHandler(this.sumbitReportMenuItem_Click);
|
moel@151
|
207 |
//
|
moel@156
|
208 |
// MenuItem2
|
moel@151
|
209 |
//
|
moel@156
|
210 |
this.MenuItem2.Index = 2;
|
moel@156
|
211 |
this.MenuItem2.Text = "-";
|
moel@151
|
212 |
//
|
moel@287
|
213 |
// resetMenuItem
|
moel@287
|
214 |
//
|
moel@287
|
215 |
this.resetMenuItem.Index = 3;
|
moel@287
|
216 |
this.resetMenuItem.Text = "Reset";
|
moel@287
|
217 |
this.resetMenuItem.Click += new System.EventHandler(this.resetClick);
|
moel@287
|
218 |
//
|
moel@287
|
219 |
// menuItem6
|
moel@287
|
220 |
//
|
moel@287
|
221 |
this.menuItem6.Index = 4;
|
moel@287
|
222 |
this.menuItem6.Text = "-";
|
moel@287
|
223 |
//
|
moel@156
|
224 |
// exitMenuItem
|
moel@1
|
225 |
//
|
moel@262
|
226 |
this.exitMenuItem.Index = 5;
|
moel@156
|
227 |
this.exitMenuItem.Text = "Exit";
|
moel@156
|
228 |
this.exitMenuItem.Click += new System.EventHandler(this.exitClick);
|
moel@1
|
229 |
//
|
moel@156
|
230 |
// viewMenuItem
|
moel@1
|
231 |
//
|
moel@156
|
232 |
this.viewMenuItem.Index = 1;
|
moel@156
|
233 |
this.viewMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@151
|
234 |
this.resetMinMaxMenuItem,
|
moel@156
|
235 |
this.MenuItem3,
|
moel@111
|
236 |
this.hiddenMenuItem,
|
moel@111
|
237 |
this.plotMenuItem,
|
moel@176
|
238 |
this.gadgetMenuItem,
|
moel@156
|
239 |
this.MenuItem1,
|
moel@156
|
240 |
this.columnsMenuItem});
|
moel@156
|
241 |
this.viewMenuItem.Text = "View";
|
moel@156
|
242 |
//
|
moel@156
|
243 |
// resetMinMaxMenuItem
|
moel@156
|
244 |
//
|
moel@156
|
245 |
this.resetMinMaxMenuItem.Index = 0;
|
moel@156
|
246 |
this.resetMinMaxMenuItem.Text = "Reset Min/Max";
|
moel@156
|
247 |
this.resetMinMaxMenuItem.Click += new System.EventHandler(this.resetMinMaxMenuItem_Click);
|
moel@156
|
248 |
//
|
moel@156
|
249 |
// MenuItem3
|
moel@156
|
250 |
//
|
moel@156
|
251 |
this.MenuItem3.Index = 1;
|
moel@156
|
252 |
this.MenuItem3.Text = "-";
|
moel@1
|
253 |
//
|
moel@111
|
254 |
// hiddenMenuItem
|
moel@1
|
255 |
//
|
moel@156
|
256 |
this.hiddenMenuItem.Index = 2;
|
moel@111
|
257 |
this.hiddenMenuItem.Text = "Show Hidden Sensors";
|
moel@1
|
258 |
//
|
moel@1
|
259 |
// plotMenuItem
|
moel@1
|
260 |
//
|
moel@156
|
261 |
this.plotMenuItem.Index = 3;
|
moel@111
|
262 |
this.plotMenuItem.Text = "Show Plot";
|
moel@1
|
263 |
//
|
moel@190
|
264 |
// gadgetMenuItem
|
moel@190
|
265 |
//
|
moel@190
|
266 |
this.gadgetMenuItem.Index = 4;
|
moel@190
|
267 |
this.gadgetMenuItem.Text = "Show Gadget";
|
moel@190
|
268 |
//
|
moel@156
|
269 |
// MenuItem1
|
moel@111
|
270 |
//
|
moel@176
|
271 |
this.MenuItem1.Index = 5;
|
moel@156
|
272 |
this.MenuItem1.Text = "-";
|
moel@111
|
273 |
//
|
moel@156
|
274 |
// columnsMenuItem
|
moel@111
|
275 |
//
|
moel@176
|
276 |
this.columnsMenuItem.Index = 6;
|
moel@156
|
277 |
this.columnsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@111
|
278 |
this.valueMenuItem,
|
moel@111
|
279 |
this.minMenuItem,
|
moel@134
|
280 |
this.maxMenuItem});
|
moel@156
|
281 |
this.columnsMenuItem.Text = "Columns";
|
moel@111
|
282 |
//
|
moel@111
|
283 |
// valueMenuItem
|
moel@111
|
284 |
//
|
moel@156
|
285 |
this.valueMenuItem.Index = 0;
|
moel@111
|
286 |
this.valueMenuItem.Text = "Value";
|
moel@111
|
287 |
//
|
moel@111
|
288 |
// minMenuItem
|
moel@111
|
289 |
//
|
moel@156
|
290 |
this.minMenuItem.Index = 1;
|
moel@111
|
291 |
this.minMenuItem.Text = "Min";
|
moel@111
|
292 |
//
|
moel@111
|
293 |
// maxMenuItem
|
moel@111
|
294 |
//
|
moel@156
|
295 |
this.maxMenuItem.Index = 2;
|
moel@111
|
296 |
this.maxMenuItem.Text = "Max";
|
moel@111
|
297 |
//
|
moel@156
|
298 |
// optionsMenuItem
|
moel@1
|
299 |
//
|
moel@156
|
300 |
this.optionsMenuItem.Index = 2;
|
moel@156
|
301 |
this.optionsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@55
|
302 |
this.startMinMenuItem,
|
moel@28
|
303 |
this.minTrayMenuItem,
|
paulwerelds@198
|
304 |
this.minCloseMenuItem,
|
moel@82
|
305 |
this.startupMenuItem,
|
moel@125
|
306 |
this.separatorMenuItem,
|
moel@156
|
307 |
this.temperatureUnitsMenuItem,
|
moel@295
|
308 |
this.plotLocationMenuItem,
|
moel@156
|
309 |
this.MenuItem4,
|
moel@348
|
310 |
this.hddMenuItem,
|
moel@348
|
311 |
this.webMenuItem});
|
moel@156
|
312 |
this.optionsMenuItem.Text = "Options";
|
moel@1
|
313 |
//
|
moel@57
|
314 |
// startMinMenuItem
|
moel@55
|
315 |
//
|
moel@156
|
316 |
this.startMinMenuItem.Index = 0;
|
moel@55
|
317 |
this.startMinMenuItem.Text = "Start Minimized";
|
moel@55
|
318 |
//
|
moel@28
|
319 |
// minTrayMenuItem
|
moel@28
|
320 |
//
|
moel@156
|
321 |
this.minTrayMenuItem.Index = 1;
|
moel@28
|
322 |
this.minTrayMenuItem.Text = "Minimize To Tray";
|
moel@82
|
323 |
//
|
paulwerelds@198
|
324 |
// minCloseMenuItem
|
paulwerelds@198
|
325 |
//
|
paulwerelds@198
|
326 |
this.minCloseMenuItem.Index = 2;
|
paulwerelds@198
|
327 |
this.minCloseMenuItem.Text = "Minimize On Close";
|
paulwerelds@198
|
328 |
//
|
moel@82
|
329 |
// startupMenuItem
|
moel@82
|
330 |
//
|
paulwerelds@198
|
331 |
this.startupMenuItem.Index = 3;
|
moel@82
|
332 |
this.startupMenuItem.Text = "Run On Windows Startup";
|
moel@28
|
333 |
//
|
moel@133
|
334 |
// separatorMenuItem
|
moel@28
|
335 |
//
|
paulwerelds@198
|
336 |
this.separatorMenuItem.Index = 4;
|
moel@156
|
337 |
this.separatorMenuItem.Text = "-";
|
moel@28
|
338 |
//
|
moel@156
|
339 |
// temperatureUnitsMenuItem
|
moel@122
|
340 |
//
|
paulwerelds@198
|
341 |
this.temperatureUnitsMenuItem.Index = 5;
|
moel@156
|
342 |
this.temperatureUnitsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@299
|
343 |
this.celsiusMenuItem,
|
moel@156
|
344 |
this.fahrenheitMenuItem});
|
moel@156
|
345 |
this.temperatureUnitsMenuItem.Text = "Temperature Unit";
|
moel@122
|
346 |
//
|
moel@299
|
347 |
// celsiusMenuItem
|
moel@122
|
348 |
//
|
moel@299
|
349 |
this.celsiusMenuItem.Index = 0;
|
moel@299
|
350 |
this.celsiusMenuItem.Text = "Celsius";
|
moel@299
|
351 |
this.celsiusMenuItem.Click += new System.EventHandler(this.celsiusMenuItem_Click);
|
moel@122
|
352 |
//
|
moel@156
|
353 |
// fahrenheitMenuItem
|
moel@122
|
354 |
//
|
moel@156
|
355 |
this.fahrenheitMenuItem.Index = 1;
|
moel@156
|
356 |
this.fahrenheitMenuItem.Text = "Fahrenheit";
|
moel@156
|
357 |
this.fahrenheitMenuItem.Click += new System.EventHandler(this.fahrenheitMenuItem_Click);
|
moel@122
|
358 |
//
|
moel@156
|
359 |
// MenuItem4
|
moel@122
|
360 |
//
|
moel@295
|
361 |
this.MenuItem4.Index = 7;
|
moel@156
|
362 |
this.MenuItem4.Text = "-";
|
moel@122
|
363 |
//
|
moel@1
|
364 |
// hddMenuItem
|
moel@1
|
365 |
//
|
moel@295
|
366 |
this.hddMenuItem.Index = 8;
|
moel@122
|
367 |
this.hddMenuItem.Text = "Read HDD sensors";
|
moel@348
|
368 |
//
|
moel@348
|
369 |
// webMenuItem
|
moel@348
|
370 |
//
|
moel@348
|
371 |
this.webMenuItem.Index = 9;
|
moel@348
|
372 |
this.webMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@348
|
373 |
this.runWebServerMenuItem,
|
moel@348
|
374 |
this.serverPortMenuItem});
|
moel@348
|
375 |
this.webMenuItem.Text = "Remote Web Server";
|
moel@349
|
376 |
//
|
moel@349
|
377 |
// runWebServerMenuItem
|
moel@349
|
378 |
//
|
moel@349
|
379 |
this.runWebServerMenuItem.Index = 0;
|
moel@349
|
380 |
this.runWebServerMenuItem.Text = "Run";
|
moel@348
|
381 |
//
|
moel@348
|
382 |
// serverPortMenuItem
|
moel@348
|
383 |
//
|
moel@348
|
384 |
this.serverPortMenuItem.Index = 1;
|
moel@348
|
385 |
this.serverPortMenuItem.Text = "Port";
|
moel@348
|
386 |
this.serverPortMenuItem.Click += new System.EventHandler(this.serverPortMenuItem_Click);
|
moel@1
|
387 |
//
|
moel@156
|
388 |
// helpMenuItem
|
moel@1
|
389 |
//
|
moel@156
|
390 |
this.helpMenuItem.Index = 3;
|
moel@156
|
391 |
this.helpMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@156
|
392 |
this.aboutMenuItem});
|
moel@156
|
393 |
this.helpMenuItem.Text = "Help";
|
moel@1
|
394 |
//
|
moel@156
|
395 |
// aboutMenuItem
|
moel@1
|
396 |
//
|
moel@156
|
397 |
this.aboutMenuItem.Index = 0;
|
moel@156
|
398 |
this.aboutMenuItem.Text = "About";
|
moel@156
|
399 |
this.aboutMenuItem.Click += new System.EventHandler(this.aboutMenuItem_Click);
|
moel@1
|
400 |
//
|
moel@83
|
401 |
// saveFileDialog
|
moel@83
|
402 |
//
|
moel@83
|
403 |
this.saveFileDialog.DefaultExt = "txt";
|
moel@83
|
404 |
this.saveFileDialog.FileName = "OpenHardwareMonitor.Report.txt";
|
moel@83
|
405 |
this.saveFileDialog.Filter = "Text Documents|*.txt|All Files|*.*";
|
moel@83
|
406 |
this.saveFileDialog.RestoreDirectory = true;
|
moel@83
|
407 |
this.saveFileDialog.Title = "Save Report As";
|
moel@83
|
408 |
//
|
moel@86
|
409 |
// timer
|
moel@86
|
410 |
//
|
moel@86
|
411 |
this.timer.Interval = 1000;
|
moel@86
|
412 |
this.timer.Tick += new System.EventHandler(this.timer_Tick);
|
moel@86
|
413 |
//
|
moel@158
|
414 |
// splitContainer
|
moel@158
|
415 |
//
|
moel@158
|
416 |
this.splitContainer.Border3DStyle = System.Windows.Forms.Border3DStyle.Raised;
|
moel@158
|
417 |
this.splitContainer.Color = System.Drawing.SystemColors.Control;
|
moel@158
|
418 |
this.splitContainer.Cursor = System.Windows.Forms.Cursors.Default;
|
moel@158
|
419 |
this.splitContainer.Location = new System.Drawing.Point(12, 12);
|
moel@158
|
420 |
this.splitContainer.Name = "splitContainer";
|
moel@158
|
421 |
this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
moel@158
|
422 |
//
|
moel@158
|
423 |
// splitContainer.Panel1
|
moel@158
|
424 |
//
|
moel@158
|
425 |
this.splitContainer.Panel1.Controls.Add(this.treeView);
|
moel@158
|
426 |
//
|
moel@158
|
427 |
// splitContainer.Panel2
|
moel@158
|
428 |
//
|
moel@158
|
429 |
this.splitContainer.Panel2.Cursor = System.Windows.Forms.Cursors.Default;
|
moel@158
|
430 |
this.splitContainer.Size = new System.Drawing.Size(386, 483);
|
moel@158
|
431 |
this.splitContainer.SplitterDistance = 354;
|
moel@158
|
432 |
this.splitContainer.SplitterWidth = 5;
|
moel@158
|
433 |
this.splitContainer.TabIndex = 3;
|
moel@158
|
434 |
//
|
moel@158
|
435 |
// treeView
|
moel@158
|
436 |
//
|
moel@158
|
437 |
this.treeView.BackColor = System.Drawing.SystemColors.Window;
|
moel@158
|
438 |
this.treeView.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
moel@158
|
439 |
this.treeView.Columns.Add(this.sensor);
|
moel@158
|
440 |
this.treeView.Columns.Add(this.value);
|
moel@158
|
441 |
this.treeView.Columns.Add(this.min);
|
moel@158
|
442 |
this.treeView.Columns.Add(this.max);
|
moel@158
|
443 |
this.treeView.DefaultToolTipProvider = null;
|
moel@158
|
444 |
this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
|
moel@158
|
445 |
this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
|
moel@158
|
446 |
this.treeView.FullRowSelect = true;
|
moel@158
|
447 |
this.treeView.GridLineStyle = Aga.Controls.Tree.GridLineStyle.Horizontal;
|
moel@158
|
448 |
this.treeView.LineColor = System.Drawing.SystemColors.ControlDark;
|
moel@158
|
449 |
this.treeView.Location = new System.Drawing.Point(0, 0);
|
moel@158
|
450 |
this.treeView.Model = null;
|
moel@158
|
451 |
this.treeView.Name = "treeView";
|
moel@158
|
452 |
this.treeView.NodeControls.Add(this.nodeImage);
|
moel@158
|
453 |
this.treeView.NodeControls.Add(this.nodeCheckBox);
|
moel@158
|
454 |
this.treeView.NodeControls.Add(this.nodeTextBoxText);
|
moel@158
|
455 |
this.treeView.NodeControls.Add(this.nodeTextBoxValue);
|
moel@158
|
456 |
this.treeView.NodeControls.Add(this.nodeTextBoxMin);
|
moel@262
|
457 |
this.treeView.NodeControls.Add(this.nodeTextBoxMax);
|
moel@158
|
458 |
this.treeView.SelectedNode = null;
|
moel@158
|
459 |
this.treeView.Size = new System.Drawing.Size(386, 354);
|
moel@158
|
460 |
this.treeView.TabIndex = 0;
|
moel@158
|
461 |
this.treeView.Text = "treeView";
|
moel@158
|
462 |
this.treeView.UseColumns = true;
|
moel@158
|
463 |
this.treeView.NodeMouseDoubleClick += new System.EventHandler<Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this.treeView_NodeMouseDoubleClick);
|
moel@158
|
464 |
this.treeView.Click += new System.EventHandler(this.treeView_Click);
|
moel@288
|
465 |
this.treeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseDown);
|
moel@287
|
466 |
this.treeView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseMove);
|
moel@288
|
467 |
this.treeView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseUp);
|
moel@158
|
468 |
//
|
moel@295
|
469 |
// plotLocationMenuItem
|
moel@295
|
470 |
//
|
moel@295
|
471 |
this.plotLocationMenuItem.Index = 6;
|
moel@295
|
472 |
this.plotLocationMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@295
|
473 |
this.plotWindowMenuItem,
|
moel@295
|
474 |
this.plotBottomMenuItem,
|
moel@295
|
475 |
this.plotRightMenuItem});
|
moel@295
|
476 |
this.plotLocationMenuItem.Text = "Plot Location";
|
moel@295
|
477 |
//
|
moel@295
|
478 |
// plotWindowMenuItem
|
moel@295
|
479 |
//
|
moel@295
|
480 |
this.plotWindowMenuItem.Index = 0;
|
moel@295
|
481 |
this.plotWindowMenuItem.Text = "Window";
|
moel@295
|
482 |
//
|
moel@295
|
483 |
// plotBottomMenuItem
|
moel@295
|
484 |
//
|
moel@295
|
485 |
this.plotBottomMenuItem.Index = 1;
|
moel@295
|
486 |
this.plotBottomMenuItem.Text = "Bottom";
|
moel@295
|
487 |
//
|
moel@295
|
488 |
// plotRightMenuItem
|
moel@295
|
489 |
//
|
moel@295
|
490 |
this.plotRightMenuItem.Index = 2;
|
moel@295
|
491 |
this.plotRightMenuItem.Text = "Right";
|
moel@295
|
492 |
//
|
moel@1
|
493 |
// MainForm
|
moel@1
|
494 |
//
|
moel@122
|
495 |
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
moel@1
|
496 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
moel@159
|
497 |
this.ClientSize = new System.Drawing.Size(418, 554);
|
moel@1
|
498 |
this.Controls.Add(this.splitContainer);
|
moel@158
|
499 |
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
moel@158
|
500 |
this.Menu = this.mainMenu;
|
moel@1
|
501 |
this.Name = "MainForm";
|
moel@1
|
502 |
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
moel@1
|
503 |
this.Text = "Open Hardware Monitor";
|
moel@1
|
504 |
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
|
paulwerelds@214
|
505 |
this.Load += new System.EventHandler(this.MainForm_Load);
|
moel@241
|
506 |
this.ResizeEnd += new System.EventHandler(this.MainForm_MoveOrResize);
|
moel@241
|
507 |
this.Move += new System.EventHandler(this.MainForm_MoveOrResize);
|
moel@1
|
508 |
this.splitContainer.Panel1.ResumeLayout(false);
|
moel@1
|
509 |
this.splitContainer.Panel2.ResumeLayout(false);
|
moel@1
|
510 |
this.splitContainer.ResumeLayout(false);
|
moel@1
|
511 |
this.ResumeLayout(false);
|
moel@1
|
512 |
|
moel@1
|
513 |
}
|
moel@1
|
514 |
|
moel@1
|
515 |
#endregion
|
moel@1
|
516 |
|
moel@1
|
517 |
private Aga.Controls.Tree.TreeViewAdv treeView;
|
moel@156
|
518 |
private System.Windows.Forms.MainMenu mainMenu;
|
moel@156
|
519 |
private System.Windows.Forms.MenuItem fileMenuItem;
|
moel@156
|
520 |
private System.Windows.Forms.MenuItem exitMenuItem;
|
moel@1
|
521 |
private Aga.Controls.Tree.TreeColumn sensor;
|
moel@1
|
522 |
private Aga.Controls.Tree.TreeColumn value;
|
moel@1
|
523 |
private Aga.Controls.Tree.TreeColumn min;
|
moel@1
|
524 |
private Aga.Controls.Tree.TreeColumn max;
|
moel@1
|
525 |
private Aga.Controls.Tree.NodeControls.NodeIcon nodeImage;
|
moel@1
|
526 |
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxText;
|
moel@1
|
527 |
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxValue;
|
moel@1
|
528 |
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMin;
|
moel@1
|
529 |
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMax;
|
moel@158
|
530 |
private SplitContainerAdv splitContainer;
|
moel@156
|
531 |
private System.Windows.Forms.MenuItem viewMenuItem;
|
moel@156
|
532 |
private System.Windows.Forms.MenuItem plotMenuItem;
|
moel@1
|
533 |
private Aga.Controls.Tree.NodeControls.NodeCheckBox nodeCheckBox;
|
moel@156
|
534 |
private System.Windows.Forms.MenuItem helpMenuItem;
|
moel@156
|
535 |
private System.Windows.Forms.MenuItem aboutMenuItem;
|
moel@156
|
536 |
private System.Windows.Forms.MenuItem saveReportMenuItem;
|
moel@156
|
537 |
private System.Windows.Forms.MenuItem optionsMenuItem;
|
moel@156
|
538 |
private System.Windows.Forms.MenuItem hddMenuItem;
|
moel@156
|
539 |
private System.Windows.Forms.MenuItem minTrayMenuItem;
|
moel@156
|
540 |
private System.Windows.Forms.MenuItem separatorMenuItem;
|
moel@275
|
541 |
private System.Windows.Forms.ContextMenu treeContextMenu;
|
moel@156
|
542 |
private System.Windows.Forms.MenuItem startMinMenuItem;
|
moel@156
|
543 |
private System.Windows.Forms.MenuItem startupMenuItem;
|
moel@83
|
544 |
private System.Windows.Forms.SaveFileDialog saveFileDialog;
|
moel@86
|
545 |
private System.Windows.Forms.Timer timer;
|
moel@156
|
546 |
private System.Windows.Forms.MenuItem hiddenMenuItem;
|
moel@156
|
547 |
private System.Windows.Forms.MenuItem MenuItem1;
|
moel@156
|
548 |
private System.Windows.Forms.MenuItem columnsMenuItem;
|
moel@156
|
549 |
private System.Windows.Forms.MenuItem valueMenuItem;
|
moel@156
|
550 |
private System.Windows.Forms.MenuItem minMenuItem;
|
moel@156
|
551 |
private System.Windows.Forms.MenuItem maxMenuItem;
|
moel@156
|
552 |
private System.Windows.Forms.MenuItem temperatureUnitsMenuItem;
|
moel@156
|
553 |
private System.Windows.Forms.MenuItem MenuItem4;
|
moel@299
|
554 |
private System.Windows.Forms.MenuItem celsiusMenuItem;
|
moel@156
|
555 |
private System.Windows.Forms.MenuItem fahrenheitMenuItem;
|
moel@156
|
556 |
private System.Windows.Forms.MenuItem sumbitReportMenuItem;
|
moel@156
|
557 |
private System.Windows.Forms.MenuItem MenuItem2;
|
moel@156
|
558 |
private System.Windows.Forms.MenuItem resetMinMaxMenuItem;
|
moel@156
|
559 |
private System.Windows.Forms.MenuItem MenuItem3;
|
moel@176
|
560 |
private System.Windows.Forms.MenuItem gadgetMenuItem;
|
paulwerelds@198
|
561 |
private System.Windows.Forms.MenuItem minCloseMenuItem;
|
moel@262
|
562 |
private System.Windows.Forms.MenuItem resetMenuItem;
|
moel@262
|
563 |
private System.Windows.Forms.MenuItem menuItem6;
|
moel@295
|
564 |
private System.Windows.Forms.MenuItem plotLocationMenuItem;
|
moel@295
|
565 |
private System.Windows.Forms.MenuItem plotWindowMenuItem;
|
moel@295
|
566 |
private System.Windows.Forms.MenuItem plotBottomMenuItem;
|
moel@295
|
567 |
private System.Windows.Forms.MenuItem plotRightMenuItem;
|
moel@348
|
568 |
private System.Windows.Forms.MenuItem webMenuItem;
|
moel@348
|
569 |
private System.Windows.Forms.MenuItem runWebServerMenuItem;
|
moel@348
|
570 |
private System.Windows.Forms.MenuItem serverPortMenuItem;
|
moel@1
|
571 |
}
|
moel@1
|
572 |
}
|
moel@1
|
573 |
|