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