Fixed Issue 129.
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.sensor = new Aga.Controls.Tree.TreeColumn();
66 this.value = new Aga.Controls.Tree.TreeColumn();
67 this.min = new Aga.Controls.Tree.TreeColumn();
68 this.max = new Aga.Controls.Tree.TreeColumn();
69 this.nodeImage = new Aga.Controls.Tree.NodeControls.NodeIcon();
70 this.nodeCheckBox = new Aga.Controls.Tree.NodeControls.NodeCheckBox();
71 this.nodeTextBoxText = new Aga.Controls.Tree.NodeControls.NodeTextBox();
72 this.nodeTextBoxValue = new Aga.Controls.Tree.NodeControls.NodeTextBox();
73 this.nodeTextBoxMin = new Aga.Controls.Tree.NodeControls.NodeTextBox();
74 this.nodeTextBoxMax = new Aga.Controls.Tree.NodeControls.NodeTextBox();
75 this.mainMenu = new System.Windows.Forms.MainMenu(this.components);
76 this.fileMenuItem = new System.Windows.Forms.MenuItem();
77 this.saveReportMenuItem = new System.Windows.Forms.MenuItem();
78 this.sumbitReportMenuItem = new System.Windows.Forms.MenuItem();
79 this.MenuItem2 = new System.Windows.Forms.MenuItem();
80 this.exitMenuItem = new System.Windows.Forms.MenuItem();
81 this.viewMenuItem = new System.Windows.Forms.MenuItem();
82 this.resetMinMaxMenuItem = new System.Windows.Forms.MenuItem();
83 this.MenuItem3 = new System.Windows.Forms.MenuItem();
84 this.hiddenMenuItem = new System.Windows.Forms.MenuItem();
85 this.plotMenuItem = new System.Windows.Forms.MenuItem();
86 this.gadgetMenuItem = 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.minCloseMenuItem = new System.Windows.Forms.MenuItem();
96 this.startupMenuItem = new System.Windows.Forms.MenuItem();
97 this.separatorMenuItem = new System.Windows.Forms.MenuItem();
98 this.temperatureUnitsMenuItem = new System.Windows.Forms.MenuItem();
99 this.celciusMenuItem = new System.Windows.Forms.MenuItem();
100 this.fahrenheitMenuItem = new System.Windows.Forms.MenuItem();
101 this.MenuItem4 = new System.Windows.Forms.MenuItem();
102 this.hddMenuItem = new System.Windows.Forms.MenuItem();
103 this.helpMenuItem = new System.Windows.Forms.MenuItem();
104 this.aboutMenuItem = new System.Windows.Forms.MenuItem();
105 this.sensorContextMenu = new System.Windows.Forms.ContextMenu();
106 this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
107 this.timer = new System.Windows.Forms.Timer(this.components);
108 this.splitContainer = new OpenHardwareMonitor.GUI.SplitContainerAdv();
109 this.treeView = new Aga.Controls.Tree.TreeViewAdv();
110 this.plotPanel = new OpenHardwareMonitor.GUI.PlotPanel();
111 this.splitContainer.Panel1.SuspendLayout();
112 this.splitContainer.Panel2.SuspendLayout();
113 this.splitContainer.SuspendLayout();
114 this.SuspendLayout();
118 this.sensor.Header = "Sensor";
119 this.sensor.SortOrder = System.Windows.Forms.SortOrder.None;
120 this.sensor.TooltipText = null;
121 this.sensor.Width = 250;
125 this.value.Header = "Value";
126 this.value.SortOrder = System.Windows.Forms.SortOrder.None;
127 this.value.TooltipText = null;
128 this.value.Width = 100;
132 this.min.Header = "Min";
133 this.min.SortOrder = System.Windows.Forms.SortOrder.None;
134 this.min.TooltipText = null;
135 this.min.Width = 100;
139 this.max.Header = "Max";
140 this.max.SortOrder = System.Windows.Forms.SortOrder.None;
141 this.max.TooltipText = null;
142 this.max.Width = 100;
146 this.nodeImage.DataPropertyName = "Image";
147 this.nodeImage.LeftMargin = 1;
148 this.nodeImage.ParentColumn = this.sensor;
149 this.nodeImage.ScaleMode = Aga.Controls.Tree.ImageScaleMode.Fit;
153 this.nodeCheckBox.DataPropertyName = "Plot";
154 this.nodeCheckBox.EditEnabled = true;
155 this.nodeCheckBox.LeftMargin = 3;
156 this.nodeCheckBox.ParentColumn = this.sensor;
160 this.nodeTextBoxText.DataPropertyName = "Text";
161 this.nodeTextBoxText.EditEnabled = true;
162 this.nodeTextBoxText.IncrementalSearchEnabled = true;
163 this.nodeTextBoxText.LeftMargin = 3;
164 this.nodeTextBoxText.ParentColumn = this.sensor;
165 this.nodeTextBoxText.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
169 this.nodeTextBoxValue.DataPropertyName = "Value";
170 this.nodeTextBoxValue.IncrementalSearchEnabled = true;
171 this.nodeTextBoxValue.LeftMargin = 3;
172 this.nodeTextBoxValue.ParentColumn = this.value;
173 this.nodeTextBoxValue.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
177 this.nodeTextBoxMin.DataPropertyName = "Min";
178 this.nodeTextBoxMin.IncrementalSearchEnabled = true;
179 this.nodeTextBoxMin.LeftMargin = 3;
180 this.nodeTextBoxMin.ParentColumn = this.min;
181 this.nodeTextBoxMin.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
185 this.nodeTextBoxMax.DataPropertyName = "Max";
186 this.nodeTextBoxMax.IncrementalSearchEnabled = true;
187 this.nodeTextBoxMax.LeftMargin = 3;
188 this.nodeTextBoxMax.ParentColumn = this.max;
189 this.nodeTextBoxMax.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
193 this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
196 this.optionsMenuItem,
201 this.fileMenuItem.Index = 0;
202 this.fileMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
203 this.saveReportMenuItem,
204 this.sumbitReportMenuItem,
207 this.fileMenuItem.Text = "File";
209 // saveReportMenuItem
211 this.saveReportMenuItem.Index = 0;
212 this.saveReportMenuItem.Text = "Save Report...";
213 this.saveReportMenuItem.Click += new System.EventHandler(this.saveReportMenuItem_Click);
215 // sumbitReportMenuItem
217 this.sumbitReportMenuItem.Index = 1;
218 this.sumbitReportMenuItem.Text = "Submit Report...";
219 this.sumbitReportMenuItem.Click += new System.EventHandler(this.sumbitReportMenuItem_Click);
223 this.MenuItem2.Index = 2;
224 this.MenuItem2.Text = "-";
228 this.exitMenuItem.Index = 3;
229 this.exitMenuItem.Text = "Exit";
230 this.exitMenuItem.Click += new System.EventHandler(this.exitClick);
234 this.viewMenuItem.Index = 1;
235 this.viewMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
236 this.resetMinMaxMenuItem,
242 this.columnsMenuItem});
243 this.viewMenuItem.Text = "View";
245 // resetMinMaxMenuItem
247 this.resetMinMaxMenuItem.Index = 0;
248 this.resetMinMaxMenuItem.Text = "Reset Min/Max";
249 this.resetMinMaxMenuItem.Click += new System.EventHandler(this.resetMinMaxMenuItem_Click);
253 this.MenuItem3.Index = 1;
254 this.MenuItem3.Text = "-";
258 this.hiddenMenuItem.Index = 2;
259 this.hiddenMenuItem.Text = "Show Hidden Sensors";
263 this.plotMenuItem.Index = 3;
264 this.plotMenuItem.Text = "Show Plot";
268 this.gadgetMenuItem.Index = 4;
269 this.gadgetMenuItem.Text = "Show Gadget";
273 this.MenuItem1.Index = 5;
274 this.MenuItem1.Text = "-";
278 this.columnsMenuItem.Index = 6;
279 this.columnsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
283 this.columnsMenuItem.Text = "Columns";
287 this.valueMenuItem.Index = 0;
288 this.valueMenuItem.Text = "Value";
292 this.minMenuItem.Index = 1;
293 this.minMenuItem.Text = "Min";
297 this.maxMenuItem.Index = 2;
298 this.maxMenuItem.Text = "Max";
302 this.optionsMenuItem.Index = 2;
303 this.optionsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
304 this.startMinMenuItem,
305 this.minTrayMenuItem,
306 this.minCloseMenuItem,
307 this.startupMenuItem,
308 this.separatorMenuItem,
309 this.temperatureUnitsMenuItem,
312 this.optionsMenuItem.Text = "Options";
316 this.startMinMenuItem.Index = 0;
317 this.startMinMenuItem.Text = "Start Minimized";
321 this.minTrayMenuItem.Index = 1;
322 this.minTrayMenuItem.Text = "Minimize To Tray";
326 this.minCloseMenuItem.Index = 2;
327 this.minCloseMenuItem.Text = "Minimize On Close";
331 this.startupMenuItem.Index = 3;
332 this.startupMenuItem.Text = "Run On Windows Startup";
336 this.separatorMenuItem.Index = 4;
337 this.separatorMenuItem.Text = "-";
339 // temperatureUnitsMenuItem
341 this.temperatureUnitsMenuItem.Index = 5;
342 this.temperatureUnitsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
343 this.celciusMenuItem,
344 this.fahrenheitMenuItem});
345 this.temperatureUnitsMenuItem.Text = "Temperature Unit";
349 this.celciusMenuItem.Index = 0;
350 this.celciusMenuItem.Text = "Celcius";
351 this.celciusMenuItem.Click += new System.EventHandler(this.celciusMenuItem_Click);
353 // fahrenheitMenuItem
355 this.fahrenheitMenuItem.Index = 1;
356 this.fahrenheitMenuItem.Text = "Fahrenheit";
357 this.fahrenheitMenuItem.Click += new System.EventHandler(this.fahrenheitMenuItem_Click);
361 this.MenuItem4.Index = 6;
362 this.MenuItem4.Text = "-";
366 this.hddMenuItem.Index = 7;
367 this.hddMenuItem.Text = "Read HDD sensors";
371 this.helpMenuItem.Index = 3;
372 this.helpMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
373 this.aboutMenuItem});
374 this.helpMenuItem.Text = "Help";
378 this.aboutMenuItem.Index = 0;
379 this.aboutMenuItem.Text = "About";
380 this.aboutMenuItem.Click += new System.EventHandler(this.aboutMenuItem_Click);
384 this.saveFileDialog.DefaultExt = "txt";
385 this.saveFileDialog.FileName = "OpenHardwareMonitor.Report.txt";
386 this.saveFileDialog.Filter = "Text Documents|*.txt|All Files|*.*";
387 this.saveFileDialog.RestoreDirectory = true;
388 this.saveFileDialog.Title = "Save Report As";
392 this.timer.Interval = 1000;
393 this.timer.Tick += new System.EventHandler(this.timer_Tick);
397 this.splitContainer.Border3DStyle = System.Windows.Forms.Border3DStyle.Raised;
398 this.splitContainer.Color = System.Drawing.SystemColors.Control;
399 this.splitContainer.Cursor = System.Windows.Forms.Cursors.Default;
400 this.splitContainer.Location = new System.Drawing.Point(12, 12);
401 this.splitContainer.Name = "splitContainer";
402 this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
404 // splitContainer.Panel1
406 this.splitContainer.Panel1.Controls.Add(this.treeView);
408 // splitContainer.Panel2
410 this.splitContainer.Panel2.Controls.Add(this.plotPanel);
411 this.splitContainer.Panel2.Cursor = System.Windows.Forms.Cursors.Default;
412 this.splitContainer.Size = new System.Drawing.Size(386, 483);
413 this.splitContainer.SplitterDistance = 354;
414 this.splitContainer.SplitterWidth = 5;
415 this.splitContainer.TabIndex = 3;
419 this.treeView.BackColor = System.Drawing.SystemColors.Window;
420 this.treeView.BorderStyle = System.Windows.Forms.BorderStyle.None;
421 this.treeView.Columns.Add(this.sensor);
422 this.treeView.Columns.Add(this.value);
423 this.treeView.Columns.Add(this.min);
424 this.treeView.Columns.Add(this.max);
425 this.treeView.DefaultToolTipProvider = null;
426 this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
427 this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
428 this.treeView.FullRowSelect = true;
429 this.treeView.GridLineStyle = Aga.Controls.Tree.GridLineStyle.Horizontal;
430 this.treeView.LineColor = System.Drawing.SystemColors.ControlDark;
431 this.treeView.Location = new System.Drawing.Point(0, 0);
432 this.treeView.Model = null;
433 this.treeView.Name = "treeView";
434 this.treeView.NodeControls.Add(this.nodeImage);
435 this.treeView.NodeControls.Add(this.nodeCheckBox);
436 this.treeView.NodeControls.Add(this.nodeTextBoxText);
437 this.treeView.NodeControls.Add(this.nodeTextBoxValue);
438 this.treeView.NodeControls.Add(this.nodeTextBoxMin);
439 this.treeView.NodeControls.Add(this.nodeTextBoxMax);
440 this.treeView.RowHeight = 18;
441 this.treeView.SelectedNode = null;
442 this.treeView.Size = new System.Drawing.Size(386, 354);
443 this.treeView.TabIndex = 0;
444 this.treeView.Text = "treeView";
445 this.treeView.UseColumns = true;
446 this.treeView.NodeMouseDoubleClick += new System.EventHandler<Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this.treeView_NodeMouseDoubleClick);
447 this.treeView.Click += new System.EventHandler(this.treeView_Click);
451 this.plotPanel.Dock = System.Windows.Forms.DockStyle.Fill;
452 this.plotPanel.Location = new System.Drawing.Point(0, 0);
453 this.plotPanel.Name = "plotPanel";
454 this.plotPanel.Size = new System.Drawing.Size(386, 124);
455 this.plotPanel.TabIndex = 0;
459 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
460 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
461 this.ClientSize = new System.Drawing.Size(418, 554);
462 this.Controls.Add(this.splitContainer);
463 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
464 this.Menu = this.mainMenu;
465 this.Name = "MainForm";
466 this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
467 this.Text = "Open Hardware Monitor";
468 this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
469 this.Load += new System.EventHandler(this.MainForm_Load);
470 this.splitContainer.Panel1.ResumeLayout(false);
471 this.splitContainer.Panel2.ResumeLayout(false);
472 this.splitContainer.ResumeLayout(false);
473 this.ResumeLayout(false);
479 private Aga.Controls.Tree.TreeViewAdv treeView;
480 private System.Windows.Forms.MainMenu mainMenu;
481 private System.Windows.Forms.MenuItem fileMenuItem;
482 private System.Windows.Forms.MenuItem exitMenuItem;
483 private Aga.Controls.Tree.TreeColumn sensor;
484 private Aga.Controls.Tree.TreeColumn value;
485 private Aga.Controls.Tree.TreeColumn min;
486 private Aga.Controls.Tree.TreeColumn max;
487 private Aga.Controls.Tree.NodeControls.NodeIcon nodeImage;
488 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxText;
489 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxValue;
490 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMin;
491 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMax;
492 private SplitContainerAdv splitContainer;
493 private PlotPanel plotPanel;
494 private System.Windows.Forms.MenuItem viewMenuItem;
495 private System.Windows.Forms.MenuItem plotMenuItem;
496 private Aga.Controls.Tree.NodeControls.NodeCheckBox nodeCheckBox;
497 private System.Windows.Forms.MenuItem helpMenuItem;
498 private System.Windows.Forms.MenuItem aboutMenuItem;
499 private System.Windows.Forms.MenuItem saveReportMenuItem;
500 private System.Windows.Forms.MenuItem optionsMenuItem;
501 private System.Windows.Forms.MenuItem hddMenuItem;
502 private System.Windows.Forms.MenuItem minTrayMenuItem;
503 private System.Windows.Forms.MenuItem separatorMenuItem;
504 private System.Windows.Forms.ContextMenu sensorContextMenu;
505 private System.Windows.Forms.MenuItem startMinMenuItem;
506 private System.Windows.Forms.MenuItem startupMenuItem;
507 private System.Windows.Forms.SaveFileDialog saveFileDialog;
508 private System.Windows.Forms.Timer timer;
509 private System.Windows.Forms.MenuItem hiddenMenuItem;
510 private System.Windows.Forms.MenuItem MenuItem1;
511 private System.Windows.Forms.MenuItem columnsMenuItem;
512 private System.Windows.Forms.MenuItem valueMenuItem;
513 private System.Windows.Forms.MenuItem minMenuItem;
514 private System.Windows.Forms.MenuItem maxMenuItem;
515 private System.Windows.Forms.MenuItem temperatureUnitsMenuItem;
516 private System.Windows.Forms.MenuItem MenuItem4;
517 private System.Windows.Forms.MenuItem celciusMenuItem;
518 private System.Windows.Forms.MenuItem fahrenheitMenuItem;
519 private System.Windows.Forms.MenuItem sumbitReportMenuItem;
520 private System.Windows.Forms.MenuItem MenuItem2;
521 private System.Windows.Forms.MenuItem resetMinMaxMenuItem;
522 private System.Windows.Forms.MenuItem MenuItem3;
523 private System.Windows.Forms.MenuItem gadgetMenuItem;
524 private System.Windows.Forms.MenuItem minCloseMenuItem;