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