1.1 --- a/GUI/MainForm.Designer.cs Sun Jul 18 17:08:33 2010 +0000
1.2 +++ b/GUI/MainForm.Designer.cs Sat Jul 24 20:15:49 2010 +0000
1.3 @@ -62,7 +62,6 @@
1.4 private void InitializeComponent() {
1.5 this.components = new System.ComponentModel.Container();
1.6 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
1.7 - this.treeView = new Aga.Controls.Tree.TreeViewAdv();
1.8 this.sensor = new Aga.Controls.Tree.TreeColumn();
1.9 this.value = new Aga.Controls.Tree.TreeColumn();
1.10 this.min = new Aga.Controls.Tree.TreeColumn();
1.11 @@ -101,47 +100,17 @@
1.12 this.hddMenuItem = new System.Windows.Forms.MenuItem();
1.13 this.helpMenuItem = new System.Windows.Forms.MenuItem();
1.14 this.aboutMenuItem = new System.Windows.Forms.MenuItem();
1.15 - this.splitContainer = new System.Windows.Forms.SplitContainer();
1.16 - this.plotPanel = new OpenHardwareMonitor.GUI.PlotPanel();
1.17 this.sensorContextMenu = new System.Windows.Forms.ContextMenu();
1.18 this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
1.19 this.timer = new System.Windows.Forms.Timer(this.components);
1.20 + this.splitContainer = new OpenHardwareMonitor.GUI.SplitContainerAdv();
1.21 + this.treeView = new Aga.Controls.Tree.TreeViewAdv();
1.22 + this.plotPanel = new OpenHardwareMonitor.GUI.PlotPanel();
1.23 this.splitContainer.Panel1.SuspendLayout();
1.24 this.splitContainer.Panel2.SuspendLayout();
1.25 this.splitContainer.SuspendLayout();
1.26 this.SuspendLayout();
1.27 //
1.28 - // treeView
1.29 - //
1.30 - this.treeView.BackColor = System.Drawing.SystemColors.Window;
1.31 - this.treeView.Columns.Add(this.sensor);
1.32 - this.treeView.Columns.Add(this.value);
1.33 - this.treeView.Columns.Add(this.min);
1.34 - this.treeView.Columns.Add(this.max);
1.35 - this.treeView.DefaultToolTipProvider = null;
1.36 - this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
1.37 - this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
1.38 - this.treeView.FullRowSelect = true;
1.39 - this.treeView.GridLineStyle = Aga.Controls.Tree.GridLineStyle.Horizontal;
1.40 - this.treeView.LineColor = System.Drawing.SystemColors.ControlDark;
1.41 - this.treeView.Location = new System.Drawing.Point(0, 0);
1.42 - this.treeView.Model = null;
1.43 - this.treeView.Name = "treeView";
1.44 - this.treeView.NodeControls.Add(this.nodeImage);
1.45 - this.treeView.NodeControls.Add(this.nodeCheckBox);
1.46 - this.treeView.NodeControls.Add(this.nodeTextBoxText);
1.47 - this.treeView.NodeControls.Add(this.nodeTextBoxValue);
1.48 - this.treeView.NodeControls.Add(this.nodeTextBoxMin);
1.49 - this.treeView.NodeControls.Add(this.nodeTextBoxMax);
1.50 - this.treeView.RowHeight = 18;
1.51 - this.treeView.SelectedNode = null;
1.52 - this.treeView.Size = new System.Drawing.Size(386, 488);
1.53 - this.treeView.TabIndex = 0;
1.54 - this.treeView.Text = "treeView";
1.55 - this.treeView.UseColumns = true;
1.56 - this.treeView.NodeMouseDoubleClick += new System.EventHandler<Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this.treeView_NodeMouseDoubleClick);
1.57 - this.treeView.Click += new System.EventHandler(this.treeView_Click);
1.58 - //
1.59 // sensor
1.60 //
1.61 this.sensor.Header = "Sensor";
1.62 @@ -392,34 +361,6 @@
1.63 this.aboutMenuItem.Text = "About";
1.64 this.aboutMenuItem.Click += new System.EventHandler(this.aboutMenuItem_Click);
1.65 //
1.66 - // splitContainer
1.67 - //
1.68 - this.splitContainer.Location = new System.Drawing.Point(12, 12);
1.69 - this.splitContainer.Name = "splitContainer";
1.70 - this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
1.71 - //
1.72 - // splitContainer.Panel1
1.73 - //
1.74 - this.splitContainer.Panel1.Controls.Add(this.treeView);
1.75 - //
1.76 - // splitContainer.Panel2
1.77 - //
1.78 - this.splitContainer.Panel2.Controls.Add(this.plotPanel);
1.79 - this.splitContainer.Panel2.Cursor = System.Windows.Forms.Cursors.Default;
1.80 - this.splitContainer.Size = new System.Drawing.Size(386, 662);
1.81 - this.splitContainer.SplitterDistance = 488;
1.82 - this.splitContainer.SplitterWidth = 3;
1.83 - this.splitContainer.TabIndex = 3;
1.84 - //
1.85 - // plotPanel
1.86 - //
1.87 - this.plotPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
1.88 - this.plotPanel.Dock = System.Windows.Forms.DockStyle.Fill;
1.89 - this.plotPanel.Location = new System.Drawing.Point(0, 0);
1.90 - this.plotPanel.Name = "plotPanel";
1.91 - this.plotPanel.Size = new System.Drawing.Size(386, 171);
1.92 - this.plotPanel.TabIndex = 0;
1.93 - //
1.94 // saveFileDialog
1.95 //
1.96 this.saveFileDialog.DefaultExt = "txt";
1.97 @@ -433,14 +374,76 @@
1.98 this.timer.Interval = 1000;
1.99 this.timer.Tick += new System.EventHandler(this.timer_Tick);
1.100 //
1.101 + // splitContainer
1.102 + //
1.103 + this.splitContainer.Border3DStyle = System.Windows.Forms.Border3DStyle.Raised;
1.104 + this.splitContainer.Color = System.Drawing.SystemColors.Control;
1.105 + this.splitContainer.Cursor = System.Windows.Forms.Cursors.Default;
1.106 + this.splitContainer.Location = new System.Drawing.Point(12, 12);
1.107 + this.splitContainer.Name = "splitContainer";
1.108 + this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
1.109 + //
1.110 + // splitContainer.Panel1
1.111 + //
1.112 + this.splitContainer.Panel1.Controls.Add(this.treeView);
1.113 + //
1.114 + // splitContainer.Panel2
1.115 + //
1.116 + this.splitContainer.Panel2.Controls.Add(this.plotPanel);
1.117 + this.splitContainer.Panel2.Cursor = System.Windows.Forms.Cursors.Default;
1.118 + this.splitContainer.Size = new System.Drawing.Size(386, 483);
1.119 + this.splitContainer.SplitterDistance = 354;
1.120 + this.splitContainer.SplitterWidth = 5;
1.121 + this.splitContainer.TabIndex = 3;
1.122 + //
1.123 + // treeView
1.124 + //
1.125 + this.treeView.BackColor = System.Drawing.SystemColors.Window;
1.126 + this.treeView.BorderStyle = System.Windows.Forms.BorderStyle.None;
1.127 + this.treeView.Columns.Add(this.sensor);
1.128 + this.treeView.Columns.Add(this.value);
1.129 + this.treeView.Columns.Add(this.min);
1.130 + this.treeView.Columns.Add(this.max);
1.131 + this.treeView.DefaultToolTipProvider = null;
1.132 + this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
1.133 + this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
1.134 + this.treeView.FullRowSelect = true;
1.135 + this.treeView.GridLineStyle = Aga.Controls.Tree.GridLineStyle.Horizontal;
1.136 + this.treeView.LineColor = System.Drawing.SystemColors.ControlDark;
1.137 + this.treeView.Location = new System.Drawing.Point(0, 0);
1.138 + this.treeView.Model = null;
1.139 + this.treeView.Name = "treeView";
1.140 + this.treeView.NodeControls.Add(this.nodeImage);
1.141 + this.treeView.NodeControls.Add(this.nodeCheckBox);
1.142 + this.treeView.NodeControls.Add(this.nodeTextBoxText);
1.143 + this.treeView.NodeControls.Add(this.nodeTextBoxValue);
1.144 + this.treeView.NodeControls.Add(this.nodeTextBoxMin);
1.145 + this.treeView.NodeControls.Add(this.nodeTextBoxMax);
1.146 + this.treeView.RowHeight = 18;
1.147 + this.treeView.SelectedNode = null;
1.148 + this.treeView.Size = new System.Drawing.Size(386, 354);
1.149 + this.treeView.TabIndex = 0;
1.150 + this.treeView.Text = "treeView";
1.151 + this.treeView.UseColumns = true;
1.152 + this.treeView.NodeMouseDoubleClick += new System.EventHandler<Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this.treeView_NodeMouseDoubleClick);
1.153 + this.treeView.Click += new System.EventHandler(this.treeView_Click);
1.154 + //
1.155 + // plotPanel
1.156 + //
1.157 + this.plotPanel.Dock = System.Windows.Forms.DockStyle.Fill;
1.158 + this.plotPanel.Location = new System.Drawing.Point(0, 0);
1.159 + this.plotPanel.Name = "plotPanel";
1.160 + this.plotPanel.Size = new System.Drawing.Size(386, 124);
1.161 + this.plotPanel.TabIndex = 0;
1.162 + //
1.163 // MainForm
1.164 //
1.165 - this.Menu = this.mainMenu;
1.166 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
1.167 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
1.168 - this.ClientSize = new System.Drawing.Size(410, 686);
1.169 + this.ClientSize = new System.Drawing.Size(418, 596);
1.170 this.Controls.Add(this.splitContainer);
1.171 - this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
1.172 + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
1.173 + this.Menu = this.mainMenu;
1.174 this.Name = "MainForm";
1.175 this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
1.176 this.Text = "Open Hardware Monitor";
1.177 @@ -467,7 +470,7 @@
1.178 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxValue;
1.179 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMin;
1.180 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMax;
1.181 - private System.Windows.Forms.SplitContainer splitContainer;
1.182 + private SplitContainerAdv splitContainer;
1.183 private PlotPanel plotPanel;
1.184 private System.Windows.Forms.MenuItem viewMenuItem;
1.185 private System.Windows.Forms.MenuItem plotMenuItem;