Fixed Issue 300.
3 This Source Code Form is subject to the terms of the Mozilla Public
4 License, v. 2.0. If a copy of the MPL was not distributed with this
5 file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 Copyright (C) 2009-2011 Michael Möller <mmoeller@openhardwaremonitor.org>
11 namespace OpenHardwareMonitor.GUI {
12 partial class MainForm {
14 /// Required designer variable.
16 private System.ComponentModel.IContainer components = null;
19 /// Clean up any resources being used.
21 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
22 protected override void Dispose(bool disposing) {
23 if (disposing && (components != null)) {
26 base.Dispose(disposing);
29 #region Windows Form Designer generated code
32 /// Required method for Designer support - do not modify
33 /// the contents of this method with the code editor.
35 private void InitializeComponent() {
36 this.components = new System.ComponentModel.Container();
37 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
38 this.sensor = new Aga.Controls.Tree.TreeColumn();
39 this.value = new Aga.Controls.Tree.TreeColumn();
40 this.min = new Aga.Controls.Tree.TreeColumn();
41 this.max = new Aga.Controls.Tree.TreeColumn();
42 this.nodeImage = new Aga.Controls.Tree.NodeControls.NodeIcon();
43 this.nodeCheckBox = new Aga.Controls.Tree.NodeControls.NodeCheckBox();
44 this.nodeTextBoxText = new Aga.Controls.Tree.NodeControls.NodeTextBox();
45 this.nodeTextBoxValue = new Aga.Controls.Tree.NodeControls.NodeTextBox();
46 this.nodeTextBoxMin = new Aga.Controls.Tree.NodeControls.NodeTextBox();
47 this.nodeTextBoxMax = new Aga.Controls.Tree.NodeControls.NodeTextBox();
48 this.mainMenu = new System.Windows.Forms.MainMenu(this.components);
49 this.fileMenuItem = new System.Windows.Forms.MenuItem();
50 this.saveReportMenuItem = new System.Windows.Forms.MenuItem();
51 this.sumbitReportMenuItem = new System.Windows.Forms.MenuItem();
52 this.MenuItem2 = new System.Windows.Forms.MenuItem();
53 this.resetMenuItem = new System.Windows.Forms.MenuItem();
54 this.menuItem6 = new System.Windows.Forms.MenuItem();
55 this.exitMenuItem = new System.Windows.Forms.MenuItem();
56 this.viewMenuItem = new System.Windows.Forms.MenuItem();
57 this.resetMinMaxMenuItem = new System.Windows.Forms.MenuItem();
58 this.MenuItem3 = new System.Windows.Forms.MenuItem();
59 this.hiddenMenuItem = new System.Windows.Forms.MenuItem();
60 this.plotMenuItem = new System.Windows.Forms.MenuItem();
61 this.gadgetMenuItem = new System.Windows.Forms.MenuItem();
62 this.MenuItem1 = new System.Windows.Forms.MenuItem();
63 this.columnsMenuItem = new System.Windows.Forms.MenuItem();
64 this.valueMenuItem = new System.Windows.Forms.MenuItem();
65 this.minMenuItem = new System.Windows.Forms.MenuItem();
66 this.maxMenuItem = new System.Windows.Forms.MenuItem();
67 this.optionsMenuItem = new System.Windows.Forms.MenuItem();
68 this.startMinMenuItem = new System.Windows.Forms.MenuItem();
69 this.minTrayMenuItem = new System.Windows.Forms.MenuItem();
70 this.minCloseMenuItem = new System.Windows.Forms.MenuItem();
71 this.startupMenuItem = new System.Windows.Forms.MenuItem();
72 this.separatorMenuItem = new System.Windows.Forms.MenuItem();
73 this.temperatureUnitsMenuItem = new System.Windows.Forms.MenuItem();
74 this.celsiusMenuItem = new System.Windows.Forms.MenuItem();
75 this.fahrenheitMenuItem = new System.Windows.Forms.MenuItem();
76 this.MenuItem4 = new System.Windows.Forms.MenuItem();
77 this.hddMenuItem = new System.Windows.Forms.MenuItem();
78 this.webMenuItem = new System.Windows.Forms.MenuItem();
79 this.runWebServerMenuItem = new System.Windows.Forms.MenuItem();
80 this.serverPortMenuItem = new System.Windows.Forms.MenuItem();
81 this.helpMenuItem = new System.Windows.Forms.MenuItem();
82 this.aboutMenuItem = new System.Windows.Forms.MenuItem();
83 this.treeContextMenu = new System.Windows.Forms.ContextMenu();
84 this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
85 this.timer = new System.Windows.Forms.Timer(this.components);
86 this.splitContainer = new OpenHardwareMonitor.GUI.SplitContainerAdv();
87 this.treeView = new Aga.Controls.Tree.TreeViewAdv();
88 this.plotLocationMenuItem = new System.Windows.Forms.MenuItem();
89 this.plotWindowMenuItem = new System.Windows.Forms.MenuItem();
90 this.plotBottomMenuItem = new System.Windows.Forms.MenuItem();
91 this.plotRightMenuItem = new System.Windows.Forms.MenuItem();
92 this.splitContainer.Panel1.SuspendLayout();
93 this.splitContainer.Panel2.SuspendLayout();
94 this.splitContainer.SuspendLayout();
99 this.sensor.Header = "Sensor";
100 this.sensor.SortOrder = System.Windows.Forms.SortOrder.None;
101 this.sensor.TooltipText = null;
102 this.sensor.Width = 250;
106 this.value.Header = "Value";
107 this.value.SortOrder = System.Windows.Forms.SortOrder.None;
108 this.value.TooltipText = null;
109 this.value.Width = 100;
113 this.min.Header = "Min";
114 this.min.SortOrder = System.Windows.Forms.SortOrder.None;
115 this.min.TooltipText = null;
116 this.min.Width = 100;
120 this.max.Header = "Max";
121 this.max.SortOrder = System.Windows.Forms.SortOrder.None;
122 this.max.TooltipText = null;
123 this.max.Width = 100;
127 this.nodeImage.DataPropertyName = "Image";
128 this.nodeImage.LeftMargin = 1;
129 this.nodeImage.ParentColumn = this.sensor;
130 this.nodeImage.ScaleMode = Aga.Controls.Tree.ImageScaleMode.Fit;
134 this.nodeCheckBox.DataPropertyName = "Plot";
135 this.nodeCheckBox.EditEnabled = true;
136 this.nodeCheckBox.LeftMargin = 3;
137 this.nodeCheckBox.ParentColumn = this.sensor;
141 this.nodeTextBoxText.DataPropertyName = "Text";
142 this.nodeTextBoxText.EditEnabled = true;
143 this.nodeTextBoxText.IncrementalSearchEnabled = true;
144 this.nodeTextBoxText.LeftMargin = 3;
145 this.nodeTextBoxText.ParentColumn = this.sensor;
146 this.nodeTextBoxText.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
147 this.nodeTextBoxText.UseCompatibleTextRendering = true;
151 this.nodeTextBoxValue.DataPropertyName = "Value";
152 this.nodeTextBoxValue.IncrementalSearchEnabled = true;
153 this.nodeTextBoxValue.LeftMargin = 3;
154 this.nodeTextBoxValue.ParentColumn = this.value;
155 this.nodeTextBoxValue.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
156 this.nodeTextBoxValue.UseCompatibleTextRendering = true;
160 this.nodeTextBoxMin.DataPropertyName = "Min";
161 this.nodeTextBoxMin.IncrementalSearchEnabled = true;
162 this.nodeTextBoxMin.LeftMargin = 3;
163 this.nodeTextBoxMin.ParentColumn = this.min;
164 this.nodeTextBoxMin.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
165 this.nodeTextBoxMin.UseCompatibleTextRendering = true;
169 this.nodeTextBoxMax.DataPropertyName = "Max";
170 this.nodeTextBoxMax.IncrementalSearchEnabled = true;
171 this.nodeTextBoxMax.LeftMargin = 3;
172 this.nodeTextBoxMax.ParentColumn = this.max;
173 this.nodeTextBoxMax.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
174 this.nodeTextBoxMax.UseCompatibleTextRendering = true;
178 this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
181 this.optionsMenuItem,
186 this.fileMenuItem.Index = 0;
187 this.fileMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
188 this.saveReportMenuItem,
189 this.sumbitReportMenuItem,
194 this.fileMenuItem.Text = "File";
196 // saveReportMenuItem
198 this.saveReportMenuItem.Index = 0;
199 this.saveReportMenuItem.Text = "Save Report...";
200 this.saveReportMenuItem.Click += new System.EventHandler(this.saveReportMenuItem_Click);
202 // sumbitReportMenuItem
204 this.sumbitReportMenuItem.Index = 1;
205 this.sumbitReportMenuItem.Text = "Submit Report...";
206 this.sumbitReportMenuItem.Click += new System.EventHandler(this.sumbitReportMenuItem_Click);
210 this.MenuItem2.Index = 2;
211 this.MenuItem2.Text = "-";
215 this.resetMenuItem.Index = 3;
216 this.resetMenuItem.Text = "Reset";
217 this.resetMenuItem.Click += new System.EventHandler(this.resetClick);
221 this.menuItem6.Index = 4;
222 this.menuItem6.Text = "-";
226 this.exitMenuItem.Index = 5;
227 this.exitMenuItem.Text = "Exit";
228 this.exitMenuItem.Click += new System.EventHandler(this.exitClick);
232 this.viewMenuItem.Index = 1;
233 this.viewMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
234 this.resetMinMaxMenuItem,
240 this.columnsMenuItem});
241 this.viewMenuItem.Text = "View";
243 // resetMinMaxMenuItem
245 this.resetMinMaxMenuItem.Index = 0;
246 this.resetMinMaxMenuItem.Text = "Reset Min/Max";
247 this.resetMinMaxMenuItem.Click += new System.EventHandler(this.resetMinMaxMenuItem_Click);
251 this.MenuItem3.Index = 1;
252 this.MenuItem3.Text = "-";
256 this.hiddenMenuItem.Index = 2;
257 this.hiddenMenuItem.Text = "Show Hidden Sensors";
261 this.plotMenuItem.Index = 3;
262 this.plotMenuItem.Text = "Show Plot";
266 this.gadgetMenuItem.Index = 4;
267 this.gadgetMenuItem.Text = "Show Gadget";
271 this.MenuItem1.Index = 5;
272 this.MenuItem1.Text = "-";
276 this.columnsMenuItem.Index = 6;
277 this.columnsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
281 this.columnsMenuItem.Text = "Columns";
285 this.valueMenuItem.Index = 0;
286 this.valueMenuItem.Text = "Value";
290 this.minMenuItem.Index = 1;
291 this.minMenuItem.Text = "Min";
295 this.maxMenuItem.Index = 2;
296 this.maxMenuItem.Text = "Max";
300 this.optionsMenuItem.Index = 2;
301 this.optionsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
302 this.startMinMenuItem,
303 this.minTrayMenuItem,
304 this.minCloseMenuItem,
305 this.startupMenuItem,
306 this.separatorMenuItem,
307 this.temperatureUnitsMenuItem,
308 this.plotLocationMenuItem,
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.celsiusMenuItem,
344 this.fahrenheitMenuItem});
345 this.temperatureUnitsMenuItem.Text = "Temperature Unit";
349 this.celsiusMenuItem.Index = 0;
350 this.celsiusMenuItem.Text = "Celsius";
351 this.celsiusMenuItem.Click += new System.EventHandler(this.celsiusMenuItem_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 = 7;
362 this.MenuItem4.Text = "-";
366 this.hddMenuItem.Index = 8;
367 this.hddMenuItem.Text = "Read HDD sensors";
371 this.webMenuItem.Index = 9;
372 this.webMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
373 this.runWebServerMenuItem,
374 this.serverPortMenuItem});
375 this.webMenuItem.Text = "Remote Web Server";
377 // runWebServerMenuItem
379 this.runWebServerMenuItem.Index = 0;
380 this.runWebServerMenuItem.Text = "Run";
382 // serverPortMenuItem
384 this.serverPortMenuItem.Index = 1;
385 this.serverPortMenuItem.Text = "Port";
386 this.serverPortMenuItem.Click += new System.EventHandler(this.serverPortMenuItem_Click);
390 this.helpMenuItem.Index = 3;
391 this.helpMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
392 this.aboutMenuItem});
393 this.helpMenuItem.Text = "Help";
397 this.aboutMenuItem.Index = 0;
398 this.aboutMenuItem.Text = "About";
399 this.aboutMenuItem.Click += new System.EventHandler(this.aboutMenuItem_Click);
403 this.saveFileDialog.DefaultExt = "txt";
404 this.saveFileDialog.FileName = "OpenHardwareMonitor.Report.txt";
405 this.saveFileDialog.Filter = "Text Documents|*.txt|All Files|*.*";
406 this.saveFileDialog.RestoreDirectory = true;
407 this.saveFileDialog.Title = "Save Report As";
411 this.timer.Interval = 1000;
412 this.timer.Tick += new System.EventHandler(this.timer_Tick);
416 this.splitContainer.Border3DStyle = System.Windows.Forms.Border3DStyle.Raised;
417 this.splitContainer.Color = System.Drawing.SystemColors.Control;
418 this.splitContainer.Cursor = System.Windows.Forms.Cursors.Default;
419 this.splitContainer.Location = new System.Drawing.Point(12, 12);
420 this.splitContainer.Name = "splitContainer";
421 this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
423 // splitContainer.Panel1
425 this.splitContainer.Panel1.Controls.Add(this.treeView);
427 // splitContainer.Panel2
429 this.splitContainer.Panel2.Cursor = System.Windows.Forms.Cursors.Default;
430 this.splitContainer.Size = new System.Drawing.Size(386, 483);
431 this.splitContainer.SplitterDistance = 354;
432 this.splitContainer.SplitterWidth = 5;
433 this.splitContainer.TabIndex = 3;
437 this.treeView.BackColor = System.Drawing.SystemColors.Window;
438 this.treeView.BorderStyle = System.Windows.Forms.BorderStyle.None;
439 this.treeView.Columns.Add(this.sensor);
440 this.treeView.Columns.Add(this.value);
441 this.treeView.Columns.Add(this.min);
442 this.treeView.Columns.Add(this.max);
443 this.treeView.DefaultToolTipProvider = null;
444 this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
445 this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
446 this.treeView.FullRowSelect = true;
447 this.treeView.GridLineStyle = Aga.Controls.Tree.GridLineStyle.Horizontal;
448 this.treeView.LineColor = System.Drawing.SystemColors.ControlDark;
449 this.treeView.Location = new System.Drawing.Point(0, 0);
450 this.treeView.Model = null;
451 this.treeView.Name = "treeView";
452 this.treeView.NodeControls.Add(this.nodeImage);
453 this.treeView.NodeControls.Add(this.nodeCheckBox);
454 this.treeView.NodeControls.Add(this.nodeTextBoxText);
455 this.treeView.NodeControls.Add(this.nodeTextBoxValue);
456 this.treeView.NodeControls.Add(this.nodeTextBoxMin);
457 this.treeView.NodeControls.Add(this.nodeTextBoxMax);
458 this.treeView.SelectedNode = null;
459 this.treeView.Size = new System.Drawing.Size(386, 354);
460 this.treeView.TabIndex = 0;
461 this.treeView.Text = "treeView";
462 this.treeView.UseColumns = true;
463 this.treeView.NodeMouseDoubleClick += new System.EventHandler<Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this.treeView_NodeMouseDoubleClick);
464 this.treeView.Click += new System.EventHandler(this.treeView_Click);
465 this.treeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseDown);
466 this.treeView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseMove);
467 this.treeView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseUp);
469 // plotLocationMenuItem
471 this.plotLocationMenuItem.Index = 6;
472 this.plotLocationMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
473 this.plotWindowMenuItem,
474 this.plotBottomMenuItem,
475 this.plotRightMenuItem});
476 this.plotLocationMenuItem.Text = "Plot Location";
478 // plotWindowMenuItem
480 this.plotWindowMenuItem.Index = 0;
481 this.plotWindowMenuItem.Text = "Window";
483 // plotBottomMenuItem
485 this.plotBottomMenuItem.Index = 1;
486 this.plotBottomMenuItem.Text = "Bottom";
490 this.plotRightMenuItem.Index = 2;
491 this.plotRightMenuItem.Text = "Right";
495 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
496 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
497 this.ClientSize = new System.Drawing.Size(418, 554);
498 this.Controls.Add(this.splitContainer);
499 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
500 this.Menu = this.mainMenu;
501 this.Name = "MainForm";
502 this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
503 this.Text = "Open Hardware Monitor";
504 this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
505 this.Load += new System.EventHandler(this.MainForm_Load);
506 this.ResizeEnd += new System.EventHandler(this.MainForm_MoveOrResize);
507 this.Move += new System.EventHandler(this.MainForm_MoveOrResize);
508 this.splitContainer.Panel1.ResumeLayout(false);
509 this.splitContainer.Panel2.ResumeLayout(false);
510 this.splitContainer.ResumeLayout(false);
511 this.ResumeLayout(false);
517 private Aga.Controls.Tree.TreeViewAdv treeView;
518 private System.Windows.Forms.MainMenu mainMenu;
519 private System.Windows.Forms.MenuItem fileMenuItem;
520 private System.Windows.Forms.MenuItem exitMenuItem;
521 private Aga.Controls.Tree.TreeColumn sensor;
522 private Aga.Controls.Tree.TreeColumn value;
523 private Aga.Controls.Tree.TreeColumn min;
524 private Aga.Controls.Tree.TreeColumn max;
525 private Aga.Controls.Tree.NodeControls.NodeIcon nodeImage;
526 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxText;
527 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxValue;
528 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMin;
529 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMax;
530 private SplitContainerAdv splitContainer;
531 private System.Windows.Forms.MenuItem viewMenuItem;
532 private System.Windows.Forms.MenuItem plotMenuItem;
533 private Aga.Controls.Tree.NodeControls.NodeCheckBox nodeCheckBox;
534 private System.Windows.Forms.MenuItem helpMenuItem;
535 private System.Windows.Forms.MenuItem aboutMenuItem;
536 private System.Windows.Forms.MenuItem saveReportMenuItem;
537 private System.Windows.Forms.MenuItem optionsMenuItem;
538 private System.Windows.Forms.MenuItem hddMenuItem;
539 private System.Windows.Forms.MenuItem minTrayMenuItem;
540 private System.Windows.Forms.MenuItem separatorMenuItem;
541 private System.Windows.Forms.ContextMenu treeContextMenu;
542 private System.Windows.Forms.MenuItem startMinMenuItem;
543 private System.Windows.Forms.MenuItem startupMenuItem;
544 private System.Windows.Forms.SaveFileDialog saveFileDialog;
545 private System.Windows.Forms.Timer timer;
546 private System.Windows.Forms.MenuItem hiddenMenuItem;
547 private System.Windows.Forms.MenuItem MenuItem1;
548 private System.Windows.Forms.MenuItem columnsMenuItem;
549 private System.Windows.Forms.MenuItem valueMenuItem;
550 private System.Windows.Forms.MenuItem minMenuItem;
551 private System.Windows.Forms.MenuItem maxMenuItem;
552 private System.Windows.Forms.MenuItem temperatureUnitsMenuItem;
553 private System.Windows.Forms.MenuItem MenuItem4;
554 private System.Windows.Forms.MenuItem celsiusMenuItem;
555 private System.Windows.Forms.MenuItem fahrenheitMenuItem;
556 private System.Windows.Forms.MenuItem sumbitReportMenuItem;
557 private System.Windows.Forms.MenuItem MenuItem2;
558 private System.Windows.Forms.MenuItem resetMinMaxMenuItem;
559 private System.Windows.Forms.MenuItem MenuItem3;
560 private System.Windows.Forms.MenuItem gadgetMenuItem;
561 private System.Windows.Forms.MenuItem minCloseMenuItem;
562 private System.Windows.Forms.MenuItem resetMenuItem;
563 private System.Windows.Forms.MenuItem menuItem6;
564 private System.Windows.Forms.MenuItem plotLocationMenuItem;
565 private System.Windows.Forms.MenuItem plotWindowMenuItem;
566 private System.Windows.Forms.MenuItem plotBottomMenuItem;
567 private System.Windows.Forms.MenuItem plotRightMenuItem;
568 private System.Windows.Forms.MenuItem webMenuItem;
569 private System.Windows.Forms.MenuItem runWebServerMenuItem;
570 private System.Windows.Forms.MenuItem serverPortMenuItem;