Added SMART support for Samsung SSDs.
3 Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 The contents of this file are subject to the Mozilla Public License Version
6 1.1 (the "License"); you may not use this file except in compliance with
7 the License. You may obtain a copy of the License at
9 http://www.mozilla.org/MPL/
11 Software distributed under the License is distributed on an "AS IS" basis,
12 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 for the specific language governing rights and limitations under the License.
15 The Original Code is the Open Hardware Monitor code.
17 The Initial Developer of the Original Code is
18 Michael Möller <m.moeller@gmx.ch>.
19 Portions created by the Initial Developer are Copyright (C) 2009-2011
20 the Initial Developer. All Rights Reserved.
24 Alternatively, the contents of this file may be used under the terms of
25 either the GNU General Public License Version 2 or later (the "GPL"), or
26 the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 in which case the provisions of the GPL or the LGPL are applicable instead
28 of those above. If you wish to allow use of your version of this file only
29 under the terms of either the GPL or the LGPL, and not to allow others to
30 use your version of this file under the terms of the MPL, indicate your
31 decision by deleting the provisions above and replace them with the notice
32 and other provisions required by the GPL or the LGPL. If you do not delete
33 the provisions above, a recipient may use your version of this file under
34 the terms of any one of the MPL, the GPL or the LGPL.
38 namespace OpenHardwareMonitor.GUI {
39 partial class MainForm {
41 /// Required designer variable.
43 private System.ComponentModel.IContainer components = null;
46 /// Clean up any resources being used.
48 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
49 protected override void Dispose(bool disposing) {
50 if (disposing && (components != null)) {
53 base.Dispose(disposing);
56 #region Windows Form Designer generated code
59 /// Required method for Designer support - do not modify
60 /// the contents of this method with the code editor.
62 private void InitializeComponent() {
63 this.components = new System.ComponentModel.Container();
64 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
65 this.sensor = new Aga.Controls.Tree.TreeColumn();
66 this.value = new Aga.Controls.Tree.TreeColumn();
67 this.min = new Aga.Controls.Tree.TreeColumn();
68 this.max = new Aga.Controls.Tree.TreeColumn();
69 this.nodeImage = new Aga.Controls.Tree.NodeControls.NodeIcon();
70 this.nodeCheckBox = new Aga.Controls.Tree.NodeControls.NodeCheckBox();
71 this.nodeTextBoxText = new Aga.Controls.Tree.NodeControls.NodeTextBox();
72 this.nodeTextBoxValue = new Aga.Controls.Tree.NodeControls.NodeTextBox();
73 this.nodeTextBoxMin = new Aga.Controls.Tree.NodeControls.NodeTextBox();
74 this.nodeTextBoxMax = new Aga.Controls.Tree.NodeControls.NodeTextBox();
75 this.mainMenu = new System.Windows.Forms.MainMenu(this.components);
76 this.fileMenuItem = new System.Windows.Forms.MenuItem();
77 this.saveReportMenuItem = new System.Windows.Forms.MenuItem();
78 this.sumbitReportMenuItem = new System.Windows.Forms.MenuItem();
79 this.MenuItem2 = new System.Windows.Forms.MenuItem();
80 this.resetMenuItem = new System.Windows.Forms.MenuItem();
81 this.menuItem6 = new System.Windows.Forms.MenuItem();
82 this.exitMenuItem = new System.Windows.Forms.MenuItem();
83 this.viewMenuItem = new System.Windows.Forms.MenuItem();
84 this.resetMinMaxMenuItem = new System.Windows.Forms.MenuItem();
85 this.MenuItem3 = new System.Windows.Forms.MenuItem();
86 this.hiddenMenuItem = new System.Windows.Forms.MenuItem();
87 this.plotMenuItem = new System.Windows.Forms.MenuItem();
88 this.gadgetMenuItem = new System.Windows.Forms.MenuItem();
89 this.MenuItem1 = new System.Windows.Forms.MenuItem();
90 this.columnsMenuItem = new System.Windows.Forms.MenuItem();
91 this.valueMenuItem = new System.Windows.Forms.MenuItem();
92 this.minMenuItem = new System.Windows.Forms.MenuItem();
93 this.maxMenuItem = new System.Windows.Forms.MenuItem();
94 this.optionsMenuItem = new System.Windows.Forms.MenuItem();
95 this.startMinMenuItem = new System.Windows.Forms.MenuItem();
96 this.minTrayMenuItem = new System.Windows.Forms.MenuItem();
97 this.minCloseMenuItem = new System.Windows.Forms.MenuItem();
98 this.startupMenuItem = new System.Windows.Forms.MenuItem();
99 this.separatorMenuItem = new System.Windows.Forms.MenuItem();
100 this.temperatureUnitsMenuItem = new System.Windows.Forms.MenuItem();
101 this.celsiusMenuItem = new System.Windows.Forms.MenuItem();
102 this.fahrenheitMenuItem = new System.Windows.Forms.MenuItem();
103 this.MenuItem4 = new System.Windows.Forms.MenuItem();
104 this.hddMenuItem = new System.Windows.Forms.MenuItem();
105 this.helpMenuItem = new System.Windows.Forms.MenuItem();
106 this.aboutMenuItem = new System.Windows.Forms.MenuItem();
107 this.treeContextMenu = new System.Windows.Forms.ContextMenu();
108 this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
109 this.timer = new System.Windows.Forms.Timer(this.components);
110 this.splitContainer = new OpenHardwareMonitor.GUI.SplitContainerAdv();
111 this.treeView = new Aga.Controls.Tree.TreeViewAdv();
112 this.plotLocationMenuItem = new System.Windows.Forms.MenuItem();
113 this.plotWindowMenuItem = new System.Windows.Forms.MenuItem();
114 this.plotBottomMenuItem = new System.Windows.Forms.MenuItem();
115 this.plotRightMenuItem = new System.Windows.Forms.MenuItem();
116 this.splitContainer.Panel1.SuspendLayout();
117 this.splitContainer.Panel2.SuspendLayout();
118 this.splitContainer.SuspendLayout();
119 this.SuspendLayout();
123 this.sensor.Header = "Sensor";
124 this.sensor.SortOrder = System.Windows.Forms.SortOrder.None;
125 this.sensor.TooltipText = null;
126 this.sensor.Width = 250;
130 this.value.Header = "Value";
131 this.value.SortOrder = System.Windows.Forms.SortOrder.None;
132 this.value.TooltipText = null;
133 this.value.Width = 100;
137 this.min.Header = "Min";
138 this.min.SortOrder = System.Windows.Forms.SortOrder.None;
139 this.min.TooltipText = null;
140 this.min.Width = 100;
144 this.max.Header = "Max";
145 this.max.SortOrder = System.Windows.Forms.SortOrder.None;
146 this.max.TooltipText = null;
147 this.max.Width = 100;
151 this.nodeImage.DataPropertyName = "Image";
152 this.nodeImage.LeftMargin = 1;
153 this.nodeImage.ParentColumn = this.sensor;
154 this.nodeImage.ScaleMode = Aga.Controls.Tree.ImageScaleMode.Fit;
158 this.nodeCheckBox.DataPropertyName = "Plot";
159 this.nodeCheckBox.EditEnabled = true;
160 this.nodeCheckBox.LeftMargin = 3;
161 this.nodeCheckBox.ParentColumn = this.sensor;
165 this.nodeTextBoxText.DataPropertyName = "Text";
166 this.nodeTextBoxText.EditEnabled = true;
167 this.nodeTextBoxText.IncrementalSearchEnabled = true;
168 this.nodeTextBoxText.LeftMargin = 3;
169 this.nodeTextBoxText.ParentColumn = this.sensor;
170 this.nodeTextBoxText.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
171 this.nodeTextBoxText.UseCompatibleTextRendering = true;
175 this.nodeTextBoxValue.DataPropertyName = "Value";
176 this.nodeTextBoxValue.IncrementalSearchEnabled = true;
177 this.nodeTextBoxValue.LeftMargin = 3;
178 this.nodeTextBoxValue.ParentColumn = this.value;
179 this.nodeTextBoxValue.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
180 this.nodeTextBoxValue.UseCompatibleTextRendering = true;
184 this.nodeTextBoxMin.DataPropertyName = "Min";
185 this.nodeTextBoxMin.IncrementalSearchEnabled = true;
186 this.nodeTextBoxMin.LeftMargin = 3;
187 this.nodeTextBoxMin.ParentColumn = this.min;
188 this.nodeTextBoxMin.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
189 this.nodeTextBoxMin.UseCompatibleTextRendering = true;
193 this.nodeTextBoxMax.DataPropertyName = "Max";
194 this.nodeTextBoxMax.IncrementalSearchEnabled = true;
195 this.nodeTextBoxMax.LeftMargin = 3;
196 this.nodeTextBoxMax.ParentColumn = this.max;
197 this.nodeTextBoxMax.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
198 this.nodeTextBoxMax.UseCompatibleTextRendering = true;
202 this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
205 this.optionsMenuItem,
210 this.fileMenuItem.Index = 0;
211 this.fileMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
212 this.saveReportMenuItem,
213 this.sumbitReportMenuItem,
218 this.fileMenuItem.Text = "File";
220 // saveReportMenuItem
222 this.saveReportMenuItem.Index = 0;
223 this.saveReportMenuItem.Text = "Save Report...";
224 this.saveReportMenuItem.Click += new System.EventHandler(this.saveReportMenuItem_Click);
226 // sumbitReportMenuItem
228 this.sumbitReportMenuItem.Index = 1;
229 this.sumbitReportMenuItem.Text = "Submit Report...";
230 this.sumbitReportMenuItem.Click += new System.EventHandler(this.sumbitReportMenuItem_Click);
234 this.MenuItem2.Index = 2;
235 this.MenuItem2.Text = "-";
239 this.resetMenuItem.Index = 3;
240 this.resetMenuItem.Text = "Reset";
241 this.resetMenuItem.Click += new System.EventHandler(this.resetClick);
245 this.menuItem6.Index = 4;
246 this.menuItem6.Text = "-";
250 this.exitMenuItem.Index = 5;
251 this.exitMenuItem.Text = "Exit";
252 this.exitMenuItem.Click += new System.EventHandler(this.exitClick);
256 this.viewMenuItem.Index = 1;
257 this.viewMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
258 this.resetMinMaxMenuItem,
264 this.columnsMenuItem});
265 this.viewMenuItem.Text = "View";
267 // resetMinMaxMenuItem
269 this.resetMinMaxMenuItem.Index = 0;
270 this.resetMinMaxMenuItem.Text = "Reset Min/Max";
271 this.resetMinMaxMenuItem.Click += new System.EventHandler(this.resetMinMaxMenuItem_Click);
275 this.MenuItem3.Index = 1;
276 this.MenuItem3.Text = "-";
280 this.hiddenMenuItem.Index = 2;
281 this.hiddenMenuItem.Text = "Show Hidden Sensors";
285 this.plotMenuItem.Index = 3;
286 this.plotMenuItem.Text = "Show Plot";
290 this.gadgetMenuItem.Index = 4;
291 this.gadgetMenuItem.Text = "Show Gadget";
295 this.MenuItem1.Index = 5;
296 this.MenuItem1.Text = "-";
300 this.columnsMenuItem.Index = 6;
301 this.columnsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
305 this.columnsMenuItem.Text = "Columns";
309 this.valueMenuItem.Index = 0;
310 this.valueMenuItem.Text = "Value";
314 this.minMenuItem.Index = 1;
315 this.minMenuItem.Text = "Min";
319 this.maxMenuItem.Index = 2;
320 this.maxMenuItem.Text = "Max";
324 this.optionsMenuItem.Index = 2;
325 this.optionsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
326 this.startMinMenuItem,
327 this.minTrayMenuItem,
328 this.minCloseMenuItem,
329 this.startupMenuItem,
330 this.separatorMenuItem,
331 this.temperatureUnitsMenuItem,
332 this.plotLocationMenuItem,
335 this.optionsMenuItem.Text = "Options";
339 this.startMinMenuItem.Index = 0;
340 this.startMinMenuItem.Text = "Start Minimized";
344 this.minTrayMenuItem.Index = 1;
345 this.minTrayMenuItem.Text = "Minimize To Tray";
349 this.minCloseMenuItem.Index = 2;
350 this.minCloseMenuItem.Text = "Minimize On Close";
354 this.startupMenuItem.Index = 3;
355 this.startupMenuItem.Text = "Run On Windows Startup";
359 this.separatorMenuItem.Index = 4;
360 this.separatorMenuItem.Text = "-";
362 // temperatureUnitsMenuItem
364 this.temperatureUnitsMenuItem.Index = 5;
365 this.temperatureUnitsMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
366 this.celsiusMenuItem,
367 this.fahrenheitMenuItem});
368 this.temperatureUnitsMenuItem.Text = "Temperature Unit";
372 this.celsiusMenuItem.Index = 0;
373 this.celsiusMenuItem.Text = "Celsius";
374 this.celsiusMenuItem.Click += new System.EventHandler(this.celsiusMenuItem_Click);
376 // fahrenheitMenuItem
378 this.fahrenheitMenuItem.Index = 1;
379 this.fahrenheitMenuItem.Text = "Fahrenheit";
380 this.fahrenheitMenuItem.Click += new System.EventHandler(this.fahrenheitMenuItem_Click);
384 this.MenuItem4.Index = 7;
385 this.MenuItem4.Text = "-";
389 this.hddMenuItem.Index = 8;
390 this.hddMenuItem.Text = "Read HDD sensors";
394 this.helpMenuItem.Index = 3;
395 this.helpMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
396 this.aboutMenuItem});
397 this.helpMenuItem.Text = "Help";
401 this.aboutMenuItem.Index = 0;
402 this.aboutMenuItem.Text = "About";
403 this.aboutMenuItem.Click += new System.EventHandler(this.aboutMenuItem_Click);
407 this.saveFileDialog.DefaultExt = "txt";
408 this.saveFileDialog.FileName = "OpenHardwareMonitor.Report.txt";
409 this.saveFileDialog.Filter = "Text Documents|*.txt|All Files|*.*";
410 this.saveFileDialog.RestoreDirectory = true;
411 this.saveFileDialog.Title = "Save Report As";
415 this.timer.Interval = 1000;
416 this.timer.Tick += new System.EventHandler(this.timer_Tick);
420 this.splitContainer.Border3DStyle = System.Windows.Forms.Border3DStyle.Raised;
421 this.splitContainer.Color = System.Drawing.SystemColors.Control;
422 this.splitContainer.Cursor = System.Windows.Forms.Cursors.Default;
423 this.splitContainer.Location = new System.Drawing.Point(12, 12);
424 this.splitContainer.Name = "splitContainer";
425 this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
427 // splitContainer.Panel1
429 this.splitContainer.Panel1.Controls.Add(this.treeView);
431 // splitContainer.Panel2
433 this.splitContainer.Panel2.Cursor = System.Windows.Forms.Cursors.Default;
434 this.splitContainer.Size = new System.Drawing.Size(386, 483);
435 this.splitContainer.SplitterDistance = 354;
436 this.splitContainer.SplitterWidth = 5;
437 this.splitContainer.TabIndex = 3;
441 this.treeView.BackColor = System.Drawing.SystemColors.Window;
442 this.treeView.BorderStyle = System.Windows.Forms.BorderStyle.None;
443 this.treeView.Columns.Add(this.sensor);
444 this.treeView.Columns.Add(this.value);
445 this.treeView.Columns.Add(this.min);
446 this.treeView.Columns.Add(this.max);
447 this.treeView.DefaultToolTipProvider = null;
448 this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
449 this.treeView.DragDropMarkColor = System.Drawing.Color.Black;
450 this.treeView.FullRowSelect = true;
451 this.treeView.GridLineStyle = Aga.Controls.Tree.GridLineStyle.Horizontal;
452 this.treeView.LineColor = System.Drawing.SystemColors.ControlDark;
453 this.treeView.Location = new System.Drawing.Point(0, 0);
454 this.treeView.Model = null;
455 this.treeView.Name = "treeView";
456 this.treeView.NodeControls.Add(this.nodeImage);
457 this.treeView.NodeControls.Add(this.nodeCheckBox);
458 this.treeView.NodeControls.Add(this.nodeTextBoxText);
459 this.treeView.NodeControls.Add(this.nodeTextBoxValue);
460 this.treeView.NodeControls.Add(this.nodeTextBoxMin);
461 this.treeView.NodeControls.Add(this.nodeTextBoxMax);
462 this.treeView.SelectedNode = null;
463 this.treeView.Size = new System.Drawing.Size(386, 354);
464 this.treeView.TabIndex = 0;
465 this.treeView.Text = "treeView";
466 this.treeView.UseColumns = true;
467 this.treeView.NodeMouseDoubleClick += new System.EventHandler<Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this.treeView_NodeMouseDoubleClick);
468 this.treeView.Click += new System.EventHandler(this.treeView_Click);
469 this.treeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseDown);
470 this.treeView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseMove);
471 this.treeView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseUp);
473 // plotLocationMenuItem
475 this.plotLocationMenuItem.Index = 6;
476 this.plotLocationMenuItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
477 this.plotWindowMenuItem,
478 this.plotBottomMenuItem,
479 this.plotRightMenuItem});
480 this.plotLocationMenuItem.Text = "Plot Location";
482 // plotWindowMenuItem
484 this.plotWindowMenuItem.Index = 0;
485 this.plotWindowMenuItem.Text = "Window";
487 // plotBottomMenuItem
489 this.plotBottomMenuItem.Index = 1;
490 this.plotBottomMenuItem.Text = "Bottom";
494 this.plotRightMenuItem.Index = 2;
495 this.plotRightMenuItem.Text = "Right";
499 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
500 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
501 this.ClientSize = new System.Drawing.Size(418, 554);
502 this.Controls.Add(this.splitContainer);
503 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
504 this.Menu = this.mainMenu;
505 this.Name = "MainForm";
506 this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
507 this.Text = "Open Hardware Monitor";
508 this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
509 this.Load += new System.EventHandler(this.MainForm_Load);
510 this.ResizeEnd += new System.EventHandler(this.MainForm_MoveOrResize);
511 this.Move += new System.EventHandler(this.MainForm_MoveOrResize);
512 this.splitContainer.Panel1.ResumeLayout(false);
513 this.splitContainer.Panel2.ResumeLayout(false);
514 this.splitContainer.ResumeLayout(false);
515 this.ResumeLayout(false);
521 private Aga.Controls.Tree.TreeViewAdv treeView;
522 private System.Windows.Forms.MainMenu mainMenu;
523 private System.Windows.Forms.MenuItem fileMenuItem;
524 private System.Windows.Forms.MenuItem exitMenuItem;
525 private Aga.Controls.Tree.TreeColumn sensor;
526 private Aga.Controls.Tree.TreeColumn value;
527 private Aga.Controls.Tree.TreeColumn min;
528 private Aga.Controls.Tree.TreeColumn max;
529 private Aga.Controls.Tree.NodeControls.NodeIcon nodeImage;
530 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxText;
531 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxValue;
532 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMin;
533 private Aga.Controls.Tree.NodeControls.NodeTextBox nodeTextBoxMax;
534 private SplitContainerAdv splitContainer;
535 private System.Windows.Forms.MenuItem viewMenuItem;
536 private System.Windows.Forms.MenuItem plotMenuItem;
537 private Aga.Controls.Tree.NodeControls.NodeCheckBox nodeCheckBox;
538 private System.Windows.Forms.MenuItem helpMenuItem;
539 private System.Windows.Forms.MenuItem aboutMenuItem;
540 private System.Windows.Forms.MenuItem saveReportMenuItem;
541 private System.Windows.Forms.MenuItem optionsMenuItem;
542 private System.Windows.Forms.MenuItem hddMenuItem;
543 private System.Windows.Forms.MenuItem minTrayMenuItem;
544 private System.Windows.Forms.MenuItem separatorMenuItem;
545 private System.Windows.Forms.ContextMenu treeContextMenu;
546 private System.Windows.Forms.MenuItem startMinMenuItem;
547 private System.Windows.Forms.MenuItem startupMenuItem;
548 private System.Windows.Forms.SaveFileDialog saveFileDialog;
549 private System.Windows.Forms.Timer timer;
550 private System.Windows.Forms.MenuItem hiddenMenuItem;
551 private System.Windows.Forms.MenuItem MenuItem1;
552 private System.Windows.Forms.MenuItem columnsMenuItem;
553 private System.Windows.Forms.MenuItem valueMenuItem;
554 private System.Windows.Forms.MenuItem minMenuItem;
555 private System.Windows.Forms.MenuItem maxMenuItem;
556 private System.Windows.Forms.MenuItem temperatureUnitsMenuItem;
557 private System.Windows.Forms.MenuItem MenuItem4;
558 private System.Windows.Forms.MenuItem celsiusMenuItem;
559 private System.Windows.Forms.MenuItem fahrenheitMenuItem;
560 private System.Windows.Forms.MenuItem sumbitReportMenuItem;
561 private System.Windows.Forms.MenuItem MenuItem2;
562 private System.Windows.Forms.MenuItem resetMinMaxMenuItem;
563 private System.Windows.Forms.MenuItem MenuItem3;
564 private System.Windows.Forms.MenuItem gadgetMenuItem;
565 private System.Windows.Forms.MenuItem minCloseMenuItem;
566 private System.Windows.Forms.MenuItem resetMenuItem;
567 private System.Windows.Forms.MenuItem menuItem6;
568 private System.Windows.Forms.MenuItem plotLocationMenuItem;
569 private System.Windows.Forms.MenuItem plotWindowMenuItem;
570 private System.Windows.Forms.MenuItem plotBottomMenuItem;
571 private System.Windows.Forms.MenuItem plotRightMenuItem;