Added initial support for the ITE IT8772E super I/O chip.
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-2011
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.resetMenuItem = new System.Windows.Forms.MenuItem();
81 this.menuItem6 = new System.Windows.Forms.MenuItem();
82 this.exitMenuItem = new System.Windows.Forms.MenuItem();
83 this.viewMenuItem = new System.Windows.Forms.MenuItem();
84 this.resetMinMaxMenuItem = new System.Windows.Forms.MenuItem();
85 this.MenuItem3 = new System.Windows.Forms.MenuItem();
86 this.hiddenMenuItem = new System.Windows.Forms.MenuItem();
87 this.plotMenuItem = new System.Windows.Forms.MenuItem();
88 this.gadgetMenuItem = new System.Windows.Forms.MenuItem();
89 this.MenuItem1 = new System.Windows.Forms.MenuItem();
90 this.columnsMenuItem = new System.Windows.Forms.MenuItem();
91 this.valueMenuItem = new System.Windows.Forms.MenuItem();
92 this.minMenuItem = new System.Windows.Forms.MenuItem();
93 this.maxMenuItem = new System.Windows.Forms.MenuItem();
94 this.optionsMenuItem = new System.Windows.Forms.MenuItem();
95 this.startMinMenuItem = new System.Windows.Forms.MenuItem();
96 this.minTrayMenuItem = new System.Windows.Forms.MenuItem();
97 this.minCloseMenuItem = new System.Windows.Forms.MenuItem();
98 this.startupMenuItem = new System.Windows.Forms.MenuItem();
99 this.separatorMenuItem = new System.Windows.Forms.MenuItem();
100 this.temperatureUnitsMenuItem = new System.Windows.Forms.MenuItem();
101 this.celsiusMenuItem = new System.Windows.Forms.MenuItem();
102 this.fahrenheitMenuItem = new System.Windows.Forms.MenuItem();
103 this.MenuItem4 = new System.Windows.Forms.MenuItem();
104 this.hddMenuItem = new System.Windows.Forms.MenuItem();
105 this.helpMenuItem = new System.Windows.Forms.MenuItem();
106 this.aboutMenuItem = new System.Windows.Forms.MenuItem();
107 this.treeContextMenu = new System.Windows.Forms.ContextMenu();
108 this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
109 this.timer = new System.Windows.Forms.Timer(this.components);
110 this.splitContainer = new OpenHardwareMonitor.GUI.SplitContainerAdv();
111 this.treeView = new Aga.Controls.Tree.TreeViewAdv();
112 this.plotPanel = new OpenHardwareMonitor.GUI.PlotPanel();
113 this.plotLocationMenuItem = new System.Windows.Forms.MenuItem();
114 this.plotWindowMenuItem = new System.Windows.Forms.MenuItem();
115 this.plotBottomMenuItem = new System.Windows.Forms.MenuItem();
116 this.plotRightMenuItem = new System.Windows.Forms.MenuItem();
117 this.splitContainer.Panel1.SuspendLayout();
118 this.splitContainer.Panel2.SuspendLayout();
119 this.splitContainer.SuspendLayout();
120 this.SuspendLayout();
124 this.sensor.Header = "Sensor";
125 this.sensor.SortOrder = System.Windows.Forms.SortOrder.None;
126 this.sensor.TooltipText = null;
127 this.sensor.Width = 250;
131 this.value.Header = "Value";
132 this.value.SortOrder = System.Windows.Forms.SortOrder.None;
133 this.value.TooltipText = null;
134 this.value.Width = 100;
138 this.min.Header = "Min";
139 this.min.SortOrder = System.Windows.Forms.SortOrder.None;
140 this.min.TooltipText = null;
141 this.min.Width = 100;
145 this.max.Header = "Max";
146 this.max.SortOrder = System.Windows.Forms.SortOrder.None;
147 this.max.TooltipText = null;
148 this.max.Width = 100;
152 this.nodeImage.DataPropertyName = "Image";
153 this.nodeImage.LeftMargin = 1;
154 this.nodeImage.ParentColumn = this.sensor;
155 this.nodeImage.ScaleMode = Aga.Controls.Tree.ImageScaleMode.Fit;
159 this.nodeCheckBox.DataPropertyName = "Plot";
160 this.nodeCheckBox.EditEnabled = true;
161 this.nodeCheckBox.LeftMargin = 3;
162 this.nodeCheckBox.ParentColumn = this.sensor;
166 this.nodeTextBoxText.DataPropertyName = "Text";
167 this.nodeTextBoxText.EditEnabled = true;
168 this.nodeTextBoxText.IncrementalSearchEnabled = true;
169 this.nodeTextBoxText.LeftMargin = 3;
170 this.nodeTextBoxText.ParentColumn = this.sensor;
171 this.nodeTextBoxText.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
172 this.nodeTextBoxText.UseCompatibleTextRendering = true;
176 this.nodeTextBoxValue.DataPropertyName = "Value";
177 this.nodeTextBoxValue.IncrementalSearchEnabled = true;
178 this.nodeTextBoxValue.LeftMargin = 3;
179 this.nodeTextBoxValue.ParentColumn = this.value;
180 this.nodeTextBoxValue.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
181 this.nodeTextBoxValue.UseCompatibleTextRendering = true;
185 this.nodeTextBoxMin.DataPropertyName = "Min";
186 this.nodeTextBoxMin.IncrementalSearchEnabled = true;
187 this.nodeTextBoxMin.LeftMargin = 3;
188 this.nodeTextBoxMin.ParentColumn = this.min;
189 this.nodeTextBoxMin.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
190 this.nodeTextBoxMin.UseCompatibleTextRendering = true;
194 this.nodeTextBoxMax.DataPropertyName = "Max";
195 this.nodeTextBoxMax.IncrementalSearchEnabled = true;
196 this.nodeTextBoxMax.LeftMargin = 3;
197 this.nodeTextBoxMax.ParentColumn = this.max;
198 this.nodeTextBoxMax.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
199 this.nodeTextBoxMax.UseCompatibleTextRendering = true;
203 this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
206 this.optionsMenuItem,
211 this.fileMenuItem.Index = 0;
212 this.fileMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
213 this.saveReportMenuItem,
214 this.sumbitReportMenuItem,
219 this.fileMenuItem.Text = "File";
221 // saveReportMenuItem
223 this.saveReportMenuItem.Index = 0;
224 this.saveReportMenuItem.Text = "Save Report...";
225 this.saveReportMenuItem.Click += new System.EventHandler(this.saveReportMenuItem_Click);
227 // sumbitReportMenuItem
229 this.sumbitReportMenuItem.Index = 1;
230 this.sumbitReportMenuItem.Text = "Submit Report...";
231 this.sumbitReportMenuItem.Click += new System.EventHandler(this.sumbitReportMenuItem_Click);
235 this.MenuItem2.Index = 2;
236 this.MenuItem2.Text = "-";
240 this.resetMenuItem.Index = 3;
241 this.resetMenuItem.Text = "Reset";
242 this.resetMenuItem.Click += new System.EventHandler(this.resetClick);
246 this.menuItem6.Index = 4;
247 this.menuItem6.Text = "-";
251 this.exitMenuItem.Index = 5;
252 this.exitMenuItem.Text = "Exit";
253 this.exitMenuItem.Click += new System.EventHandler(this.exitClick);
257 this.viewMenuItem.Index = 1;
258 this.viewMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
259 this.resetMinMaxMenuItem,
265 this.columnsMenuItem});
266 this.viewMenuItem.Text = "View";
268 // resetMinMaxMenuItem
270 this.resetMinMaxMenuItem.Index = 0;
271 this.resetMinMaxMenuItem.Text = "Reset Min/Max";
272 this.resetMinMaxMenuItem.Click += new System.EventHandler(this.resetMinMaxMenuItem_Click);
276 this.MenuItem3.Index = 1;
277 this.MenuItem3.Text = "-";
281 this.hiddenMenuItem.Index = 2;
282 this.hiddenMenuItem.Text = "Show Hidden Sensors";
286 this.plotMenuItem.Index = 3;
287 this.plotMenuItem.Text = "Show Plot";
291 this.gadgetMenuItem.Index = 4;
292 this.gadgetMenuItem.Text = "Show Gadget";
296 this.MenuItem1.Index = 5;
297 this.MenuItem1.Text = "-";
301 this.columnsMenuItem.Index = 6;
302 this.columnsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
306 this.columnsMenuItem.Text = "Columns";
310 this.valueMenuItem.Index = 0;
311 this.valueMenuItem.Text = "Value";
315 this.minMenuItem.Index = 1;
316 this.minMenuItem.Text = "Min";
320 this.maxMenuItem.Index = 2;
321 this.maxMenuItem.Text = "Max";
325 this.optionsMenuItem.Index = 2;
326 this.optionsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
327 this.startMinMenuItem,
328 this.minTrayMenuItem,
329 this.minCloseMenuItem,
330 this.startupMenuItem,
331 this.separatorMenuItem,
332 this.temperatureUnitsMenuItem,
333 this.plotLocationMenuItem,
336 this.optionsMenuItem.Text = "Options";
340 this.startMinMenuItem.Index = 0;
341 this.startMinMenuItem.Text = "Start Minimized";
345 this.minTrayMenuItem.Index = 1;
346 this.minTrayMenuItem.Text = "Minimize To Tray";
350 this.minCloseMenuItem.Index = 2;
351 this.minCloseMenuItem.Text = "Minimize On Close";
355 this.startupMenuItem.Index = 3;
356 this.startupMenuItem.Text = "Run On Windows Startup";
360 this.separatorMenuItem.Index = 4;
361 this.separatorMenuItem.Text = "-";
363 // temperatureUnitsMenuItem
365 this.temperatureUnitsMenuItem.Index = 5;
366 this.temperatureUnitsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
367 this.celsiusMenuItem,
368 this.fahrenheitMenuItem});
369 this.temperatureUnitsMenuItem.Text = "Temperature Unit";
373 this.celsiusMenuItem.Index = 0;
374 this.celsiusMenuItem.Text = "Celsius";
375 this.celsiusMenuItem.Click += new System.EventHandler(this.celsiusMenuItem_Click);
377 // fahrenheitMenuItem
379 this.fahrenheitMenuItem.Index = 1;
380 this.fahrenheitMenuItem.Text = "Fahrenheit";
381 this.fahrenheitMenuItem.Click += new System.EventHandler(this.fahrenheitMenuItem_Click);
385 this.MenuItem4.Index = 7;
386 this.MenuItem4.Text = "-";
390 this.hddMenuItem.Index = 8;
391 this.hddMenuItem.Text = "Read HDD sensors";
395 this.helpMenuItem.Index = 3;
396 this.helpMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
397 this.aboutMenuItem});
398 this.helpMenuItem.Text = "Help";
402 this.aboutMenuItem.Index = 0;
403 this.aboutMenuItem.Text = "About";
404 this.aboutMenuItem.Click += new System.EventHandler(this.aboutMenuItem_Click);
408 this.saveFileDialog.DefaultExt = "txt";
409 this.saveFileDialog.FileName = "OpenHardwareMonitor.Report.txt";
410 this.saveFileDialog.Filter = "Text Documents|*.txt|All Files|*.*";
411 this.saveFileDialog.RestoreDirectory = true;
412 this.saveFileDialog.Title = "Save Report As";
416 this.timer.Interval = 1000;
417 this.timer.Tick += new System.EventHandler(this.timer_Tick);
421 this.splitContainer.Border3DStyle = System.Windows.Forms.Border3DStyle.Raised;
422 this.splitContainer.Color = System.Drawing.SystemColors.Control;
423 this.splitContainer.Cursor = System.Windows.Forms.Cursors.Default;
424 this.splitContainer.Location = new System.Drawing.Point(12, 12);
425 this.splitContainer.Name = "splitContainer";
426 this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
428 // splitContainer.Panel1
430 this.splitContainer.Panel1.Controls.Add(this.treeView);
432 // splitContainer.Panel2
434 this.splitContainer.Panel2.Controls.Add(this.plotPanel);
435 this.splitContainer.Panel2.Cursor = System.Windows.Forms.Cursors.Default;
436 this.splitContainer.Size = new System.Drawing.Size(386, 483);
437 this.splitContainer.SplitterDistance = 354;
438 this.splitContainer.SplitterWidth = 5;
439 this.splitContainer.TabIndex = 3;
443 this.treeView.BackColor = System.Drawing.SystemColors.Window;
444 this.treeView.BorderStyle = System.Windows.Forms.BorderStyle.None;
445 this.treeView.Columns.Add(this.sensor);
446 this.treeView.Columns.Add(this.value);
447 this.treeView.Columns.Add(this.min);
448 this.treeView.Columns.Add(this.max);
449 this.treeView.DefaultToolTipProvider = null;
450 this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
451 this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
452 this.treeView.FullRowSelect = true;
453 this.treeView.GridLineStyle = Aga.Controls.Tree.GridLineStyle.Horizontal;
454 this.treeView.LineColor = System.Drawing.SystemColors.ControlDark;
455 this.treeView.Location = new System.Drawing.Point(0, 0);
456 this.treeView.Model = null;
457 this.treeView.Name = "treeView";
458 this.treeView.NodeControls.Add(this.nodeImage);
459 this.treeView.NodeControls.Add(this.nodeCheckBox);
460 this.treeView.NodeControls.Add(this.nodeTextBoxText);
461 this.treeView.NodeControls.Add(this.nodeTextBoxValue);
462 this.treeView.NodeControls.Add(this.nodeTextBoxMin);
463 this.treeView.NodeControls.Add(this.nodeTextBoxMax);
464 this.treeView.SelectedNode = null;
465 this.treeView.Size = new System.Drawing.Size(386, 354);
466 this.treeView.TabIndex = 0;
467 this.treeView.Text = "treeView";
468 this.treeView.UseColumns = true;
469 this.treeView.NodeMouseDoubleClick += new System.EventHandler<Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this.treeView_NodeMouseDoubleClick);
470 this.treeView.Click += new System.EventHandler(this.treeView_Click);
471 this.treeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseDown);
472 this.treeView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseMove);
473 this.treeView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseUp);
477 this.plotPanel.Dock = System.Windows.Forms.DockStyle.Fill;
478 this.plotPanel.Location = new System.Drawing.Point(0, 0);
479 this.plotPanel.Name = "plotPanel";
480 this.plotPanel.Size = new System.Drawing.Size(386, 124);
481 this.plotPanel.TabIndex = 0;
483 // plotLocationMenuItem
485 this.plotLocationMenuItem.Index = 6;
486 this.plotLocationMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
487 this.plotWindowMenuItem,
488 this.plotBottomMenuItem,
489 this.plotRightMenuItem});
490 this.plotLocationMenuItem.Text = "Plot Location";
492 // plotWindowMenuItem
494 this.plotWindowMenuItem.Index = 0;
495 this.plotWindowMenuItem.Text = "Window";
497 // plotBottomMenuItem
499 this.plotBottomMenuItem.Index = 1;
500 this.plotBottomMenuItem.Text = "Bottom";
504 this.plotRightMenuItem.Index = 2;
505 this.plotRightMenuItem.Text = "Right";
509 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
510 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
511 this.ClientSize = new System.Drawing.Size(418, 554);
512 this.Controls.Add(this.splitContainer);
513 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
514 this.Menu = this.mainMenu;
515 this.Name = "MainForm";
516 this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
517 this.Text = "Open Hardware Monitor";
518 this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
519 this.Load += new System.EventHandler(this.MainForm_Load);
520 this.ResizeEnd += new System.EventHandler(this.MainForm_MoveOrResize);
521 this.Move += new System.EventHandler(this.MainForm_MoveOrResize);
522 this.splitContainer.Panel1.ResumeLayout(false);
523 this.splitContainer.Panel2.ResumeLayout(false);
524 this.splitContainer.ResumeLayout(false);
525 this.ResumeLayout(false);
531 private Aga.Controls.Tree.TreeViewAdv treeView;
532 private System.Windows.Forms.MainMenu mainMenu;
533 private System.Windows.Forms.MenuItem fileMenuItem;
534 private System.Windows.Forms.MenuItem exitMenuItem;
535 private Aga.Controls.Tree.TreeColumn sensor;
536 private Aga.Controls.Tree.TreeColumn value;
537 private Aga.Controls.Tree.TreeColumn min;
538 private Aga.Controls.Tree.TreeColumn max;
539 private Aga.Controls.Tree.NodeControls.NodeIcon nodeImage;
540 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxText;
541 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxValue;
542 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMin;
543 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMax;
544 private SplitContainerAdv splitContainer;
545 private PlotPanel plotPanel;
546 private System.Windows.Forms.MenuItem viewMenuItem;
547 private System.Windows.Forms.MenuItem plotMenuItem;
548 private Aga.Controls.Tree.NodeControls.NodeCheckBox nodeCheckBox;
549 private System.Windows.Forms.MenuItem helpMenuItem;
550 private System.Windows.Forms.MenuItem aboutMenuItem;
551 private System.Windows.Forms.MenuItem saveReportMenuItem;
552 private System.Windows.Forms.MenuItem optionsMenuItem;
553 private System.Windows.Forms.MenuItem hddMenuItem;
554 private System.Windows.Forms.MenuItem minTrayMenuItem;
555 private System.Windows.Forms.MenuItem separatorMenuItem;
556 private System.Windows.Forms.ContextMenu treeContextMenu;
557 private System.Windows.Forms.MenuItem startMinMenuItem;
558 private System.Windows.Forms.MenuItem startupMenuItem;
559 private System.Windows.Forms.SaveFileDialog saveFileDialog;
560 private System.Windows.Forms.Timer timer;
561 private System.Windows.Forms.MenuItem hiddenMenuItem;
562 private System.Windows.Forms.MenuItem MenuItem1;
563 private System.Windows.Forms.MenuItem columnsMenuItem;
564 private System.Windows.Forms.MenuItem valueMenuItem;
565 private System.Windows.Forms.MenuItem minMenuItem;
566 private System.Windows.Forms.MenuItem maxMenuItem;
567 private System.Windows.Forms.MenuItem temperatureUnitsMenuItem;
568 private System.Windows.Forms.MenuItem MenuItem4;
569 private System.Windows.Forms.MenuItem celsiusMenuItem;
570 private System.Windows.Forms.MenuItem fahrenheitMenuItem;
571 private System.Windows.Forms.MenuItem sumbitReportMenuItem;
572 private System.Windows.Forms.MenuItem MenuItem2;
573 private System.Windows.Forms.MenuItem resetMinMaxMenuItem;
574 private System.Windows.Forms.MenuItem MenuItem3;
575 private System.Windows.Forms.MenuItem gadgetMenuItem;
576 private System.Windows.Forms.MenuItem minCloseMenuItem;
577 private System.Windows.Forms.MenuItem resetMenuItem;
578 private System.Windows.Forms.MenuItem menuItem6;
579 private System.Windows.Forms.MenuItem plotLocationMenuItem;
580 private System.Windows.Forms.MenuItem plotWindowMenuItem;
581 private System.Windows.Forms.MenuItem plotBottomMenuItem;
582 private System.Windows.Forms.MenuItem plotRightMenuItem;