2010-01-26 22:37:48 +00:00
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
|
|
|
|
|
|
The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
|
1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
|
|
http://www.mozilla.org/MPL/
|
|
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
|
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
|
for the specific language governing rights and limitations under the License.
|
|
|
|
|
|
|
|
|
|
The Original Code is the Open Hardware Monitor code.
|
|
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is
|
|
|
|
|
Michael Möller <m.moeller@gmx.ch>.
|
|
|
|
|
Portions created by the Initial Developer are Copyright (C) 2009-2010
|
|
|
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
Contributor(s):
|
|
|
|
|
|
|
|
|
|
Alternatively, the contents of this file may be used under the terms of
|
|
|
|
|
either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
|
the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
|
in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
|
of those above. If you wish to allow use of your version of this file only
|
|
|
|
|
under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
|
use your version of this file under the terms of the MPL, indicate your
|
|
|
|
|
decision by deleting the provisions above and replace them with the notice
|
|
|
|
|
and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
|
the provisions above, a recipient may use your version of this file under
|
|
|
|
|
the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
namespace OpenHardwareMonitor.GUI {
|
|
|
|
|
partial class MainForm {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing) {
|
|
|
|
|
if (disposing && (components != null)) {
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent() {
|
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
|
|
|
|
this.treeView = new Aga.Controls.Tree.TreeViewAdv();
|
|
|
|
|
this.sensor = new Aga.Controls.Tree.TreeColumn();
|
|
|
|
|
this.value = new Aga.Controls.Tree.TreeColumn();
|
|
|
|
|
this.min = new Aga.Controls.Tree.TreeColumn();
|
|
|
|
|
this.max = new Aga.Controls.Tree.TreeColumn();
|
|
|
|
|
this.limit = new Aga.Controls.Tree.TreeColumn();
|
|
|
|
|
this.nodeImage = new Aga.Controls.Tree.NodeControls.NodeIcon();
|
|
|
|
|
this.nodeCheckBox = new Aga.Controls.Tree.NodeControls.NodeCheckBox();
|
|
|
|
|
this.nodeTextBoxText = new Aga.Controls.Tree.NodeControls.NodeTextBox();
|
|
|
|
|
this.nodeTextBoxValue = new Aga.Controls.Tree.NodeControls.NodeTextBox();
|
|
|
|
|
this.nodeTextBoxMin = new Aga.Controls.Tree.NodeControls.NodeTextBox();
|
|
|
|
|
this.nodeTextBoxMax = new Aga.Controls.Tree.NodeControls.NodeTextBox();
|
|
|
|
|
this.nodeTextBoxLimit = new Aga.Controls.Tree.NodeControls.NodeTextBox();
|
|
|
|
|
this.menuStrip = new System.Windows.Forms.MenuStrip();
|
|
|
|
|
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.saveReportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2010-05-14 22:30:06 +00:00
|
|
|
|
this.hiddenMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.plotMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2010-05-14 22:30:06 +00:00
|
|
|
|
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
|
this.columnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.valueMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.minMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.maxMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.limitMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2010-02-19 19:50:07 +00:00
|
|
|
|
this.startMinMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2010-02-07 16:37:15 +00:00
|
|
|
|
this.minTrayMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2010-03-26 20:58:10 +00:00
|
|
|
|
this.startupMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
2010-05-22 15:51:59 +00:00
|
|
|
|
this.separatorMenuItem = new System.Windows.Forms.ToolStripSeparator();
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.temperatureUnitsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.celciusToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.fahrenheitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator();
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.hddMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.splitContainer = new System.Windows.Forms.SplitContainer();
|
2010-02-27 15:55:17 +00:00
|
|
|
|
this.plotPanel = new OpenHardwareMonitor.GUI.PlotPanel();
|
2010-02-12 00:36:56 +00:00
|
|
|
|
this.sensorContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
2010-03-27 12:57:09 +00:00
|
|
|
|
this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
|
2010-04-02 16:05:07 +00:00
|
|
|
|
this.timer = new System.Windows.Forms.Timer(this.components);
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.menuStrip.SuspendLayout();
|
|
|
|
|
this.splitContainer.Panel1.SuspendLayout();
|
|
|
|
|
this.splitContainer.Panel2.SuspendLayout();
|
|
|
|
|
this.splitContainer.SuspendLayout();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// treeView
|
|
|
|
|
//
|
|
|
|
|
this.treeView.BackColor = System.Drawing.SystemColors.Window;
|
|
|
|
|
this.treeView.Columns.Add(this.sensor);
|
|
|
|
|
this.treeView.Columns.Add(this.value);
|
|
|
|
|
this.treeView.Columns.Add(this.min);
|
|
|
|
|
this.treeView.Columns.Add(this.max);
|
|
|
|
|
this.treeView.Columns.Add(this.limit);
|
|
|
|
|
this.treeView.DefaultToolTipProvider = null;
|
|
|
|
|
this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.treeView.FullRowSelect = true;
|
|
|
|
|
this.treeView.GridLineStyle = Aga.Controls.Tree.GridLineStyle.Horizontal;
|
|
|
|
|
this.treeView.LineColor = System.Drawing.SystemColors.ControlDark;
|
|
|
|
|
this.treeView.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.treeView.Model = null;
|
|
|
|
|
this.treeView.Name = "treeView";
|
|
|
|
|
this.treeView.NodeControls.Add(this.nodeImage);
|
|
|
|
|
this.treeView.NodeControls.Add(this.nodeCheckBox);
|
|
|
|
|
this.treeView.NodeControls.Add(this.nodeTextBoxText);
|
|
|
|
|
this.treeView.NodeControls.Add(this.nodeTextBoxValue);
|
|
|
|
|
this.treeView.NodeControls.Add(this.nodeTextBoxMin);
|
|
|
|
|
this.treeView.NodeControls.Add(this.nodeTextBoxMax);
|
|
|
|
|
this.treeView.NodeControls.Add(this.nodeTextBoxLimit);
|
|
|
|
|
this.treeView.RowHeight = 18;
|
|
|
|
|
this.treeView.SelectedNode = null;
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.treeView.Size = new System.Drawing.Size(410, 488);
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.treeView.TabIndex = 0;
|
|
|
|
|
this.treeView.Text = "treeView";
|
|
|
|
|
this.treeView.UseColumns = true;
|
2010-02-27 15:55:17 +00:00
|
|
|
|
this.treeView.NodeMouseDoubleClick += new System.EventHandler<Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this.treeView_NodeMouseDoubleClick);
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.treeView.Click += new System.EventHandler(this.treeView_Click);
|
|
|
|
|
//
|
|
|
|
|
// sensor
|
|
|
|
|
//
|
|
|
|
|
this.sensor.Header = "Sensor";
|
|
|
|
|
this.sensor.SortOrder = System.Windows.Forms.SortOrder.None;
|
|
|
|
|
this.sensor.TooltipText = null;
|
|
|
|
|
this.sensor.Width = 250;
|
|
|
|
|
//
|
|
|
|
|
// value
|
|
|
|
|
//
|
|
|
|
|
this.value.Header = "Value";
|
|
|
|
|
this.value.SortOrder = System.Windows.Forms.SortOrder.None;
|
|
|
|
|
this.value.TooltipText = null;
|
|
|
|
|
this.value.Width = 100;
|
|
|
|
|
//
|
|
|
|
|
// min
|
|
|
|
|
//
|
|
|
|
|
this.min.Header = "Min";
|
|
|
|
|
this.min.SortOrder = System.Windows.Forms.SortOrder.None;
|
|
|
|
|
this.min.TooltipText = null;
|
|
|
|
|
this.min.Width = 100;
|
|
|
|
|
//
|
|
|
|
|
// max
|
|
|
|
|
//
|
|
|
|
|
this.max.Header = "Max";
|
|
|
|
|
this.max.SortOrder = System.Windows.Forms.SortOrder.None;
|
|
|
|
|
this.max.TooltipText = null;
|
|
|
|
|
this.max.Width = 100;
|
|
|
|
|
//
|
|
|
|
|
// limit
|
|
|
|
|
//
|
|
|
|
|
this.limit.Header = "Limit";
|
|
|
|
|
this.limit.SortOrder = System.Windows.Forms.SortOrder.None;
|
|
|
|
|
this.limit.TooltipText = null;
|
|
|
|
|
this.limit.Width = 100;
|
|
|
|
|
//
|
|
|
|
|
// nodeImage
|
|
|
|
|
//
|
|
|
|
|
this.nodeImage.DataPropertyName = "Image";
|
|
|
|
|
this.nodeImage.LeftMargin = 1;
|
|
|
|
|
this.nodeImage.ParentColumn = this.sensor;
|
|
|
|
|
this.nodeImage.ScaleMode = Aga.Controls.Tree.ImageScaleMode.Fit;
|
|
|
|
|
//
|
|
|
|
|
// nodeCheckBox
|
|
|
|
|
//
|
|
|
|
|
this.nodeCheckBox.DataPropertyName = "Plot";
|
|
|
|
|
this.nodeCheckBox.EditEnabled = true;
|
|
|
|
|
this.nodeCheckBox.LeftMargin = 3;
|
|
|
|
|
this.nodeCheckBox.ParentColumn = this.sensor;
|
|
|
|
|
//
|
|
|
|
|
// nodeTextBoxText
|
|
|
|
|
//
|
|
|
|
|
this.nodeTextBoxText.DataPropertyName = "Text";
|
|
|
|
|
this.nodeTextBoxText.EditEnabled = true;
|
|
|
|
|
this.nodeTextBoxText.IncrementalSearchEnabled = true;
|
|
|
|
|
this.nodeTextBoxText.LeftMargin = 3;
|
|
|
|
|
this.nodeTextBoxText.ParentColumn = this.sensor;
|
|
|
|
|
//
|
|
|
|
|
// nodeTextBoxValue
|
|
|
|
|
//
|
|
|
|
|
this.nodeTextBoxValue.DataPropertyName = "Value";
|
|
|
|
|
this.nodeTextBoxValue.IncrementalSearchEnabled = true;
|
|
|
|
|
this.nodeTextBoxValue.LeftMargin = 3;
|
|
|
|
|
this.nodeTextBoxValue.ParentColumn = this.value;
|
|
|
|
|
//
|
|
|
|
|
// nodeTextBoxMin
|
|
|
|
|
//
|
|
|
|
|
this.nodeTextBoxMin.DataPropertyName = "Min";
|
|
|
|
|
this.nodeTextBoxMin.IncrementalSearchEnabled = true;
|
|
|
|
|
this.nodeTextBoxMin.LeftMargin = 3;
|
|
|
|
|
this.nodeTextBoxMin.ParentColumn = this.min;
|
|
|
|
|
//
|
|
|
|
|
// nodeTextBoxMax
|
|
|
|
|
//
|
|
|
|
|
this.nodeTextBoxMax.DataPropertyName = "Max";
|
|
|
|
|
this.nodeTextBoxMax.IncrementalSearchEnabled = true;
|
|
|
|
|
this.nodeTextBoxMax.LeftMargin = 3;
|
|
|
|
|
this.nodeTextBoxMax.ParentColumn = this.max;
|
|
|
|
|
//
|
|
|
|
|
// nodeTextBoxLimit
|
|
|
|
|
//
|
|
|
|
|
this.nodeTextBoxLimit.DataPropertyName = "Limit";
|
|
|
|
|
this.nodeTextBoxLimit.EditEnabled = true;
|
|
|
|
|
this.nodeTextBoxLimit.IncrementalSearchEnabled = true;
|
|
|
|
|
this.nodeTextBoxLimit.LeftMargin = 3;
|
|
|
|
|
this.nodeTextBoxLimit.ParentColumn = this.limit;
|
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
|
|
|
|
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.fileToolStripMenuItem,
|
|
|
|
|
this.viewToolStripMenuItem,
|
|
|
|
|
this.optionsToolStripMenuItem,
|
|
|
|
|
this.helpToolStripMenuItem});
|
|
|
|
|
this.menuStrip.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.menuStrip.Name = "menuStrip";
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.menuStrip.Size = new System.Drawing.Size(410, 24);
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.menuStrip.TabIndex = 1;
|
|
|
|
|
this.menuStrip.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// fileToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.saveReportToolStripMenuItem,
|
|
|
|
|
this.exitToolStripMenuItem});
|
|
|
|
|
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
|
|
|
|
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
|
|
|
|
this.fileToolStripMenuItem.Text = "File";
|
|
|
|
|
//
|
|
|
|
|
// saveReportToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.saveReportToolStripMenuItem.Name = "saveReportToolStripMenuItem";
|
2010-04-02 16:05:07 +00:00
|
|
|
|
this.saveReportToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
|
2010-03-27 12:57:09 +00:00
|
|
|
|
this.saveReportToolStripMenuItem.Text = "Save Report...";
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.saveReportToolStripMenuItem.Click += new System.EventHandler(this.saveReportToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// exitToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
2010-04-02 16:05:07 +00:00
|
|
|
|
this.exitToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.exitToolStripMenuItem.Text = "Exit";
|
2010-06-05 18:59:54 +00:00
|
|
|
|
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitClick);
|
2010-01-26 22:37:48 +00:00
|
|
|
|
//
|
|
|
|
|
// viewToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
2010-05-14 22:30:06 +00:00
|
|
|
|
this.hiddenMenuItem,
|
|
|
|
|
this.plotMenuItem,
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.toolStripMenuItem1,
|
2010-05-14 22:30:06 +00:00
|
|
|
|
this.columnsToolStripMenuItem});
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
|
|
|
|
|
this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
|
|
|
|
|
this.viewToolStripMenuItem.Text = "View";
|
|
|
|
|
//
|
2010-05-14 22:30:06 +00:00
|
|
|
|
// hiddenMenuItem
|
2010-02-23 19:45:40 +00:00
|
|
|
|
//
|
2010-05-14 22:30:06 +00:00
|
|
|
|
this.hiddenMenuItem.CheckOnClick = true;
|
|
|
|
|
this.hiddenMenuItem.Name = "hiddenMenuItem";
|
|
|
|
|
this.hiddenMenuItem.Size = new System.Drawing.Size(188, 22);
|
|
|
|
|
this.hiddenMenuItem.Text = "Show Hidden Sensors";
|
|
|
|
|
this.hiddenMenuItem.CheckedChanged += new System.EventHandler(this.hiddenSensorsMenuItem_CheckedChanged);
|
2010-01-26 22:37:48 +00:00
|
|
|
|
//
|
|
|
|
|
// plotMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.plotMenuItem.Checked = true;
|
|
|
|
|
this.plotMenuItem.CheckOnClick = true;
|
|
|
|
|
this.plotMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
|
|
this.plotMenuItem.Name = "plotMenuItem";
|
2010-05-14 22:30:06 +00:00
|
|
|
|
this.plotMenuItem.Size = new System.Drawing.Size(188, 22);
|
|
|
|
|
this.plotMenuItem.Text = "Show Plot";
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.plotMenuItem.CheckedChanged += new System.EventHandler(this.plotToolStripMenuItem_CheckedChanged);
|
|
|
|
|
//
|
2010-05-14 22:30:06 +00:00
|
|
|
|
// toolStripMenuItem1
|
|
|
|
|
//
|
|
|
|
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
|
|
|
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(185, 6);
|
|
|
|
|
//
|
|
|
|
|
// columnsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.columnsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.valueMenuItem,
|
|
|
|
|
this.minMenuItem,
|
|
|
|
|
this.maxMenuItem,
|
|
|
|
|
this.limitMenuItem});
|
|
|
|
|
this.columnsToolStripMenuItem.Name = "columnsToolStripMenuItem";
|
|
|
|
|
this.columnsToolStripMenuItem.Size = new System.Drawing.Size(188, 22);
|
|
|
|
|
this.columnsToolStripMenuItem.Text = "Columns";
|
|
|
|
|
//
|
|
|
|
|
// valueMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.valueMenuItem.Checked = true;
|
|
|
|
|
this.valueMenuItem.CheckOnClick = true;
|
|
|
|
|
this.valueMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
|
|
this.valueMenuItem.Name = "valueMenuItem";
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.valueMenuItem.Size = new System.Drawing.Size(103, 22);
|
2010-05-14 22:30:06 +00:00
|
|
|
|
this.valueMenuItem.Text = "Value";
|
|
|
|
|
this.valueMenuItem.CheckedChanged += new System.EventHandler(this.valueMenuItem_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// minMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.minMenuItem.Checked = true;
|
|
|
|
|
this.minMenuItem.CheckOnClick = true;
|
|
|
|
|
this.minMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
|
|
this.minMenuItem.Name = "minMenuItem";
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.minMenuItem.Size = new System.Drawing.Size(103, 22);
|
2010-05-14 22:30:06 +00:00
|
|
|
|
this.minMenuItem.Text = "Min";
|
|
|
|
|
this.minMenuItem.CheckedChanged += new System.EventHandler(this.minMenuItem_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// maxMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.maxMenuItem.Checked = true;
|
|
|
|
|
this.maxMenuItem.CheckOnClick = true;
|
|
|
|
|
this.maxMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
|
|
this.maxMenuItem.Name = "maxMenuItem";
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.maxMenuItem.Size = new System.Drawing.Size(103, 22);
|
2010-05-14 22:30:06 +00:00
|
|
|
|
this.maxMenuItem.Text = "Max";
|
|
|
|
|
this.maxMenuItem.CheckedChanged += new System.EventHandler(this.maxMenuItem_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// limitMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.limitMenuItem.Checked = true;
|
|
|
|
|
this.limitMenuItem.CheckOnClick = true;
|
|
|
|
|
this.limitMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
|
|
this.limitMenuItem.Name = "limitMenuItem";
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.limitMenuItem.Size = new System.Drawing.Size(103, 22);
|
2010-05-14 22:30:06 +00:00
|
|
|
|
this.limitMenuItem.Text = "Limit";
|
|
|
|
|
this.limitMenuItem.CheckedChanged += new System.EventHandler(this.limitMenuItem_CheckedChanged);
|
|
|
|
|
//
|
2010-01-26 22:37:48 +00:00
|
|
|
|
// optionsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
2010-02-19 19:50:07 +00:00
|
|
|
|
this.startMinMenuItem,
|
2010-02-07 16:37:15 +00:00
|
|
|
|
this.minTrayMenuItem,
|
2010-03-26 20:58:10 +00:00
|
|
|
|
this.startupMenuItem,
|
2010-05-22 15:51:59 +00:00
|
|
|
|
this.separatorMenuItem,
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.temperatureUnitsToolStripMenuItem,
|
|
|
|
|
this.toolStripMenuItem4,
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.hddMenuItem});
|
|
|
|
|
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
|
|
|
|
|
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
|
|
|
|
|
this.optionsToolStripMenuItem.Text = "Options";
|
|
|
|
|
//
|
2010-02-21 18:10:30 +00:00
|
|
|
|
// startMinMenuItem
|
2010-02-19 19:50:07 +00:00
|
|
|
|
//
|
|
|
|
|
this.startMinMenuItem.CheckOnClick = true;
|
2010-02-21 18:10:30 +00:00
|
|
|
|
this.startMinMenuItem.Name = "startMinMenuItem";
|
2010-03-26 20:58:10 +00:00
|
|
|
|
this.startMinMenuItem.Size = new System.Drawing.Size(207, 22);
|
2010-02-19 19:50:07 +00:00
|
|
|
|
this.startMinMenuItem.Text = "Start Minimized";
|
|
|
|
|
//
|
2010-02-07 16:37:15 +00:00
|
|
|
|
// minTrayMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.minTrayMenuItem.CheckOnClick = true;
|
|
|
|
|
this.minTrayMenuItem.Name = "minTrayMenuItem";
|
2010-03-26 20:58:10 +00:00
|
|
|
|
this.minTrayMenuItem.Size = new System.Drawing.Size(207, 22);
|
2010-02-07 16:37:15 +00:00
|
|
|
|
this.minTrayMenuItem.Text = "Minimize To Tray";
|
2010-03-26 20:58:10 +00:00
|
|
|
|
this.minTrayMenuItem.CheckedChanged += new System.EventHandler(this.minTrayMenuItem_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// startupMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.startupMenuItem.CheckOnClick = true;
|
|
|
|
|
this.startupMenuItem.Name = "startupMenuItem";
|
|
|
|
|
this.startupMenuItem.Size = new System.Drawing.Size(207, 22);
|
|
|
|
|
this.startupMenuItem.Text = "Run On Windows Startup";
|
|
|
|
|
this.startupMenuItem.CheckedChanged += new System.EventHandler(this.runOnWindowsStartupToolStripMenuItem_CheckedChanged);
|
2010-02-07 16:37:15 +00:00
|
|
|
|
//
|
2010-06-05 18:59:54 +00:00
|
|
|
|
// separatorMenuItem
|
2010-02-07 16:37:15 +00:00
|
|
|
|
//
|
2010-06-05 18:59:54 +00:00
|
|
|
|
this.separatorMenuItem.Name = "separatorMenuItem";
|
2010-05-22 15:51:59 +00:00
|
|
|
|
this.separatorMenuItem.Size = new System.Drawing.Size(204, 6);
|
2010-02-07 16:37:15 +00:00
|
|
|
|
//
|
2010-05-20 21:23:54 +00:00
|
|
|
|
// temperatureUnitsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.temperatureUnitsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.celciusToolStripMenuItem,
|
|
|
|
|
this.fahrenheitToolStripMenuItem});
|
|
|
|
|
this.temperatureUnitsToolStripMenuItem.Name = "temperatureUnitsToolStripMenuItem";
|
|
|
|
|
this.temperatureUnitsToolStripMenuItem.Size = new System.Drawing.Size(207, 22);
|
|
|
|
|
this.temperatureUnitsToolStripMenuItem.Text = "Temperature Unit";
|
|
|
|
|
//
|
|
|
|
|
// celciusToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.celciusToolStripMenuItem.Name = "celciusToolStripMenuItem";
|
2010-06-05 18:59:54 +00:00
|
|
|
|
this.celciusToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.celciusToolStripMenuItem.Text = "Celcius";
|
|
|
|
|
this.celciusToolStripMenuItem.Click += new System.EventHandler(this.celciusToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// fahrenheitToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.fahrenheitToolStripMenuItem.Name = "fahrenheitToolStripMenuItem";
|
2010-06-05 18:59:54 +00:00
|
|
|
|
this.fahrenheitToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.fahrenheitToolStripMenuItem.Text = "Fahrenheit";
|
|
|
|
|
this.fahrenheitToolStripMenuItem.Click += new System.EventHandler(this.fahrenheitToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItem4
|
|
|
|
|
//
|
|
|
|
|
this.toolStripMenuItem4.Name = "toolStripMenuItem4";
|
|
|
|
|
this.toolStripMenuItem4.Size = new System.Drawing.Size(204, 6);
|
|
|
|
|
//
|
2010-01-26 22:37:48 +00:00
|
|
|
|
// hddMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.hddMenuItem.CheckOnClick = true;
|
|
|
|
|
this.hddMenuItem.Name = "hddMenuItem";
|
2010-03-26 20:58:10 +00:00
|
|
|
|
this.hddMenuItem.Size = new System.Drawing.Size(207, 22);
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.hddMenuItem.Text = "Read HDD sensors";
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.hddMenuItem.CheckedChanged += new System.EventHandler(this.hddsensorsToolStripMenuItem_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// helpToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.aboutToolStripMenuItem});
|
|
|
|
|
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
|
|
|
|
this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
|
|
|
|
|
this.helpToolStripMenuItem.Text = "Help";
|
|
|
|
|
//
|
|
|
|
|
// aboutToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
|
|
|
|
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
|
|
|
|
|
this.aboutToolStripMenuItem.Text = "About";
|
|
|
|
|
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// splitContainer
|
|
|
|
|
//
|
|
|
|
|
this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.splitContainer.Location = new System.Drawing.Point(0, 24);
|
|
|
|
|
this.splitContainer.Name = "splitContainer";
|
|
|
|
|
this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
|
|
|
|
//
|
|
|
|
|
// splitContainer.Panel1
|
|
|
|
|
//
|
|
|
|
|
this.splitContainer.Panel1.Controls.Add(this.treeView);
|
|
|
|
|
//
|
|
|
|
|
// splitContainer.Panel2
|
|
|
|
|
//
|
|
|
|
|
this.splitContainer.Panel2.Controls.Add(this.plotPanel);
|
|
|
|
|
this.splitContainer.Panel2.Cursor = System.Windows.Forms.Cursors.Default;
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.splitContainer.Size = new System.Drawing.Size(410, 662);
|
|
|
|
|
this.splitContainer.SplitterDistance = 488;
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.splitContainer.SplitterWidth = 3;
|
|
|
|
|
this.splitContainer.TabIndex = 3;
|
|
|
|
|
//
|
2010-02-27 15:55:17 +00:00
|
|
|
|
// plotPanel
|
|
|
|
|
//
|
|
|
|
|
this.plotPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.plotPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
2010-02-27 15:55:17 +00:00
|
|
|
|
this.plotPanel.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.plotPanel.Name = "plotPanel";
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.plotPanel.Size = new System.Drawing.Size(410, 171);
|
2010-02-27 15:55:17 +00:00
|
|
|
|
this.plotPanel.TabIndex = 0;
|
|
|
|
|
//
|
2010-02-12 00:36:56 +00:00
|
|
|
|
// sensorContextMenuStrip
|
|
|
|
|
//
|
|
|
|
|
this.sensorContextMenuStrip.Name = "sensorContextMenuStrip";
|
2010-06-05 18:59:54 +00:00
|
|
|
|
this.sensorContextMenuStrip.Size = new System.Drawing.Size(153, 26);
|
2010-02-12 00:36:56 +00:00
|
|
|
|
//
|
2010-03-27 12:57:09 +00:00
|
|
|
|
// saveFileDialog
|
|
|
|
|
//
|
|
|
|
|
this.saveFileDialog.DefaultExt = "txt";
|
|
|
|
|
this.saveFileDialog.FileName = "OpenHardwareMonitor.Report.txt";
|
|
|
|
|
this.saveFileDialog.Filter = "Text Documents|*.txt|All Files|*.*";
|
|
|
|
|
this.saveFileDialog.RestoreDirectory = true;
|
|
|
|
|
this.saveFileDialog.Title = "Save Report As";
|
|
|
|
|
//
|
2010-04-02 16:05:07 +00:00
|
|
|
|
// timer
|
|
|
|
|
//
|
|
|
|
|
this.timer.Interval = 1000;
|
|
|
|
|
this.timer.Tick += new System.EventHandler(this.timer_Tick);
|
|
|
|
|
//
|
2010-01-26 22:37:48 +00:00
|
|
|
|
// MainForm
|
|
|
|
|
//
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(410, 686);
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.Controls.Add(this.splitContainer);
|
2010-05-20 21:23:54 +00:00
|
|
|
|
this.Controls.Add(this.menuStrip);
|
2010-01-26 22:37:48 +00:00
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
|
|
this.MainMenuStrip = this.menuStrip;
|
|
|
|
|
this.Name = "MainForm";
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
|
|
|
|
this.Text = "Open Hardware Monitor";
|
|
|
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
|
|
|
|
|
this.menuStrip.ResumeLayout(false);
|
|
|
|
|
this.menuStrip.PerformLayout();
|
|
|
|
|
this.splitContainer.Panel1.ResumeLayout(false);
|
|
|
|
|
this.splitContainer.Panel2.ResumeLayout(false);
|
|
|
|
|
this.splitContainer.ResumeLayout(false);
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Aga.Controls.Tree.TreeViewAdv treeView;
|
|
|
|
|
private System.Windows.Forms.MenuStrip menuStrip;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
|
|
|
|
|
private Aga.Controls.Tree.TreeColumn sensor;
|
|
|
|
|
private Aga.Controls.Tree.TreeColumn value;
|
|
|
|
|
private Aga.Controls.Tree.TreeColumn min;
|
|
|
|
|
private Aga.Controls.Tree.TreeColumn max;
|
|
|
|
|
private Aga.Controls.Tree.NodeControls.NodeIcon nodeImage;
|
|
|
|
|
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxText;
|
|
|
|
|
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxValue;
|
|
|
|
|
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMin;
|
|
|
|
|
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMax;
|
|
|
|
|
private System.Windows.Forms.SplitContainer splitContainer;
|
|
|
|
|
private PlotPanel plotPanel;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem plotMenuItem;
|
|
|
|
|
private Aga.Controls.Tree.NodeControls.NodeCheckBox nodeCheckBox;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
|
|
|
|
|
private Aga.Controls.Tree.TreeColumn limit;
|
|
|
|
|
private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxLimit;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem saveReportToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem hddMenuItem;
|
2010-02-07 16:37:15 +00:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem minTrayMenuItem;
|
2010-05-22 15:51:59 +00:00
|
|
|
|
private System.Windows.Forms.ToolStripSeparator separatorMenuItem;
|
2010-02-12 00:36:56 +00:00
|
|
|
|
private System.Windows.Forms.ContextMenuStrip sensorContextMenuStrip;
|
2010-02-19 19:50:07 +00:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem startMinMenuItem;
|
2010-03-26 20:58:10 +00:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem startupMenuItem;
|
2010-03-27 12:57:09 +00:00
|
|
|
|
private System.Windows.Forms.SaveFileDialog saveFileDialog;
|
2010-04-02 16:05:07 +00:00
|
|
|
|
private System.Windows.Forms.Timer timer;
|
2010-05-14 22:30:06 +00:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem hiddenMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem columnsToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem valueMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem minMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem maxMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem limitMenuItem;
|
2010-05-20 21:23:54 +00:00
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem temperatureUnitsToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem4;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem celciusToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem fahrenheitToolStripMenuItem;
|
2010-01-26 22:37:48 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|