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@287
|
80 |
this.resetMenuItem = new System.Windows.Forms.MenuItem();
|
moel@287
|
81 |
this.menuItem6 = new System.Windows.Forms.MenuItem();
|
moel@156
|
82 |
this.exitMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
83 |
this.viewMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
84 |
this.resetMinMaxMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
85 |
this.MenuItem3 = new System.Windows.Forms.MenuItem();
|
moel@156
|
86 |
this.hiddenMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
87 |
this.plotMenuItem = new System.Windows.Forms.MenuItem();
|
moel@190
|
88 |
this.gadgetMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
89 |
this.MenuItem1 = new System.Windows.Forms.MenuItem();
|
moel@156
|
90 |
this.columnsMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
91 |
this.valueMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
92 |
this.minMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
93 |
this.maxMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
94 |
this.optionsMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
95 |
this.startMinMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
96 |
this.minTrayMenuItem = new System.Windows.Forms.MenuItem();
|
paulwerelds@198
|
97 |
this.minCloseMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
98 |
this.startupMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
99 |
this.separatorMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
100 |
this.temperatureUnitsMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
101 |
this.celciusMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
102 |
this.fahrenheitMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
103 |
this.MenuItem4 = new System.Windows.Forms.MenuItem();
|
moel@156
|
104 |
this.hddMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
105 |
this.helpMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
106 |
this.aboutMenuItem = new System.Windows.Forms.MenuItem();
|
moel@275
|
107 |
this.treeContextMenu = new System.Windows.Forms.ContextMenu();
|
moel@83
|
108 |
this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
|
moel@86
|
109 |
this.timer = new System.Windows.Forms.Timer(this.components);
|
moel@158
|
110 |
this.splitContainer = new OpenHardwareMonitor.GUI.SplitContainerAdv();
|
moel@158
|
111 |
this.treeView = new Aga.Controls.Tree.TreeViewAdv();
|
moel@158
|
112 |
this.plotPanel = new OpenHardwareMonitor.GUI.PlotPanel();
|
moel@1
|
113 |
this.splitContainer.Panel1.SuspendLayout();
|
moel@1
|
114 |
this.splitContainer.Panel2.SuspendLayout();
|
moel@1
|
115 |
this.splitContainer.SuspendLayout();
|
moel@1
|
116 |
this.SuspendLayout();
|
moel@1
|
117 |
//
|
moel@1
|
118 |
// sensor
|
moel@1
|
119 |
//
|
moel@1
|
120 |
this.sensor.Header = "Sensor";
|
moel@1
|
121 |
this.sensor.SortOrder = System.Windows.Forms.SortOrder.None;
|
moel@1
|
122 |
this.sensor.TooltipText = null;
|
moel@1
|
123 |
this.sensor.Width = 250;
|
moel@1
|
124 |
//
|
moel@1
|
125 |
// value
|
moel@1
|
126 |
//
|
moel@1
|
127 |
this.value.Header = "Value";
|
moel@1
|
128 |
this.value.SortOrder = System.Windows.Forms.SortOrder.None;
|
moel@1
|
129 |
this.value.TooltipText = null;
|
moel@1
|
130 |
this.value.Width = 100;
|
moel@1
|
131 |
//
|
moel@1
|
132 |
// min
|
moel@1
|
133 |
//
|
moel@1
|
134 |
this.min.Header = "Min";
|
moel@1
|
135 |
this.min.SortOrder = System.Windows.Forms.SortOrder.None;
|
moel@1
|
136 |
this.min.TooltipText = null;
|
moel@1
|
137 |
this.min.Width = 100;
|
moel@1
|
138 |
//
|
moel@1
|
139 |
// max
|
moel@1
|
140 |
//
|
moel@1
|
141 |
this.max.Header = "Max";
|
moel@1
|
142 |
this.max.SortOrder = System.Windows.Forms.SortOrder.None;
|
moel@1
|
143 |
this.max.TooltipText = null;
|
moel@1
|
144 |
this.max.Width = 100;
|
moel@1
|
145 |
//
|
moel@1
|
146 |
// nodeImage
|
moel@1
|
147 |
//
|
moel@1
|
148 |
this.nodeImage.DataPropertyName = "Image";
|
moel@1
|
149 |
this.nodeImage.LeftMargin = 1;
|
moel@1
|
150 |
this.nodeImage.ParentColumn = this.sensor;
|
moel@1
|
151 |
this.nodeImage.ScaleMode = Aga.Controls.Tree.ImageScaleMode.Fit;
|
moel@1
|
152 |
//
|
moel@1
|
153 |
// nodeCheckBox
|
moel@1
|
154 |
//
|
moel@1
|
155 |
this.nodeCheckBox.DataPropertyName = "Plot";
|
moel@1
|
156 |
this.nodeCheckBox.EditEnabled = true;
|
moel@1
|
157 |
this.nodeCheckBox.LeftMargin = 3;
|
moel@1
|
158 |
this.nodeCheckBox.ParentColumn = this.sensor;
|
moel@1
|
159 |
//
|
moel@1
|
160 |
// nodeTextBoxText
|
moel@1
|
161 |
//
|
moel@1
|
162 |
this.nodeTextBoxText.DataPropertyName = "Text";
|
moel@1
|
163 |
this.nodeTextBoxText.EditEnabled = true;
|
moel@1
|
164 |
this.nodeTextBoxText.IncrementalSearchEnabled = true;
|
moel@1
|
165 |
this.nodeTextBoxText.LeftMargin = 3;
|
moel@1
|
166 |
this.nodeTextBoxText.ParentColumn = this.sensor;
|
moel@190
|
167 |
this.nodeTextBoxText.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
|
moel@287
|
168 |
this.nodeTextBoxText.UseCompatibleTextRendering = true;
|
moel@1
|
169 |
//
|
moel@1
|
170 |
// nodeTextBoxValue
|
moel@1
|
171 |
//
|
moel@1
|
172 |
this.nodeTextBoxValue.DataPropertyName = "Value";
|
moel@1
|
173 |
this.nodeTextBoxValue.IncrementalSearchEnabled = true;
|
moel@1
|
174 |
this.nodeTextBoxValue.LeftMargin = 3;
|
moel@1
|
175 |
this.nodeTextBoxValue.ParentColumn = this.value;
|
moel@190
|
176 |
this.nodeTextBoxValue.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
|
moel@287
|
177 |
this.nodeTextBoxValue.UseCompatibleTextRendering = true;
|
moel@1
|
178 |
//
|
moel@1
|
179 |
// nodeTextBoxMin
|
moel@1
|
180 |
//
|
moel@1
|
181 |
this.nodeTextBoxMin.DataPropertyName = "Min";
|
moel@1
|
182 |
this.nodeTextBoxMin.IncrementalSearchEnabled = true;
|
moel@1
|
183 |
this.nodeTextBoxMin.LeftMargin = 3;
|
moel@1
|
184 |
this.nodeTextBoxMin.ParentColumn = this.min;
|
moel@190
|
185 |
this.nodeTextBoxMin.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
|
moel@287
|
186 |
this.nodeTextBoxMin.UseCompatibleTextRendering = true;
|
moel@1
|
187 |
//
|
moel@1
|
188 |
// nodeTextBoxMax
|
moel@1
|
189 |
//
|
moel@1
|
190 |
this.nodeTextBoxMax.DataPropertyName = "Max";
|
moel@1
|
191 |
this.nodeTextBoxMax.IncrementalSearchEnabled = true;
|
moel@1
|
192 |
this.nodeTextBoxMax.LeftMargin = 3;
|
moel@1
|
193 |
this.nodeTextBoxMax.ParentColumn = this.max;
|
moel@190
|
194 |
this.nodeTextBoxMax.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
|
moel@287
|
195 |
this.nodeTextBoxMax.UseCompatibleTextRendering = true;
|
moel@1
|
196 |
//
|
moel@156
|
197 |
// mainMenu
|
moel@1
|
198 |
//
|
moel@156
|
199 |
this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@156
|
200 |
this.fileMenuItem,
|
moel@156
|
201 |
this.viewMenuItem,
|
moel@156
|
202 |
this.optionsMenuItem,
|
moel@156
|
203 |
this.helpMenuItem});
|
moel@1
|
204 |
//
|
moel@156
|
205 |
// fileMenuItem
|
moel@1
|
206 |
//
|
moel@156
|
207 |
this.fileMenuItem.Index = 0;
|
moel@156
|
208 |
this.fileMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@156
|
209 |
this.saveReportMenuItem,
|
moel@156
|
210 |
this.sumbitReportMenuItem,
|
moel@156
|
211 |
this.MenuItem2,
|
moel@262
|
212 |
this.resetMenuItem,
|
moel@262
|
213 |
this.menuItem6,
|
moel@156
|
214 |
this.exitMenuItem});
|
moel@156
|
215 |
this.fileMenuItem.Text = "File";
|
moel@1
|
216 |
//
|
moel@156
|
217 |
// saveReportMenuItem
|
moel@1
|
218 |
//
|
moel@156
|
219 |
this.saveReportMenuItem.Index = 0;
|
moel@156
|
220 |
this.saveReportMenuItem.Text = "Save Report...";
|
moel@156
|
221 |
this.saveReportMenuItem.Click += new System.EventHandler(this.saveReportMenuItem_Click);
|
moel@1
|
222 |
//
|
moel@156
|
223 |
// sumbitReportMenuItem
|
moel@151
|
224 |
//
|
moel@156
|
225 |
this.sumbitReportMenuItem.Index = 1;
|
moel@156
|
226 |
this.sumbitReportMenuItem.Text = "Submit Report...";
|
moel@156
|
227 |
this.sumbitReportMenuItem.Click += new System.EventHandler(this.sumbitReportMenuItem_Click);
|
moel@151
|
228 |
//
|
moel@156
|
229 |
// MenuItem2
|
moel@151
|
230 |
//
|
moel@156
|
231 |
this.MenuItem2.Index = 2;
|
moel@156
|
232 |
this.MenuItem2.Text = "-";
|
moel@151
|
233 |
//
|
moel@287
|
234 |
// resetMenuItem
|
moel@287
|
235 |
//
|
moel@287
|
236 |
this.resetMenuItem.Index = 3;
|
moel@287
|
237 |
this.resetMenuItem.Text = "Reset";
|
moel@287
|
238 |
this.resetMenuItem.Click += new System.EventHandler(this.resetClick);
|
moel@287
|
239 |
//
|
moel@287
|
240 |
// menuItem6
|
moel@287
|
241 |
//
|
moel@287
|
242 |
this.menuItem6.Index = 4;
|
moel@287
|
243 |
this.menuItem6.Text = "-";
|
moel@287
|
244 |
//
|
moel@156
|
245 |
// exitMenuItem
|
moel@1
|
246 |
//
|
moel@262
|
247 |
this.exitMenuItem.Index = 5;
|
moel@156
|
248 |
this.exitMenuItem.Text = "Exit";
|
moel@156
|
249 |
this.exitMenuItem.Click += new System.EventHandler(this.exitClick);
|
moel@1
|
250 |
//
|
moel@156
|
251 |
// viewMenuItem
|
moel@1
|
252 |
//
|
moel@156
|
253 |
this.viewMenuItem.Index = 1;
|
moel@156
|
254 |
this.viewMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@151
|
255 |
this.resetMinMaxMenuItem,
|
moel@156
|
256 |
this.MenuItem3,
|
moel@111
|
257 |
this.hiddenMenuItem,
|
moel@111
|
258 |
this.plotMenuItem,
|
moel@176
|
259 |
this.gadgetMenuItem,
|
moel@156
|
260 |
this.MenuItem1,
|
moel@156
|
261 |
this.columnsMenuItem});
|
moel@156
|
262 |
this.viewMenuItem.Text = "View";
|
moel@156
|
263 |
//
|
moel@156
|
264 |
// resetMinMaxMenuItem
|
moel@156
|
265 |
//
|
moel@156
|
266 |
this.resetMinMaxMenuItem.Index = 0;
|
moel@156
|
267 |
this.resetMinMaxMenuItem.Text = "Reset Min/Max";
|
moel@156
|
268 |
this.resetMinMaxMenuItem.Click += new System.EventHandler(this.resetMinMaxMenuItem_Click);
|
moel@156
|
269 |
//
|
moel@156
|
270 |
// MenuItem3
|
moel@156
|
271 |
//
|
moel@156
|
272 |
this.MenuItem3.Index = 1;
|
moel@156
|
273 |
this.MenuItem3.Text = "-";
|
moel@1
|
274 |
//
|
moel@111
|
275 |
// hiddenMenuItem
|
moel@1
|
276 |
//
|
moel@156
|
277 |
this.hiddenMenuItem.Index = 2;
|
moel@111
|
278 |
this.hiddenMenuItem.Text = "Show Hidden Sensors";
|
moel@1
|
279 |
//
|
moel@1
|
280 |
// plotMenuItem
|
moel@1
|
281 |
//
|
moel@156
|
282 |
this.plotMenuItem.Index = 3;
|
moel@111
|
283 |
this.plotMenuItem.Text = "Show Plot";
|
moel@1
|
284 |
//
|
moel@190
|
285 |
// gadgetMenuItem
|
moel@190
|
286 |
//
|
moel@190
|
287 |
this.gadgetMenuItem.Index = 4;
|
moel@190
|
288 |
this.gadgetMenuItem.Text = "Show Gadget";
|
moel@190
|
289 |
//
|
moel@156
|
290 |
// MenuItem1
|
moel@111
|
291 |
//
|
moel@176
|
292 |
this.MenuItem1.Index = 5;
|
moel@156
|
293 |
this.MenuItem1.Text = "-";
|
moel@111
|
294 |
//
|
moel@156
|
295 |
// columnsMenuItem
|
moel@111
|
296 |
//
|
moel@176
|
297 |
this.columnsMenuItem.Index = 6;
|
moel@156
|
298 |
this.columnsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@111
|
299 |
this.valueMenuItem,
|
moel@111
|
300 |
this.minMenuItem,
|
moel@134
|
301 |
this.maxMenuItem});
|
moel@156
|
302 |
this.columnsMenuItem.Text = "Columns";
|
moel@111
|
303 |
//
|
moel@111
|
304 |
// valueMenuItem
|
moel@111
|
305 |
//
|
moel@156
|
306 |
this.valueMenuItem.Index = 0;
|
moel@111
|
307 |
this.valueMenuItem.Text = "Value";
|
moel@111
|
308 |
//
|
moel@111
|
309 |
// minMenuItem
|
moel@111
|
310 |
//
|
moel@156
|
311 |
this.minMenuItem.Index = 1;
|
moel@111
|
312 |
this.minMenuItem.Text = "Min";
|
moel@111
|
313 |
//
|
moel@111
|
314 |
// maxMenuItem
|
moel@111
|
315 |
//
|
moel@156
|
316 |
this.maxMenuItem.Index = 2;
|
moel@111
|
317 |
this.maxMenuItem.Text = "Max";
|
moel@111
|
318 |
//
|
moel@156
|
319 |
// optionsMenuItem
|
moel@1
|
320 |
//
|
moel@156
|
321 |
this.optionsMenuItem.Index = 2;
|
moel@156
|
322 |
this.optionsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@55
|
323 |
this.startMinMenuItem,
|
moel@28
|
324 |
this.minTrayMenuItem,
|
paulwerelds@198
|
325 |
this.minCloseMenuItem,
|
moel@82
|
326 |
this.startupMenuItem,
|
moel@125
|
327 |
this.separatorMenuItem,
|
moel@156
|
328 |
this.temperatureUnitsMenuItem,
|
moel@156
|
329 |
this.MenuItem4,
|
moel@232
|
330 |
this.hddMenuItem});
|
moel@156
|
331 |
this.optionsMenuItem.Text = "Options";
|
moel@1
|
332 |
//
|
moel@57
|
333 |
// startMinMenuItem
|
moel@55
|
334 |
//
|
moel@156
|
335 |
this.startMinMenuItem.Index = 0;
|
moel@55
|
336 |
this.startMinMenuItem.Text = "Start Minimized";
|
moel@55
|
337 |
//
|
moel@28
|
338 |
// minTrayMenuItem
|
moel@28
|
339 |
//
|
moel@156
|
340 |
this.minTrayMenuItem.Index = 1;
|
moel@28
|
341 |
this.minTrayMenuItem.Text = "Minimize To Tray";
|
moel@82
|
342 |
//
|
paulwerelds@198
|
343 |
// minCloseMenuItem
|
paulwerelds@198
|
344 |
//
|
paulwerelds@198
|
345 |
this.minCloseMenuItem.Index = 2;
|
paulwerelds@198
|
346 |
this.minCloseMenuItem.Text = "Minimize On Close";
|
paulwerelds@198
|
347 |
//
|
moel@82
|
348 |
// startupMenuItem
|
moel@82
|
349 |
//
|
paulwerelds@198
|
350 |
this.startupMenuItem.Index = 3;
|
moel@82
|
351 |
this.startupMenuItem.Text = "Run On Windows Startup";
|
moel@28
|
352 |
//
|
moel@133
|
353 |
// separatorMenuItem
|
moel@28
|
354 |
//
|
paulwerelds@198
|
355 |
this.separatorMenuItem.Index = 4;
|
moel@156
|
356 |
this.separatorMenuItem.Text = "-";
|
moel@28
|
357 |
//
|
moel@156
|
358 |
// temperatureUnitsMenuItem
|
moel@122
|
359 |
//
|
paulwerelds@198
|
360 |
this.temperatureUnitsMenuItem.Index = 5;
|
moel@156
|
361 |
this.temperatureUnitsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@156
|
362 |
this.celciusMenuItem,
|
moel@156
|
363 |
this.fahrenheitMenuItem});
|
moel@156
|
364 |
this.temperatureUnitsMenuItem.Text = "Temperature Unit";
|
moel@122
|
365 |
//
|
moel@156
|
366 |
// celciusMenuItem
|
moel@122
|
367 |
//
|
moel@156
|
368 |
this.celciusMenuItem.Index = 0;
|
moel@156
|
369 |
this.celciusMenuItem.Text = "Celcius";
|
moel@156
|
370 |
this.celciusMenuItem.Click += new System.EventHandler(this.celciusMenuItem_Click);
|
moel@122
|
371 |
//
|
moel@156
|
372 |
// fahrenheitMenuItem
|
moel@122
|
373 |
//
|
moel@156
|
374 |
this.fahrenheitMenuItem.Index = 1;
|
moel@156
|
375 |
this.fahrenheitMenuItem.Text = "Fahrenheit";
|
moel@156
|
376 |
this.fahrenheitMenuItem.Click += new System.EventHandler(this.fahrenheitMenuItem_Click);
|
moel@122
|
377 |
//
|
moel@156
|
378 |
// MenuItem4
|
moel@122
|
379 |
//
|
paulwerelds@198
|
380 |
this.MenuItem4.Index = 6;
|
moel@156
|
381 |
this.MenuItem4.Text = "-";
|
moel@122
|
382 |
//
|
moel@1
|
383 |
// hddMenuItem
|
moel@1
|
384 |
//
|
paulwerelds@198
|
385 |
this.hddMenuItem.Index = 7;
|
moel@122
|
386 |
this.hddMenuItem.Text = "Read HDD sensors";
|
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.Controls.Add(this.plotPanel);
|
moel@158
|
430 |
this.splitContainer.Panel2.Cursor = System.Windows.Forms.Cursors.Default;
|
moel@158
|
431 |
this.splitContainer.Size = new System.Drawing.Size(386, 483);
|
moel@158
|
432 |
this.splitContainer.SplitterDistance = 354;
|
moel@158
|
433 |
this.splitContainer.SplitterWidth = 5;
|
moel@158
|
434 |
this.splitContainer.TabIndex = 3;
|
moel@158
|
435 |
//
|
moel@158
|
436 |
// treeView
|
moel@158
|
437 |
//
|
moel@158
|
438 |
this.treeView.BackColor = System.Drawing.SystemColors.Window;
|
moel@158
|
439 |
this.treeView.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
moel@158
|
440 |
this.treeView.Columns.Add(this.sensor);
|
moel@158
|
441 |
this.treeView.Columns.Add(this.value);
|
moel@158
|
442 |
this.treeView.Columns.Add(this.min);
|
moel@158
|
443 |
this.treeView.Columns.Add(this.max);
|
moel@158
|
444 |
this.treeView.DefaultToolTipProvider = null;
|
moel@158
|
445 |
this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
|
moel@158
|
446 |
this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
|
moel@158
|
447 |
this.treeView.FullRowSelect = true;
|
moel@158
|
448 |
this.treeView.GridLineStyle = Aga.Controls.Tree.GridLineStyle.Horizontal;
|
moel@158
|
449 |
this.treeView.LineColor = System.Drawing.SystemColors.ControlDark;
|
moel@158
|
450 |
this.treeView.Location = new System.Drawing.Point(0, 0);
|
moel@158
|
451 |
this.treeView.Model = null;
|
moel@158
|
452 |
this.treeView.Name = "treeView";
|
moel@158
|
453 |
this.treeView.NodeControls.Add(this.nodeImage);
|
moel@158
|
454 |
this.treeView.NodeControls.Add(this.nodeCheckBox);
|
moel@158
|
455 |
this.treeView.NodeControls.Add(this.nodeTextBoxText);
|
moel@158
|
456 |
this.treeView.NodeControls.Add(this.nodeTextBoxValue);
|
moel@158
|
457 |
this.treeView.NodeControls.Add(this.nodeTextBoxMin);
|
moel@262
|
458 |
this.treeView.NodeControls.Add(this.nodeTextBoxMax);
|
moel@158
|
459 |
this.treeView.SelectedNode = null;
|
moel@158
|
460 |
this.treeView.Size = new System.Drawing.Size(386, 354);
|
moel@158
|
461 |
this.treeView.TabIndex = 0;
|
moel@158
|
462 |
this.treeView.Text = "treeView";
|
moel@158
|
463 |
this.treeView.UseColumns = true;
|
moel@158
|
464 |
this.treeView.NodeMouseDoubleClick += new System.EventHandler<Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this.treeView_NodeMouseDoubleClick);
|
moel@158
|
465 |
this.treeView.Click += new System.EventHandler(this.treeView_Click);
|
moel@287
|
466 |
this.treeView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseMove);
|
moel@158
|
467 |
//
|
moel@158
|
468 |
// plotPanel
|
moel@158
|
469 |
//
|
moel@158
|
470 |
this.plotPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
moel@158
|
471 |
this.plotPanel.Location = new System.Drawing.Point(0, 0);
|
moel@158
|
472 |
this.plotPanel.Name = "plotPanel";
|
moel@158
|
473 |
this.plotPanel.Size = new System.Drawing.Size(386, 124);
|
moel@158
|
474 |
this.plotPanel.TabIndex = 0;
|
moel@158
|
475 |
//
|
moel@1
|
476 |
// MainForm
|
moel@1
|
477 |
//
|
moel@122
|
478 |
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
moel@1
|
479 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
moel@159
|
480 |
this.ClientSize = new System.Drawing.Size(418, 554);
|
moel@1
|
481 |
this.Controls.Add(this.splitContainer);
|
moel@158
|
482 |
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
moel@158
|
483 |
this.Menu = this.mainMenu;
|
moel@1
|
484 |
this.Name = "MainForm";
|
moel@1
|
485 |
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
moel@1
|
486 |
this.Text = "Open Hardware Monitor";
|
moel@1
|
487 |
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
|
paulwerelds@214
|
488 |
this.Load += new System.EventHandler(this.MainForm_Load);
|
moel@241
|
489 |
this.ResizeEnd += new System.EventHandler(this.MainForm_MoveOrResize);
|
moel@241
|
490 |
this.Move += new System.EventHandler(this.MainForm_MoveOrResize);
|
moel@1
|
491 |
this.splitContainer.Panel1.ResumeLayout(false);
|
moel@1
|
492 |
this.splitContainer.Panel2.ResumeLayout(false);
|
moel@1
|
493 |
this.splitContainer.ResumeLayout(false);
|
moel@1
|
494 |
this.ResumeLayout(false);
|
moel@1
|
495 |
|
moel@1
|
496 |
}
|
moel@1
|
497 |
|
moel@1
|
498 |
#endregion
|
moel@1
|
499 |
|
moel@1
|
500 |
private Aga.Controls.Tree.TreeViewAdv treeView;
|
moel@156
|
501 |
private System.Windows.Forms.MainMenu mainMenu;
|
moel@156
|
502 |
private System.Windows.Forms.MenuItem fileMenuItem;
|
moel@156
|
503 |
private System.Windows.Forms.MenuItem exitMenuItem;
|
moel@1
|
504 |
private Aga.Controls.Tree.TreeColumn sensor;
|
moel@1
|
505 |
private Aga.Controls.Tree.TreeColumn value;
|
moel@1
|
506 |
private Aga.Controls.Tree.TreeColumn min;
|
moel@1
|
507 |
private Aga.Controls.Tree.TreeColumn max;
|
moel@1
|
508 |
private Aga.Controls.Tree.NodeControls.NodeIcon nodeImage;
|
moel@1
|
509 |
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxText;
|
moel@1
|
510 |
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxValue;
|
moel@1
|
511 |
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMin;
|
moel@1
|
512 |
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMax;
|
moel@158
|
513 |
private SplitContainerAdv splitContainer;
|
moel@1
|
514 |
private PlotPanel plotPanel;
|
moel@156
|
515 |
private System.Windows.Forms.MenuItem viewMenuItem;
|
moel@156
|
516 |
private System.Windows.Forms.MenuItem plotMenuItem;
|
moel@1
|
517 |
private Aga.Controls.Tree.NodeControls.NodeCheckBox nodeCheckBox;
|
moel@156
|
518 |
private System.Windows.Forms.MenuItem helpMenuItem;
|
moel@156
|
519 |
private System.Windows.Forms.MenuItem aboutMenuItem;
|
moel@156
|
520 |
private System.Windows.Forms.MenuItem saveReportMenuItem;
|
moel@156
|
521 |
private System.Windows.Forms.MenuItem optionsMenuItem;
|
moel@156
|
522 |
private System.Windows.Forms.MenuItem hddMenuItem;
|
moel@156
|
523 |
private System.Windows.Forms.MenuItem minTrayMenuItem;
|
moel@156
|
524 |
private System.Windows.Forms.MenuItem separatorMenuItem;
|
moel@275
|
525 |
private System.Windows.Forms.ContextMenu treeContextMenu;
|
moel@156
|
526 |
private System.Windows.Forms.MenuItem startMinMenuItem;
|
moel@156
|
527 |
private System.Windows.Forms.MenuItem startupMenuItem;
|
moel@83
|
528 |
private System.Windows.Forms.SaveFileDialog saveFileDialog;
|
moel@86
|
529 |
private System.Windows.Forms.Timer timer;
|
moel@156
|
530 |
private System.Windows.Forms.MenuItem hiddenMenuItem;
|
moel@156
|
531 |
private System.Windows.Forms.MenuItem MenuItem1;
|
moel@156
|
532 |
private System.Windows.Forms.MenuItem columnsMenuItem;
|
moel@156
|
533 |
private System.Windows.Forms.MenuItem valueMenuItem;
|
moel@156
|
534 |
private System.Windows.Forms.MenuItem minMenuItem;
|
moel@156
|
535 |
private System.Windows.Forms.MenuItem maxMenuItem;
|
moel@156
|
536 |
private System.Windows.Forms.MenuItem temperatureUnitsMenuItem;
|
moel@156
|
537 |
private System.Windows.Forms.MenuItem MenuItem4;
|
moel@156
|
538 |
private System.Windows.Forms.MenuItem celciusMenuItem;
|
moel@156
|
539 |
private System.Windows.Forms.MenuItem fahrenheitMenuItem;
|
moel@156
|
540 |
private System.Windows.Forms.MenuItem sumbitReportMenuItem;
|
moel@156
|
541 |
private System.Windows.Forms.MenuItem MenuItem2;
|
moel@156
|
542 |
private System.Windows.Forms.MenuItem resetMinMaxMenuItem;
|
moel@156
|
543 |
private System.Windows.Forms.MenuItem MenuItem3;
|
moel@176
|
544 |
private System.Windows.Forms.MenuItem gadgetMenuItem;
|
paulwerelds@198
|
545 |
private System.Windows.Forms.MenuItem minCloseMenuItem;
|
moel@262
|
546 |
private System.Windows.Forms.MenuItem resetMenuItem;
|
moel@262
|
547 |
private System.Windows.Forms.MenuItem menuItem6;
|
moel@1
|
548 |
}
|
moel@1
|
549 |
}
|
moel@1
|
550 |
|