Added the small modifications to the Aga.Controls required by the Open Hardware Monitor.
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.helpMenuItem = new System.Windows.Forms.MenuItem();
79 this.aboutMenuItem = new System.Windows.Forms.MenuItem();
80 this.treeContextMenu = new System.Windows.Forms.ContextMenu();
81 this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
82 this.timer = new System.Windows.Forms.Timer(this.components);
83 this.splitContainer = new OpenHardwareMonitor.GUI.SplitContainerAdv();
84 this.treeView = new Aga.Controls.Tree.TreeViewAdv();
85 this.plotLocationMenuItem = new System.Windows.Forms.MenuItem();
86 this.plotWindowMenuItem = new System.Windows.Forms.MenuItem();
87 this.plotBottomMenuItem = new System.Windows.Forms.MenuItem();
88 this.plotRightMenuItem = new System.Windows.Forms.MenuItem();
89 this.splitContainer.Panel1.SuspendLayout();
90 this.splitContainer.Panel2.SuspendLayout();
91 this.splitContainer.SuspendLayout();
96 this.sensor.Header = "Sensor";
97 this.sensor.SortOrder = System.Windows.Forms.SortOrder.None;
98 this.sensor.TooltipText = null;
99 this.sensor.Width = 250;
103 this.value.Header = "Value";
104 this.value.SortOrder = System.Windows.Forms.SortOrder.None;
105 this.value.TooltipText = null;
106 this.value.Width = 100;
110 this.min.Header = "Min";
111 this.min.SortOrder = System.Windows.Forms.SortOrder.None;
112 this.min.TooltipText = null;
113 this.min.Width = 100;
117 this.max.Header = "Max";
118 this.max.SortOrder = System.Windows.Forms.SortOrder.None;
119 this.max.TooltipText = null;
120 this.max.Width = 100;
124 this.nodeImage.DataPropertyName = "Image";
125 this.nodeImage.LeftMargin = 1;
126 this.nodeImage.ParentColumn = this.sensor;
127 this.nodeImage.ScaleMode = Aga.Controls.Tree.ImageScaleMode.Fit;
131 this.nodeCheckBox.DataPropertyName = "Plot";
132 this.nodeCheckBox.EditEnabled = true;
133 this.nodeCheckBox.LeftMargin = 3;
134 this.nodeCheckBox.ParentColumn = this.sensor;
138 this.nodeTextBoxText.DataPropertyName = "Text";
139 this.nodeTextBoxText.EditEnabled = true;
140 this.nodeTextBoxText.IncrementalSearchEnabled = true;
141 this.nodeTextBoxText.LeftMargin = 3;
142 this.nodeTextBoxText.ParentColumn = this.sensor;
143 this.nodeTextBoxText.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
144 this.nodeTextBoxText.UseCompatibleTextRendering = true;
148 this.nodeTextBoxValue.DataPropertyName = "Value";
149 this.nodeTextBoxValue.IncrementalSearchEnabled = true;
150 this.nodeTextBoxValue.LeftMargin = 3;
151 this.nodeTextBoxValue.ParentColumn = this.value;
152 this.nodeTextBoxValue.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
153 this.nodeTextBoxValue.UseCompatibleTextRendering = true;
157 this.nodeTextBoxMin.DataPropertyName = "Min";
158 this.nodeTextBoxMin.IncrementalSearchEnabled = true;
159 this.nodeTextBoxMin.LeftMargin = 3;
160 this.nodeTextBoxMin.ParentColumn = this.min;
161 this.nodeTextBoxMin.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
162 this.nodeTextBoxMin.UseCompatibleTextRendering = true;
166 this.nodeTextBoxMax.DataPropertyName = "Max";
167 this.nodeTextBoxMax.IncrementalSearchEnabled = true;
168 this.nodeTextBoxMax.LeftMargin = 3;
169 this.nodeTextBoxMax.ParentColumn = this.max;
170 this.nodeTextBoxMax.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
171 this.nodeTextBoxMax.UseCompatibleTextRendering = true;
175 this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
178 this.optionsMenuItem,
183 this.fileMenuItem.Index = 0;
184 this.fileMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
185 this.saveReportMenuItem,
186 this.sumbitReportMenuItem,
191 this.fileMenuItem.Text = "File";
193 // saveReportMenuItem
195 this.saveReportMenuItem.Index = 0;
196 this.saveReportMenuItem.Text = "Save Report...";
197 this.saveReportMenuItem.Click += new System.EventHandler(this.saveReportMenuItem_Click);
199 // sumbitReportMenuItem
201 this.sumbitReportMenuItem.Index = 1;
202 this.sumbitReportMenuItem.Text = "Submit Report...";
203 this.sumbitReportMenuItem.Click += new System.EventHandler(this.sumbitReportMenuItem_Click);
207 this.MenuItem2.Index = 2;
208 this.MenuItem2.Text = "-";
212 this.resetMenuItem.Index = 3;
213 this.resetMenuItem.Text = "Reset";
214 this.resetMenuItem.Click += new System.EventHandler(this.resetClick);
218 this.menuItem6.Index = 4;
219 this.menuItem6.Text = "-";
223 this.exitMenuItem.Index = 5;
224 this.exitMenuItem.Text = "Exit";
225 this.exitMenuItem.Click += new System.EventHandler(this.exitClick);
229 this.viewMenuItem.Index = 1;
230 this.viewMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
231 this.resetMinMaxMenuItem,
237 this.columnsMenuItem});
238 this.viewMenuItem.Text = "View";
240 // resetMinMaxMenuItem
242 this.resetMinMaxMenuItem.Index = 0;
243 this.resetMinMaxMenuItem.Text = "Reset Min/Max";
244 this.resetMinMaxMenuItem.Click += new System.EventHandler(this.resetMinMaxMenuItem_Click);
248 this.MenuItem3.Index = 1;
249 this.MenuItem3.Text = "-";
253 this.hiddenMenuItem.Index = 2;
254 this.hiddenMenuItem.Text = "Show Hidden Sensors";
258 this.plotMenuItem.Index = 3;
259 this.plotMenuItem.Text = "Show Plot";
263 this.gadgetMenuItem.Index = 4;
264 this.gadgetMenuItem.Text = "Show Gadget";
268 this.MenuItem1.Index = 5;
269 this.MenuItem1.Text = "-";
273 this.columnsMenuItem.Index = 6;
274 this.columnsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
278 this.columnsMenuItem.Text = "Columns";
282 this.valueMenuItem.Index = 0;
283 this.valueMenuItem.Text = "Value";
287 this.minMenuItem.Index = 1;
288 this.minMenuItem.Text = "Min";
292 this.maxMenuItem.Index = 2;
293 this.maxMenuItem.Text = "Max";
297 this.optionsMenuItem.Index = 2;
298 this.optionsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
299 this.startMinMenuItem,
300 this.minTrayMenuItem,
301 this.minCloseMenuItem,
302 this.startupMenuItem,
303 this.separatorMenuItem,
304 this.temperatureUnitsMenuItem,
305 this.plotLocationMenuItem,
308 this.optionsMenuItem.Text = "Options";
312 this.startMinMenuItem.Index = 0;
313 this.startMinMenuItem.Text = "Start Minimized";
317 this.minTrayMenuItem.Index = 1;
318 this.minTrayMenuItem.Text = "Minimize To Tray";
322 this.minCloseMenuItem.Index = 2;
323 this.minCloseMenuItem.Text = "Minimize On Close";
327 this.startupMenuItem.Index = 3;
328 this.startupMenuItem.Text = "Run On Windows Startup";
332 this.separatorMenuItem.Index = 4;
333 this.separatorMenuItem.Text = "-";
335 // temperatureUnitsMenuItem
337 this.temperatureUnitsMenuItem.Index = 5;
338 this.temperatureUnitsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
339 this.celsiusMenuItem,
340 this.fahrenheitMenuItem});
341 this.temperatureUnitsMenuItem.Text = "Temperature Unit";
345 this.celsiusMenuItem.Index = 0;
346 this.celsiusMenuItem.Text = "Celsius";
347 this.celsiusMenuItem.Click += new System.EventHandler(this.celsiusMenuItem_Click);
349 // fahrenheitMenuItem
351 this.fahrenheitMenuItem.Index = 1;
352 this.fahrenheitMenuItem.Text = "Fahrenheit";
353 this.fahrenheitMenuItem.Click += new System.EventHandler(this.fahrenheitMenuItem_Click);
357 this.MenuItem4.Index = 7;
358 this.MenuItem4.Text = "-";
362 this.hddMenuItem.Index = 8;
363 this.hddMenuItem.Text = "Read HDD sensors";
367 this.helpMenuItem.Index = 3;
368 this.helpMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
369 this.aboutMenuItem});
370 this.helpMenuItem.Text = "Help";
374 this.aboutMenuItem.Index = 0;
375 this.aboutMenuItem.Text = "About";
376 this.aboutMenuItem.Click += new System.EventHandler(this.aboutMenuItem_Click);
380 this.saveFileDialog.DefaultExt = "txt";
381 this.saveFileDialog.FileName = "OpenHardwareMonitor.Report.txt";
382 this.saveFileDialog.Filter = "Text Documents|*.txt|All Files|*.*";
383 this.saveFileDialog.RestoreDirectory = true;
384 this.saveFileDialog.Title = "Save Report As";
388 this.timer.Interval = 1000;
389 this.timer.Tick += new System.EventHandler(this.timer_Tick);
393 this.splitContainer.Border3DStyle = System.Windows.Forms.Border3DStyle.Raised;
394 this.splitContainer.Color = System.Drawing.SystemColors.Control;
395 this.splitContainer.Cursor = System.Windows.Forms.Cursors.Default;
396 this.splitContainer.Location = new System.Drawing.Point(12, 12);
397 this.splitContainer.Name = "splitContainer";
398 this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
400 // splitContainer.Panel1
402 this.splitContainer.Panel1.Controls.Add(this.treeView);
404 // splitContainer.Panel2
406 this.splitContainer.Panel2.Cursor = System.Windows.Forms.Cursors.Default;
407 this.splitContainer.Size = new System.Drawing.Size(386, 483);
408 this.splitContainer.SplitterDistance = 354;
409 this.splitContainer.SplitterWidth = 5;
410 this.splitContainer.TabIndex = 3;
414 this.treeView.BackColor = System.Drawing.SystemColors.Window;
415 this.treeView.BorderStyle = System.Windows.Forms.BorderStyle.None;
416 this.treeView.Columns.Add(this.sensor);
417 this.treeView.Columns.Add(this.value);
418 this.treeView.Columns.Add(this.min);
419 this.treeView.Columns.Add(this.max);
420 this.treeView.DefaultToolTipProvider = null;
421 this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
422 this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
423 this.treeView.FullRowSelect = true;
424 this.treeView.GridLineStyle = Aga.Controls.Tree.GridLineStyle.Horizontal;
425 this.treeView.LineColor = System.Drawing.SystemColors.ControlDark;
426 this.treeView.Location = new System.Drawing.Point(0, 0);
427 this.treeView.Model = null;
428 this.treeView.Name = "treeView";
429 this.treeView.NodeControls.Add(this.nodeImage);
430 this.treeView.NodeControls.Add(this.nodeCheckBox);
431 this.treeView.NodeControls.Add(this.nodeTextBoxText);
432 this.treeView.NodeControls.Add(this.nodeTextBoxValue);
433 this.treeView.NodeControls.Add(this.nodeTextBoxMin);
434 this.treeView.NodeControls.Add(this.nodeTextBoxMax);
435 this.treeView.SelectedNode = null;
436 this.treeView.Size = new System.Drawing.Size(386, 354);
437 this.treeView.TabIndex = 0;
438 this.treeView.Text = "treeView";
439 this.treeView.UseColumns = true;
440 this.treeView.NodeMouseDoubleClick += new System.EventHandler<Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this.treeView_NodeMouseDoubleClick);
441 this.treeView.Click += new System.EventHandler(this.treeView_Click);
442 this.treeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseDown);
443 this.treeView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseMove);
444 this.treeView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseUp);
446 // plotLocationMenuItem
448 this.plotLocationMenuItem.Index = 6;
449 this.plotLocationMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
450 this.plotWindowMenuItem,
451 this.plotBottomMenuItem,
452 this.plotRightMenuItem});
453 this.plotLocationMenuItem.Text = "Plot Location";
455 // plotWindowMenuItem
457 this.plotWindowMenuItem.Index = 0;
458 this.plotWindowMenuItem.Text = "Window";
460 // plotBottomMenuItem
462 this.plotBottomMenuItem.Index = 1;
463 this.plotBottomMenuItem.Text = "Bottom";
467 this.plotRightMenuItem.Index = 2;
468 this.plotRightMenuItem.Text = "Right";
472 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
473 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
474 this.ClientSize = new System.Drawing.Size(418, 554);
475 this.Controls.Add(this.splitContainer);
476 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
477 this.Menu = this.mainMenu;
478 this.Name = "MainForm";
479 this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
480 this.Text = "Open Hardware Monitor";
481 this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
482 this.Load += new System.EventHandler(this.MainForm_Load);
483 this.ResizeEnd += new System.EventHandler(this.MainForm_MoveOrResize);
484 this.Move += new System.EventHandler(this.MainForm_MoveOrResize);
485 this.splitContainer.Panel1.ResumeLayout(false);
486 this.splitContainer.Panel2.ResumeLayout(false);
487 this.splitContainer.ResumeLayout(false);
488 this.ResumeLayout(false);
494 private Aga.Controls.Tree.TreeViewAdv treeView;
495 private System.Windows.Forms.MainMenu mainMenu;
496 private System.Windows.Forms.MenuItem fileMenuItem;
497 private System.Windows.Forms.MenuItem exitMenuItem;
498 private Aga.Controls.Tree.TreeColumn sensor;
499 private Aga.Controls.Tree.TreeColumn value;
500 private Aga.Controls.Tree.TreeColumn min;
501 private Aga.Controls.Tree.TreeColumn max;
502 private Aga.Controls.Tree.NodeControls.NodeIcon nodeImage;
503 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxText;
504 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxValue;
505 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMin;
506 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMax;
507 private SplitContainerAdv splitContainer;
508 private System.Windows.Forms.MenuItem viewMenuItem;
509 private System.Windows.Forms.MenuItem plotMenuItem;
510 private Aga.Controls.Tree.NodeControls.NodeCheckBox nodeCheckBox;
511 private System.Windows.Forms.MenuItem helpMenuItem;
512 private System.Windows.Forms.MenuItem aboutMenuItem;
513 private System.Windows.Forms.MenuItem saveReportMenuItem;
514 private System.Windows.Forms.MenuItem optionsMenuItem;
515 private System.Windows.Forms.MenuItem hddMenuItem;
516 private System.Windows.Forms.MenuItem minTrayMenuItem;
517 private System.Windows.Forms.MenuItem separatorMenuItem;
518 private System.Windows.Forms.ContextMenu treeContextMenu;
519 private System.Windows.Forms.MenuItem startMinMenuItem;
520 private System.Windows.Forms.MenuItem startupMenuItem;
521 private System.Windows.Forms.SaveFileDialog saveFileDialog;
522 private System.Windows.Forms.Timer timer;
523 private System.Windows.Forms.MenuItem hiddenMenuItem;
524 private System.Windows.Forms.MenuItem MenuItem1;
525 private System.Windows.Forms.MenuItem columnsMenuItem;
526 private System.Windows.Forms.MenuItem valueMenuItem;
527 private System.Windows.Forms.MenuItem minMenuItem;
528 private System.Windows.Forms.MenuItem maxMenuItem;
529 private System.Windows.Forms.MenuItem temperatureUnitsMenuItem;
530 private System.Windows.Forms.MenuItem MenuItem4;
531 private System.Windows.Forms.MenuItem celsiusMenuItem;
532 private System.Windows.Forms.MenuItem fahrenheitMenuItem;
533 private System.Windows.Forms.MenuItem sumbitReportMenuItem;
534 private System.Windows.Forms.MenuItem MenuItem2;
535 private System.Windows.Forms.MenuItem resetMinMaxMenuItem;
536 private System.Windows.Forms.MenuItem MenuItem3;
537 private System.Windows.Forms.MenuItem gadgetMenuItem;
538 private System.Windows.Forms.MenuItem minCloseMenuItem;
539 private System.Windows.Forms.MenuItem resetMenuItem;
540 private System.Windows.Forms.MenuItem menuItem6;
541 private System.Windows.Forms.MenuItem plotLocationMenuItem;
542 private System.Windows.Forms.MenuItem plotWindowMenuItem;
543 private System.Windows.Forms.MenuItem plotBottomMenuItem;
544 private System.Windows.Forms.MenuItem plotRightMenuItem;