Delete the config file if it can not be parsed, and restart with a new one.
3 Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 The contents of this file are subject to the Mozilla Public License Version
6 1.1 (the "License"); you may not use this file except in compliance with
7 the License. You may obtain a copy of the License at
9 http://www.mozilla.org/MPL/
11 Software distributed under the License is distributed on an "AS IS" basis,
12 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 for the specific language governing rights and limitations under the License.
15 The Original Code is the Open Hardware Monitor code.
17 The Initial Developer of the Original Code is
18 Michael Möller <m.moeller@gmx.ch>.
19 Portions created by the Initial Developer are Copyright (C) 2009-2010
20 the Initial Developer. All Rights Reserved.
24 Alternatively, the contents of this file may be used under the terms of
25 either the GNU General Public License Version 2 or later (the "GPL"), or
26 the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 in which case the provisions of the GPL or the LGPL are applicable instead
28 of those above. If you wish to allow use of your version of this file only
29 under the terms of either the GPL or the LGPL, and not to allow others to
30 use your version of this file under the terms of the MPL, indicate your
31 decision by deleting the provisions above and replace them with the notice
32 and other provisions required by the GPL or the LGPL. If you do not delete
33 the provisions above, a recipient may use your version of this file under
34 the terms of any one of the MPL, the GPL or the LGPL.
38 namespace OpenHardwareMonitor.GUI {
39 partial class MainForm {
41 /// Required designer variable.
43 private System.ComponentModel.IContainer components = null;
46 /// Clean up any resources being used.
48 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
49 protected override void Dispose(bool disposing) {
50 if (disposing && (components != null)) {
53 base.Dispose(disposing);
56 #region Windows Form Designer generated code
59 /// Required method for Designer support - do not modify
60 /// the contents of this method with the code editor.
62 private void InitializeComponent() {
63 this.components = new System.ComponentModel.Container();
64 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
65 this.treeView = new Aga.Controls.Tree.TreeViewAdv();
66 this.sensor = new Aga.Controls.Tree.TreeColumn();
67 this.value = new Aga.Controls.Tree.TreeColumn();
68 this.min = new Aga.Controls.Tree.TreeColumn();
69 this.max = new Aga.Controls.Tree.TreeColumn();
70 this.nodeImage = new Aga.Controls.Tree.NodeControls.NodeIcon();
71 this.nodeCheckBox = new Aga.Controls.Tree.NodeControls.NodeCheckBox();
72 this.nodeTextBoxText = new Aga.Controls.Tree.NodeControls.NodeTextBox();
73 this.nodeTextBoxValue = new Aga.Controls.Tree.NodeControls.NodeTextBox();
74 this.nodeTextBoxMin = new Aga.Controls.Tree.NodeControls.NodeTextBox();
75 this.nodeTextBoxMax = new Aga.Controls.Tree.NodeControls.NodeTextBox();
76 this.mainMenu = new System.Windows.Forms.MainMenu(this.components);
77 this.fileMenuItem = new System.Windows.Forms.MenuItem();
78 this.saveReportMenuItem = new System.Windows.Forms.MenuItem();
79 this.sumbitReportMenuItem = new System.Windows.Forms.MenuItem();
80 this.MenuItem2 = new System.Windows.Forms.MenuItem();
81 this.exitMenuItem = new System.Windows.Forms.MenuItem();
82 this.viewMenuItem = new System.Windows.Forms.MenuItem();
83 this.resetMinMaxMenuItem = new System.Windows.Forms.MenuItem();
84 this.MenuItem3 = new System.Windows.Forms.MenuItem();
85 this.hiddenMenuItem = new System.Windows.Forms.MenuItem();
86 this.plotMenuItem = new System.Windows.Forms.MenuItem();
87 this.MenuItem1 = new System.Windows.Forms.MenuItem();
88 this.columnsMenuItem = new System.Windows.Forms.MenuItem();
89 this.valueMenuItem = new System.Windows.Forms.MenuItem();
90 this.minMenuItem = new System.Windows.Forms.MenuItem();
91 this.maxMenuItem = new System.Windows.Forms.MenuItem();
92 this.optionsMenuItem = new System.Windows.Forms.MenuItem();
93 this.startMinMenuItem = new System.Windows.Forms.MenuItem();
94 this.minTrayMenuItem = new System.Windows.Forms.MenuItem();
95 this.startupMenuItem = new System.Windows.Forms.MenuItem();
96 this.separatorMenuItem = new System.Windows.Forms.MenuItem();
97 this.temperatureUnitsMenuItem = new System.Windows.Forms.MenuItem();
98 this.celciusMenuItem = new System.Windows.Forms.MenuItem();
99 this.fahrenheitMenuItem = new System.Windows.Forms.MenuItem();
100 this.MenuItem4 = new System.Windows.Forms.MenuItem();
101 this.hddMenuItem = new System.Windows.Forms.MenuItem();
102 this.helpMenuItem = new System.Windows.Forms.MenuItem();
103 this.aboutMenuItem = new System.Windows.Forms.MenuItem();
104 this.splitContainer = new System.Windows.Forms.SplitContainer();
105 this.plotPanel = new OpenHardwareMonitor.GUI.PlotPanel();
106 this.sensorContextMenu = new System.Windows.Forms.ContextMenu();
107 this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
108 this.timer = new System.Windows.Forms.Timer(this.components);
109 this.splitContainer.Panel1.SuspendLayout();
110 this.splitContainer.Panel2.SuspendLayout();
111 this.splitContainer.SuspendLayout();
112 this.SuspendLayout();
116 this.treeView.BackColor = System.Drawing.SystemColors.Window;
117 this.treeView.Columns.Add(this.sensor);
118 this.treeView.Columns.Add(this.value);
119 this.treeView.Columns.Add(this.min);
120 this.treeView.Columns.Add(this.max);
121 this.treeView.DefaultToolTipProvider = null;
122 this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
123 this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
124 this.treeView.FullRowSelect = true;
125 this.treeView.GridLineStyle = Aga.Controls.Tree.GridLineStyle.Horizontal;
126 this.treeView.LineColor = System.Drawing.SystemColors.ControlDark;
127 this.treeView.Location = new System.Drawing.Point(0, 0);
128 this.treeView.Model = null;
129 this.treeView.Name = "treeView";
130 this.treeView.NodeControls.Add(this.nodeImage);
131 this.treeView.NodeControls.Add(this.nodeCheckBox);
132 this.treeView.NodeControls.Add(this.nodeTextBoxText);
133 this.treeView.NodeControls.Add(this.nodeTextBoxValue);
134 this.treeView.NodeControls.Add(this.nodeTextBoxMin);
135 this.treeView.NodeControls.Add(this.nodeTextBoxMax);
136 this.treeView.RowHeight = 18;
137 this.treeView.SelectedNode = null;
138 this.treeView.Size = new System.Drawing.Size(386, 488);
139 this.treeView.TabIndex = 0;
140 this.treeView.Text = "treeView";
141 this.treeView.UseColumns = true;
142 this.treeView.NodeMouseDoubleClick += new System.EventHandler<Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this.treeView_NodeMouseDoubleClick);
143 this.treeView.Click += new System.EventHandler(this.treeView_Click);
147 this.sensor.Header = "Sensor";
148 this.sensor.SortOrder = System.Windows.Forms.SortOrder.None;
149 this.sensor.TooltipText = null;
150 this.sensor.Width = 250;
154 this.value.Header = "Value";
155 this.value.SortOrder = System.Windows.Forms.SortOrder.None;
156 this.value.TooltipText = null;
157 this.value.Width = 100;
161 this.min.Header = "Min";
162 this.min.SortOrder = System.Windows.Forms.SortOrder.None;
163 this.min.TooltipText = null;
164 this.min.Width = 100;
168 this.max.Header = "Max";
169 this.max.SortOrder = System.Windows.Forms.SortOrder.None;
170 this.max.TooltipText = null;
171 this.max.Width = 100;
175 this.nodeImage.DataPropertyName = "Image";
176 this.nodeImage.LeftMargin = 1;
177 this.nodeImage.ParentColumn = this.sensor;
178 this.nodeImage.ScaleMode = Aga.Controls.Tree.ImageScaleMode.Fit;
182 this.nodeCheckBox.DataPropertyName = "Plot";
183 this.nodeCheckBox.EditEnabled = true;
184 this.nodeCheckBox.LeftMargin = 3;
185 this.nodeCheckBox.ParentColumn = this.sensor;
189 this.nodeTextBoxText.DataPropertyName = "Text";
190 this.nodeTextBoxText.EditEnabled = true;
191 this.nodeTextBoxText.IncrementalSearchEnabled = true;
192 this.nodeTextBoxText.LeftMargin = 3;
193 this.nodeTextBoxText.ParentColumn = this.sensor;
197 this.nodeTextBoxValue.DataPropertyName = "Value";
198 this.nodeTextBoxValue.IncrementalSearchEnabled = true;
199 this.nodeTextBoxValue.LeftMargin = 3;
200 this.nodeTextBoxValue.ParentColumn = this.value;
204 this.nodeTextBoxMin.DataPropertyName = "Min";
205 this.nodeTextBoxMin.IncrementalSearchEnabled = true;
206 this.nodeTextBoxMin.LeftMargin = 3;
207 this.nodeTextBoxMin.ParentColumn = this.min;
211 this.nodeTextBoxMax.DataPropertyName = "Max";
212 this.nodeTextBoxMax.IncrementalSearchEnabled = true;
213 this.nodeTextBoxMax.LeftMargin = 3;
214 this.nodeTextBoxMax.ParentColumn = this.max;
218 this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
221 this.optionsMenuItem,
226 this.fileMenuItem.Index = 0;
227 this.fileMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
228 this.saveReportMenuItem,
229 this.sumbitReportMenuItem,
232 this.fileMenuItem.Text = "File";
234 // saveReportMenuItem
236 this.saveReportMenuItem.Index = 0;
237 this.saveReportMenuItem.Text = "Save Report...";
238 this.saveReportMenuItem.Click += new System.EventHandler(this.saveReportMenuItem_Click);
240 // sumbitReportMenuItem
242 this.sumbitReportMenuItem.Index = 1;
243 this.sumbitReportMenuItem.Text = "Submit Report...";
244 this.sumbitReportMenuItem.Click += new System.EventHandler(this.sumbitReportMenuItem_Click);
248 this.MenuItem2.Index = 2;
249 this.MenuItem2.Text = "-";
253 this.exitMenuItem.Index = 3;
254 this.exitMenuItem.Text = "Exit";
255 this.exitMenuItem.Click += new System.EventHandler(this.exitClick);
259 this.viewMenuItem.Index = 1;
260 this.viewMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
261 this.resetMinMaxMenuItem,
266 this.columnsMenuItem});
267 this.viewMenuItem.Text = "View";
269 // resetMinMaxMenuItem
271 this.resetMinMaxMenuItem.Index = 0;
272 this.resetMinMaxMenuItem.Text = "Reset Min/Max";
273 this.resetMinMaxMenuItem.Click += new System.EventHandler(this.resetMinMaxMenuItem_Click);
277 this.MenuItem3.Index = 1;
278 this.MenuItem3.Text = "-";
282 this.hiddenMenuItem.Index = 2;
283 this.hiddenMenuItem.Text = "Show Hidden Sensors";
287 this.plotMenuItem.Index = 3;
288 this.plotMenuItem.Text = "Show Plot";
292 this.MenuItem1.Index = 4;
293 this.MenuItem1.Text = "-";
297 this.columnsMenuItem.Index = 5;
298 this.columnsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
302 this.columnsMenuItem.Text = "Columns";
306 this.valueMenuItem.Index = 0;
307 this.valueMenuItem.Text = "Value";
311 this.minMenuItem.Index = 1;
312 this.minMenuItem.Text = "Min";
316 this.maxMenuItem.Index = 2;
317 this.maxMenuItem.Text = "Max";
321 this.optionsMenuItem.Index = 2;
322 this.optionsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
323 this.startMinMenuItem,
324 this.minTrayMenuItem,
325 this.startupMenuItem,
326 this.separatorMenuItem,
327 this.temperatureUnitsMenuItem,
330 this.optionsMenuItem.Text = "Options";
334 this.startMinMenuItem.Index = 0;
335 this.startMinMenuItem.Text = "Start Minimized";
339 this.minTrayMenuItem.Index = 1;
340 this.minTrayMenuItem.Text = "Minimize To Tray";
344 this.startupMenuItem.Index = 2;
345 this.startupMenuItem.Text = "Run On Windows Startup";
349 this.separatorMenuItem.Index = 3;
350 this.separatorMenuItem.Text = "-";
352 // temperatureUnitsMenuItem
354 this.temperatureUnitsMenuItem.Index = 4;
355 this.temperatureUnitsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
356 this.celciusMenuItem,
357 this.fahrenheitMenuItem});
358 this.temperatureUnitsMenuItem.Text = "Temperature Unit";
362 this.celciusMenuItem.Index = 0;
363 this.celciusMenuItem.Text = "Celcius";
364 this.celciusMenuItem.Click += new System.EventHandler(this.celciusMenuItem_Click);
366 // fahrenheitMenuItem
368 this.fahrenheitMenuItem.Index = 1;
369 this.fahrenheitMenuItem.Text = "Fahrenheit";
370 this.fahrenheitMenuItem.Click += new System.EventHandler(this.fahrenheitMenuItem_Click);
374 this.MenuItem4.Index = 5;
375 this.MenuItem4.Text = "-";
379 this.hddMenuItem.Index = 6;
380 this.hddMenuItem.Text = "Read HDD sensors";
384 this.helpMenuItem.Index = 3;
385 this.helpMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
386 this.aboutMenuItem});
387 this.helpMenuItem.Text = "Help";
391 this.aboutMenuItem.Index = 0;
392 this.aboutMenuItem.Text = "About";
393 this.aboutMenuItem.Click += new System.EventHandler(this.aboutMenuItem_Click);
397 this.splitContainer.Location = new System.Drawing.Point(12, 12);
398 this.splitContainer.Name = "splitContainer";
399 this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
401 // splitContainer.Panel1
403 this.splitContainer.Panel1.Controls.Add(this.treeView);
405 // splitContainer.Panel2
407 this.splitContainer.Panel2.Controls.Add(this.plotPanel);
408 this.splitContainer.Panel2.Cursor = System.Windows.Forms.Cursors.Default;
409 this.splitContainer.Size = new System.Drawing.Size(386, 662);
410 this.splitContainer.SplitterDistance = 488;
411 this.splitContainer.SplitterWidth = 3;
412 this.splitContainer.TabIndex = 3;
416 this.plotPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
417 this.plotPanel.Dock = System.Windows.Forms.DockStyle.Fill;
418 this.plotPanel.Location = new System.Drawing.Point(0, 0);
419 this.plotPanel.Name = "plotPanel";
420 this.plotPanel.Size = new System.Drawing.Size(386, 171);
421 this.plotPanel.TabIndex = 0;
425 this.saveFileDialog.DefaultExt = "txt";
426 this.saveFileDialog.FileName = "OpenHardwareMonitor.Report.txt";
427 this.saveFileDialog.Filter = "Text Documents|*.txt|All Files|*.*";
428 this.saveFileDialog.RestoreDirectory = true;
429 this.saveFileDialog.Title = "Save Report As";
433 this.timer.Interval = 1000;
434 this.timer.Tick += new System.EventHandler(this.timer_Tick);
438 this.Menu = this.mainMenu;
439 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
440 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
441 this.ClientSize = new System.Drawing.Size(410, 686);
442 this.Controls.Add(this.splitContainer);
443 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
444 this.Name = "MainForm";
445 this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
446 this.Text = "Open Hardware Monitor";
447 this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
448 this.splitContainer.Panel1.ResumeLayout(false);
449 this.splitContainer.Panel2.ResumeLayout(false);
450 this.splitContainer.ResumeLayout(false);
451 this.ResumeLayout(false);
457 private Aga.Controls.Tree.TreeViewAdv treeView;
458 private System.Windows.Forms.MainMenu mainMenu;
459 private System.Windows.Forms.MenuItem fileMenuItem;
460 private System.Windows.Forms.MenuItem exitMenuItem;
461 private Aga.Controls.Tree.TreeColumn sensor;
462 private Aga.Controls.Tree.TreeColumn value;
463 private Aga.Controls.Tree.TreeColumn min;
464 private Aga.Controls.Tree.TreeColumn max;
465 private Aga.Controls.Tree.NodeControls.NodeIcon nodeImage;
466 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxText;
467 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxValue;
468 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMin;
469 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMax;
470 private System.Windows.Forms.SplitContainer splitContainer;
471 private PlotPanel plotPanel;
472 private System.Windows.Forms.MenuItem viewMenuItem;
473 private System.Windows.Forms.MenuItem plotMenuItem;
474 private Aga.Controls.Tree.NodeControls.NodeCheckBox nodeCheckBox;
475 private System.Windows.Forms.MenuItem helpMenuItem;
476 private System.Windows.Forms.MenuItem aboutMenuItem;
477 private System.Windows.Forms.MenuItem saveReportMenuItem;
478 private System.Windows.Forms.MenuItem optionsMenuItem;
479 private System.Windows.Forms.MenuItem hddMenuItem;
480 private System.Windows.Forms.MenuItem minTrayMenuItem;
481 private System.Windows.Forms.MenuItem separatorMenuItem;
482 private System.Windows.Forms.ContextMenu sensorContextMenu;
483 private System.Windows.Forms.MenuItem startMinMenuItem;
484 private System.Windows.Forms.MenuItem startupMenuItem;
485 private System.Windows.Forms.SaveFileDialog saveFileDialog;
486 private System.Windows.Forms.Timer timer;
487 private System.Windows.Forms.MenuItem hiddenMenuItem;
488 private System.Windows.Forms.MenuItem MenuItem1;
489 private System.Windows.Forms.MenuItem columnsMenuItem;
490 private System.Windows.Forms.MenuItem valueMenuItem;
491 private System.Windows.Forms.MenuItem minMenuItem;
492 private System.Windows.Forms.MenuItem maxMenuItem;
493 private System.Windows.Forms.MenuItem temperatureUnitsMenuItem;
494 private System.Windows.Forms.MenuItem MenuItem4;
495 private System.Windows.Forms.MenuItem celciusMenuItem;
496 private System.Windows.Forms.MenuItem fahrenheitMenuItem;
497 private System.Windows.Forms.MenuItem sumbitReportMenuItem;
498 private System.Windows.Forms.MenuItem MenuItem2;
499 private System.Windows.Forms.MenuItem resetMinMaxMenuItem;
500 private System.Windows.Forms.MenuItem MenuItem3;