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@190
|
86 |
this.gadgetMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
87 |
this.MenuItem1 = new System.Windows.Forms.MenuItem();
|
moel@156
|
88 |
this.columnsMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
89 |
this.valueMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
90 |
this.minMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
91 |
this.maxMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
92 |
this.optionsMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
93 |
this.startMinMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
94 |
this.minTrayMenuItem = new System.Windows.Forms.MenuItem();
|
paulwerelds@198
|
95 |
this.minCloseMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
96 |
this.startupMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
97 |
this.separatorMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
98 |
this.temperatureUnitsMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
99 |
this.celciusMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
100 |
this.fahrenheitMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
101 |
this.MenuItem4 = new System.Windows.Forms.MenuItem();
|
moel@156
|
102 |
this.hddMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
103 |
this.helpMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
104 |
this.aboutMenuItem = new System.Windows.Forms.MenuItem();
|
moel@156
|
105 |
this.sensorContextMenu = new System.Windows.Forms.ContextMenu();
|
moel@83
|
106 |
this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
|
moel@86
|
107 |
this.timer = new System.Windows.Forms.Timer(this.components);
|
moel@158
|
108 |
this.splitContainer = new OpenHardwareMonitor.GUI.SplitContainerAdv();
|
moel@158
|
109 |
this.treeView = new Aga.Controls.Tree.TreeViewAdv();
|
moel@158
|
110 |
this.plotPanel = new OpenHardwareMonitor.GUI.PlotPanel();
|
moel@1
|
111 |
this.splitContainer.Panel1.SuspendLayout();
|
moel@1
|
112 |
this.splitContainer.Panel2.SuspendLayout();
|
moel@1
|
113 |
this.splitContainer.SuspendLayout();
|
moel@1
|
114 |
this.SuspendLayout();
|
moel@1
|
115 |
//
|
moel@1
|
116 |
// sensor
|
moel@1
|
117 |
//
|
moel@1
|
118 |
this.sensor.Header = "Sensor";
|
moel@1
|
119 |
this.sensor.SortOrder = System.Windows.Forms.SortOrder.None;
|
moel@1
|
120 |
this.sensor.TooltipText = null;
|
moel@1
|
121 |
this.sensor.Width = 250;
|
moel@1
|
122 |
//
|
moel@1
|
123 |
// value
|
moel@1
|
124 |
//
|
moel@1
|
125 |
this.value.Header = "Value";
|
moel@1
|
126 |
this.value.SortOrder = System.Windows.Forms.SortOrder.None;
|
moel@1
|
127 |
this.value.TooltipText = null;
|
moel@1
|
128 |
this.value.Width = 100;
|
moel@1
|
129 |
//
|
moel@1
|
130 |
// min
|
moel@1
|
131 |
//
|
moel@1
|
132 |
this.min.Header = "Min";
|
moel@1
|
133 |
this.min.SortOrder = System.Windows.Forms.SortOrder.None;
|
moel@1
|
134 |
this.min.TooltipText = null;
|
moel@1
|
135 |
this.min.Width = 100;
|
moel@1
|
136 |
//
|
moel@1
|
137 |
// max
|
moel@1
|
138 |
//
|
moel@1
|
139 |
this.max.Header = "Max";
|
moel@1
|
140 |
this.max.SortOrder = System.Windows.Forms.SortOrder.None;
|
moel@1
|
141 |
this.max.TooltipText = null;
|
moel@1
|
142 |
this.max.Width = 100;
|
moel@1
|
143 |
//
|
moel@1
|
144 |
// nodeImage
|
moel@1
|
145 |
//
|
moel@1
|
146 |
this.nodeImage.DataPropertyName = "Image";
|
moel@1
|
147 |
this.nodeImage.LeftMargin = 1;
|
moel@1
|
148 |
this.nodeImage.ParentColumn = this.sensor;
|
moel@1
|
149 |
this.nodeImage.ScaleMode = Aga.Controls.Tree.ImageScaleMode.Fit;
|
moel@1
|
150 |
//
|
moel@1
|
151 |
// nodeCheckBox
|
moel@1
|
152 |
//
|
moel@1
|
153 |
this.nodeCheckBox.DataPropertyName = "Plot";
|
moel@1
|
154 |
this.nodeCheckBox.EditEnabled = true;
|
moel@1
|
155 |
this.nodeCheckBox.LeftMargin = 3;
|
moel@1
|
156 |
this.nodeCheckBox.ParentColumn = this.sensor;
|
moel@1
|
157 |
//
|
moel@1
|
158 |
// nodeTextBoxText
|
moel@1
|
159 |
//
|
moel@1
|
160 |
this.nodeTextBoxText.DataPropertyName = "Text";
|
moel@1
|
161 |
this.nodeTextBoxText.EditEnabled = true;
|
moel@1
|
162 |
this.nodeTextBoxText.IncrementalSearchEnabled = true;
|
moel@1
|
163 |
this.nodeTextBoxText.LeftMargin = 3;
|
moel@1
|
164 |
this.nodeTextBoxText.ParentColumn = this.sensor;
|
moel@190
|
165 |
this.nodeTextBoxText.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
|
moel@1
|
166 |
//
|
moel@1
|
167 |
// nodeTextBoxValue
|
moel@1
|
168 |
//
|
moel@1
|
169 |
this.nodeTextBoxValue.DataPropertyName = "Value";
|
moel@1
|
170 |
this.nodeTextBoxValue.IncrementalSearchEnabled = true;
|
moel@1
|
171 |
this.nodeTextBoxValue.LeftMargin = 3;
|
moel@1
|
172 |
this.nodeTextBoxValue.ParentColumn = this.value;
|
moel@190
|
173 |
this.nodeTextBoxValue.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
|
moel@1
|
174 |
//
|
moel@1
|
175 |
// nodeTextBoxMin
|
moel@1
|
176 |
//
|
moel@1
|
177 |
this.nodeTextBoxMin.DataPropertyName = "Min";
|
moel@1
|
178 |
this.nodeTextBoxMin.IncrementalSearchEnabled = true;
|
moel@1
|
179 |
this.nodeTextBoxMin.LeftMargin = 3;
|
moel@1
|
180 |
this.nodeTextBoxMin.ParentColumn = this.min;
|
moel@190
|
181 |
this.nodeTextBoxMin.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
|
moel@1
|
182 |
//
|
moel@1
|
183 |
// nodeTextBoxMax
|
moel@1
|
184 |
//
|
moel@1
|
185 |
this.nodeTextBoxMax.DataPropertyName = "Max";
|
moel@1
|
186 |
this.nodeTextBoxMax.IncrementalSearchEnabled = true;
|
moel@1
|
187 |
this.nodeTextBoxMax.LeftMargin = 3;
|
moel@1
|
188 |
this.nodeTextBoxMax.ParentColumn = this.max;
|
moel@190
|
189 |
this.nodeTextBoxMax.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
|
moel@1
|
190 |
//
|
moel@156
|
191 |
// mainMenu
|
moel@1
|
192 |
//
|
moel@156
|
193 |
this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@156
|
194 |
this.fileMenuItem,
|
moel@156
|
195 |
this.viewMenuItem,
|
moel@156
|
196 |
this.optionsMenuItem,
|
moel@156
|
197 |
this.helpMenuItem});
|
moel@1
|
198 |
//
|
moel@156
|
199 |
// fileMenuItem
|
moel@1
|
200 |
//
|
moel@156
|
201 |
this.fileMenuItem.Index = 0;
|
moel@156
|
202 |
this.fileMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@156
|
203 |
this.saveReportMenuItem,
|
moel@156
|
204 |
this.sumbitReportMenuItem,
|
moel@156
|
205 |
this.MenuItem2,
|
moel@156
|
206 |
this.exitMenuItem});
|
moel@156
|
207 |
this.fileMenuItem.Text = "File";
|
moel@1
|
208 |
//
|
moel@156
|
209 |
// saveReportMenuItem
|
moel@1
|
210 |
//
|
moel@156
|
211 |
this.saveReportMenuItem.Index = 0;
|
moel@156
|
212 |
this.saveReportMenuItem.Text = "Save Report...";
|
moel@156
|
213 |
this.saveReportMenuItem.Click += new System.EventHandler(this.saveReportMenuItem_Click);
|
moel@1
|
214 |
//
|
moel@156
|
215 |
// sumbitReportMenuItem
|
moel@151
|
216 |
//
|
moel@156
|
217 |
this.sumbitReportMenuItem.Index = 1;
|
moel@156
|
218 |
this.sumbitReportMenuItem.Text = "Submit Report...";
|
moel@156
|
219 |
this.sumbitReportMenuItem.Click += new System.EventHandler(this.sumbitReportMenuItem_Click);
|
moel@151
|
220 |
//
|
moel@156
|
221 |
// MenuItem2
|
moel@151
|
222 |
//
|
moel@156
|
223 |
this.MenuItem2.Index = 2;
|
moel@156
|
224 |
this.MenuItem2.Text = "-";
|
moel@151
|
225 |
//
|
moel@156
|
226 |
// exitMenuItem
|
moel@1
|
227 |
//
|
moel@156
|
228 |
this.exitMenuItem.Index = 3;
|
moel@156
|
229 |
this.exitMenuItem.Text = "Exit";
|
moel@156
|
230 |
this.exitMenuItem.Click += new System.EventHandler(this.exitClick);
|
moel@1
|
231 |
//
|
moel@156
|
232 |
// viewMenuItem
|
moel@1
|
233 |
//
|
moel@156
|
234 |
this.viewMenuItem.Index = 1;
|
moel@156
|
235 |
this.viewMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@151
|
236 |
this.resetMinMaxMenuItem,
|
moel@156
|
237 |
this.MenuItem3,
|
moel@111
|
238 |
this.hiddenMenuItem,
|
moel@111
|
239 |
this.plotMenuItem,
|
moel@176
|
240 |
this.gadgetMenuItem,
|
moel@156
|
241 |
this.MenuItem1,
|
moel@156
|
242 |
this.columnsMenuItem});
|
moel@156
|
243 |
this.viewMenuItem.Text = "View";
|
moel@156
|
244 |
//
|
moel@156
|
245 |
// resetMinMaxMenuItem
|
moel@156
|
246 |
//
|
moel@156
|
247 |
this.resetMinMaxMenuItem.Index = 0;
|
moel@156
|
248 |
this.resetMinMaxMenuItem.Text = "Reset Min/Max";
|
moel@156
|
249 |
this.resetMinMaxMenuItem.Click += new System.EventHandler(this.resetMinMaxMenuItem_Click);
|
moel@156
|
250 |
//
|
moel@156
|
251 |
// MenuItem3
|
moel@156
|
252 |
//
|
moel@156
|
253 |
this.MenuItem3.Index = 1;
|
moel@156
|
254 |
this.MenuItem3.Text = "-";
|
moel@1
|
255 |
//
|
moel@111
|
256 |
// hiddenMenuItem
|
moel@1
|
257 |
//
|
moel@156
|
258 |
this.hiddenMenuItem.Index = 2;
|
moel@111
|
259 |
this.hiddenMenuItem.Text = "Show Hidden Sensors";
|
moel@1
|
260 |
//
|
moel@1
|
261 |
// plotMenuItem
|
moel@1
|
262 |
//
|
moel@156
|
263 |
this.plotMenuItem.Index = 3;
|
moel@111
|
264 |
this.plotMenuItem.Text = "Show Plot";
|
moel@1
|
265 |
//
|
moel@190
|
266 |
// gadgetMenuItem
|
moel@190
|
267 |
//
|
moel@190
|
268 |
this.gadgetMenuItem.Index = 4;
|
moel@190
|
269 |
this.gadgetMenuItem.Text = "Show Gadget";
|
moel@190
|
270 |
//
|
moel@156
|
271 |
// MenuItem1
|
moel@111
|
272 |
//
|
moel@176
|
273 |
this.MenuItem1.Index = 5;
|
moel@156
|
274 |
this.MenuItem1.Text = "-";
|
moel@111
|
275 |
//
|
moel@156
|
276 |
// columnsMenuItem
|
moel@111
|
277 |
//
|
moel@176
|
278 |
this.columnsMenuItem.Index = 6;
|
moel@156
|
279 |
this.columnsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@111
|
280 |
this.valueMenuItem,
|
moel@111
|
281 |
this.minMenuItem,
|
moel@134
|
282 |
this.maxMenuItem});
|
moel@156
|
283 |
this.columnsMenuItem.Text = "Columns";
|
moel@111
|
284 |
//
|
moel@111
|
285 |
// valueMenuItem
|
moel@111
|
286 |
//
|
moel@156
|
287 |
this.valueMenuItem.Index = 0;
|
moel@111
|
288 |
this.valueMenuItem.Text = "Value";
|
moel@111
|
289 |
//
|
moel@111
|
290 |
// minMenuItem
|
moel@111
|
291 |
//
|
moel@156
|
292 |
this.minMenuItem.Index = 1;
|
moel@111
|
293 |
this.minMenuItem.Text = "Min";
|
moel@111
|
294 |
//
|
moel@111
|
295 |
// maxMenuItem
|
moel@111
|
296 |
//
|
moel@156
|
297 |
this.maxMenuItem.Index = 2;
|
moel@111
|
298 |
this.maxMenuItem.Text = "Max";
|
moel@111
|
299 |
//
|
moel@156
|
300 |
// optionsMenuItem
|
moel@1
|
301 |
//
|
moel@156
|
302 |
this.optionsMenuItem.Index = 2;
|
moel@156
|
303 |
this.optionsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@55
|
304 |
this.startMinMenuItem,
|
moel@28
|
305 |
this.minTrayMenuItem,
|
paulwerelds@198
|
306 |
this.minCloseMenuItem,
|
moel@82
|
307 |
this.startupMenuItem,
|
moel@125
|
308 |
this.separatorMenuItem,
|
moel@156
|
309 |
this.temperatureUnitsMenuItem,
|
moel@156
|
310 |
this.MenuItem4,
|
moel@1
|
311 |
this.hddMenuItem});
|
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@156
|
343 |
this.celciusMenuItem,
|
moel@156
|
344 |
this.fahrenheitMenuItem});
|
moel@156
|
345 |
this.temperatureUnitsMenuItem.Text = "Temperature Unit";
|
moel@122
|
346 |
//
|
moel@156
|
347 |
// celciusMenuItem
|
moel@122
|
348 |
//
|
moel@156
|
349 |
this.celciusMenuItem.Index = 0;
|
moel@156
|
350 |
this.celciusMenuItem.Text = "Celcius";
|
moel@156
|
351 |
this.celciusMenuItem.Click += new System.EventHandler(this.celciusMenuItem_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 |
//
|
paulwerelds@198
|
361 |
this.MenuItem4.Index = 6;
|
moel@156
|
362 |
this.MenuItem4.Text = "-";
|
moel@122
|
363 |
//
|
moel@1
|
364 |
// hddMenuItem
|
moel@1
|
365 |
//
|
paulwerelds@198
|
366 |
this.hddMenuItem.Index = 7;
|
moel@122
|
367 |
this.hddMenuItem.Text = "Read HDD sensors";
|
moel@1
|
368 |
//
|
moel@156
|
369 |
// helpMenuItem
|
moel@1
|
370 |
//
|
moel@156
|
371 |
this.helpMenuItem.Index = 3;
|
moel@156
|
372 |
this.helpMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
|
moel@156
|
373 |
this.aboutMenuItem});
|
moel@156
|
374 |
this.helpMenuItem.Text = "Help";
|
moel@1
|
375 |
//
|
moel@156
|
376 |
// aboutMenuItem
|
moel@1
|
377 |
//
|
moel@156
|
378 |
this.aboutMenuItem.Index = 0;
|
moel@156
|
379 |
this.aboutMenuItem.Text = "About";
|
moel@156
|
380 |
this.aboutMenuItem.Click += new System.EventHandler(this.aboutMenuItem_Click);
|
moel@1
|
381 |
//
|
moel@83
|
382 |
// saveFileDialog
|
moel@83
|
383 |
//
|
moel@83
|
384 |
this.saveFileDialog.DefaultExt = "txt";
|
moel@83
|
385 |
this.saveFileDialog.FileName = "OpenHardwareMonitor.Report.txt";
|
moel@83
|
386 |
this.saveFileDialog.Filter = "Text Documents|*.txt|All Files|*.*";
|
moel@83
|
387 |
this.saveFileDialog.RestoreDirectory = true;
|
moel@83
|
388 |
this.saveFileDialog.Title = "Save Report As";
|
moel@83
|
389 |
//
|
moel@86
|
390 |
// timer
|
moel@86
|
391 |
//
|
moel@86
|
392 |
this.timer.Interval = 1000;
|
moel@86
|
393 |
this.timer.Tick += new System.EventHandler(this.timer_Tick);
|
moel@86
|
394 |
//
|
moel@158
|
395 |
// splitContainer
|
moel@158
|
396 |
//
|
moel@158
|
397 |
this.splitContainer.Border3DStyle = System.Windows.Forms.Border3DStyle.Raised;
|
moel@158
|
398 |
this.splitContainer.Color = System.Drawing.SystemColors.Control;
|
moel@158
|
399 |
this.splitContainer.Cursor = System.Windows.Forms.Cursors.Default;
|
moel@158
|
400 |
this.splitContainer.Location = new System.Drawing.Point(12, 12);
|
moel@158
|
401 |
this.splitContainer.Name = "splitContainer";
|
moel@158
|
402 |
this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
moel@158
|
403 |
//
|
moel@158
|
404 |
// splitContainer.Panel1
|
moel@158
|
405 |
//
|
moel@158
|
406 |
this.splitContainer.Panel1.Controls.Add(this.treeView);
|
moel@158
|
407 |
//
|
moel@158
|
408 |
// splitContainer.Panel2
|
moel@158
|
409 |
//
|
moel@158
|
410 |
this.splitContainer.Panel2.Controls.Add(this.plotPanel);
|
moel@158
|
411 |
this.splitContainer.Panel2.Cursor = System.Windows.Forms.Cursors.Default;
|
moel@158
|
412 |
this.splitContainer.Size = new System.Drawing.Size(386, 483);
|
moel@158
|
413 |
this.splitContainer.SplitterDistance = 354;
|
moel@158
|
414 |
this.splitContainer.SplitterWidth = 5;
|
moel@158
|
415 |
this.splitContainer.TabIndex = 3;
|
moel@158
|
416 |
//
|
moel@158
|
417 |
// treeView
|
moel@158
|
418 |
//
|
moel@158
|
419 |
this.treeView.BackColor = System.Drawing.SystemColors.Window;
|
moel@158
|
420 |
this.treeView.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
moel@158
|
421 |
this.treeView.Columns.Add(this.sensor);
|
moel@158
|
422 |
this.treeView.Columns.Add(this.value);
|
moel@158
|
423 |
this.treeView.Columns.Add(this.min);
|
moel@158
|
424 |
this.treeView.Columns.Add(this.max);
|
moel@158
|
425 |
this.treeView.DefaultToolTipProvider = null;
|
moel@158
|
426 |
this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
|
moel@158
|
427 |
this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
|
moel@158
|
428 |
this.treeView.FullRowSelect = true;
|
moel@158
|
429 |
this.treeView.GridLineStyle = Aga.Controls.Tree.GridLineStyle.Horizontal;
|
moel@158
|
430 |
this.treeView.LineColor = System.Drawing.SystemColors.ControlDark;
|
moel@158
|
431 |
this.treeView.Location = new System.Drawing.Point(0, 0);
|
moel@158
|
432 |
this.treeView.Model = null;
|
moel@158
|
433 |
this.treeView.Name = "treeView";
|
moel@158
|
434 |
this.treeView.NodeControls.Add(this.nodeImage);
|
moel@158
|
435 |
this.treeView.NodeControls.Add(this.nodeCheckBox);
|
moel@158
|
436 |
this.treeView.NodeControls.Add(this.nodeTextBoxText);
|
moel@158
|
437 |
this.treeView.NodeControls.Add(this.nodeTextBoxValue);
|
moel@158
|
438 |
this.treeView.NodeControls.Add(this.nodeTextBoxMin);
|
moel@158
|
439 |
this.treeView.NodeControls.Add(this.nodeTextBoxMax);
|
moel@158
|
440 |
this.treeView.RowHeight = 18;
|
moel@158
|
441 |
this.treeView.SelectedNode = null;
|
moel@158
|
442 |
this.treeView.Size = new System.Drawing.Size(386, 354);
|
moel@158
|
443 |
this.treeView.TabIndex = 0;
|
moel@158
|
444 |
this.treeView.Text = "treeView";
|
moel@158
|
445 |
this.treeView.UseColumns = true;
|
moel@158
|
446 |
this.treeView.NodeMouseDoubleClick += new System.EventHandler<Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this.treeView_NodeMouseDoubleClick);
|
moel@158
|
447 |
this.treeView.Click += new System.EventHandler(this.treeView_Click);
|
moel@158
|
448 |
//
|
moel@158
|
449 |
// plotPanel
|
moel@158
|
450 |
//
|
moel@158
|
451 |
this.plotPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
moel@158
|
452 |
this.plotPanel.Location = new System.Drawing.Point(0, 0);
|
moel@158
|
453 |
this.plotPanel.Name = "plotPanel";
|
moel@158
|
454 |
this.plotPanel.Size = new System.Drawing.Size(386, 124);
|
moel@158
|
455 |
this.plotPanel.TabIndex = 0;
|
moel@158
|
456 |
//
|
moel@1
|
457 |
// MainForm
|
moel@1
|
458 |
//
|
moel@122
|
459 |
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
moel@1
|
460 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
moel@159
|
461 |
this.ClientSize = new System.Drawing.Size(418, 554);
|
moel@1
|
462 |
this.Controls.Add(this.splitContainer);
|
moel@158
|
463 |
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
moel@158
|
464 |
this.Menu = this.mainMenu;
|
moel@1
|
465 |
this.Name = "MainForm";
|
moel@1
|
466 |
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
moel@1
|
467 |
this.Text = "Open Hardware Monitor";
|
moel@1
|
468 |
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
|
moel@1
|
469 |
this.splitContainer.Panel1.ResumeLayout(false);
|
moel@1
|
470 |
this.splitContainer.Panel2.ResumeLayout(false);
|
moel@1
|
471 |
this.splitContainer.ResumeLayout(false);
|
moel@1
|
472 |
this.ResumeLayout(false);
|
moel@1
|
473 |
|
moel@1
|
474 |
}
|
moel@1
|
475 |
|
moel@1
|
476 |
#endregion
|
moel@1
|
477 |
|
moel@1
|
478 |
private Aga.Controls.Tree.TreeViewAdv treeView;
|
moel@156
|
479 |
private System.Windows.Forms.MainMenu mainMenu;
|
moel@156
|
480 |
private System.Windows.Forms.MenuItem fileMenuItem;
|
moel@156
|
481 |
private System.Windows.Forms.MenuItem exitMenuItem;
|
moel@1
|
482 |
private Aga.Controls.Tree.TreeColumn sensor;
|
moel@1
|
483 |
private Aga.Controls.Tree.TreeColumn value;
|
moel@1
|
484 |
private Aga.Controls.Tree.TreeColumn min;
|
moel@1
|
485 |
private Aga.Controls.Tree.TreeColumn max;
|
moel@1
|
486 |
private Aga.Controls.Tree.NodeControls.NodeIcon nodeImage;
|
moel@1
|
487 |
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxText;
|
moel@1
|
488 |
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxValue;
|
moel@1
|
489 |
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMin;
|
moel@1
|
490 |
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMax;
|
moel@158
|
491 |
private SplitContainerAdv splitContainer;
|
moel@1
|
492 |
private PlotPanel plotPanel;
|
moel@156
|
493 |
private System.Windows.Forms.MenuItem viewMenuItem;
|
moel@156
|
494 |
private System.Windows.Forms.MenuItem plotMenuItem;
|
moel@1
|
495 |
private Aga.Controls.Tree.NodeControls.NodeCheckBox nodeCheckBox;
|
moel@156
|
496 |
private System.Windows.Forms.MenuItem helpMenuItem;
|
moel@156
|
497 |
private System.Windows.Forms.MenuItem aboutMenuItem;
|
moel@156
|
498 |
private System.Windows.Forms.MenuItem saveReportMenuItem;
|
moel@156
|
499 |
private System.Windows.Forms.MenuItem optionsMenuItem;
|
moel@156
|
500 |
private System.Windows.Forms.MenuItem hddMenuItem;
|
moel@156
|
501 |
private System.Windows.Forms.MenuItem minTrayMenuItem;
|
moel@156
|
502 |
private System.Windows.Forms.MenuItem separatorMenuItem;
|
moel@156
|
503 |
private System.Windows.Forms.ContextMenu sensorContextMenu;
|
moel@156
|
504 |
private System.Windows.Forms.MenuItem startMinMenuItem;
|
moel@156
|
505 |
private System.Windows.Forms.MenuItem startupMenuItem;
|
moel@83
|
506 |
private System.Windows.Forms.SaveFileDialog saveFileDialog;
|
moel@86
|
507 |
private System.Windows.Forms.Timer timer;
|
moel@156
|
508 |
private System.Windows.Forms.MenuItem hiddenMenuItem;
|
moel@156
|
509 |
private System.Windows.Forms.MenuItem MenuItem1;
|
moel@156
|
510 |
private System.Windows.Forms.MenuItem columnsMenuItem;
|
moel@156
|
511 |
private System.Windows.Forms.MenuItem valueMenuItem;
|
moel@156
|
512 |
private System.Windows.Forms.MenuItem minMenuItem;
|
moel@156
|
513 |
private System.Windows.Forms.MenuItem maxMenuItem;
|
moel@156
|
514 |
private System.Windows.Forms.MenuItem temperatureUnitsMenuItem;
|
moel@156
|
515 |
private System.Windows.Forms.MenuItem MenuItem4;
|
moel@156
|
516 |
private System.Windows.Forms.MenuItem celciusMenuItem;
|
moel@156
|
517 |
private System.Windows.Forms.MenuItem fahrenheitMenuItem;
|
moel@156
|
518 |
private System.Windows.Forms.MenuItem sumbitReportMenuItem;
|
moel@156
|
519 |
private System.Windows.Forms.MenuItem MenuItem2;
|
moel@156
|
520 |
private System.Windows.Forms.MenuItem resetMinMaxMenuItem;
|
moel@156
|
521 |
private System.Windows.Forms.MenuItem MenuItem3;
|
moel@176
|
522 |
private System.Windows.Forms.MenuItem gadgetMenuItem;
|
paulwerelds@198
|
523 |
private System.Windows.Forms.MenuItem minCloseMenuItem;
|
moel@1
|
524 |
}
|
moel@1
|
525 |
}
|
moel@1
|
526 |
|