diff -r beed5a9e1b78 -r 9b205b2ab056 GUI/MainForm.Designer.cs --- a/GUI/MainForm.Designer.cs Fri Feb 05 22:45:15 2010 +0000 +++ b/GUI/MainForm.Designer.cs Sun Feb 07 16:37:15 2010 +0000 @@ -94,6 +94,8 @@ this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.plotMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.minTrayMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); this.hddMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -409,16 +411,32 @@ // optionsToolStripMenuItem // this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.minTrayMenuItem, + this.toolStripMenuItem3, this.hddMenuItem}); this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; this.optionsToolStripMenuItem.Size = new System.Drawing.Size(61, 20); this.optionsToolStripMenuItem.Text = "Options"; // + // minTrayMenuItem + // + this.minTrayMenuItem.Checked = true; + this.minTrayMenuItem.CheckOnClick = true; + this.minTrayMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; + this.minTrayMenuItem.Name = "minTrayMenuItem"; + this.minTrayMenuItem.Size = new System.Drawing.Size(166, 22); + this.minTrayMenuItem.Text = "Minimize To Tray"; + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(163, 6); + // // hddMenuItem // this.hddMenuItem.CheckOnClick = true; this.hddMenuItem.Name = "hddMenuItem"; - this.hddMenuItem.Size = new System.Drawing.Size(141, 22); + this.hddMenuItem.Size = new System.Drawing.Size(166, 22); this.hddMenuItem.Text = "HDD sensors"; this.hddMenuItem.CheckedChanged += new System.EventHandler(this.hddsensorsToolStripMenuItem_CheckedChanged); // @@ -477,7 +495,7 @@ this.notifyIcon.ContextMenuStrip = this.notifyContextMenuStrip; this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon"))); this.notifyIcon.Text = "Open Hardware Monitor"; - this.notifyIcon.Click += new System.EventHandler(this.notifyIcon_Click); + this.notifyIcon.DoubleClick += new System.EventHandler(this.restoreClick); // // notifyContextMenuStrip // @@ -486,25 +504,25 @@ this.toolStripMenuItem2, this.exitToolStripMenuItem1}); this.notifyContextMenuStrip.Name = "notifyContextMenuStrip"; - this.notifyContextMenuStrip.Size = new System.Drawing.Size(153, 76); + this.notifyContextMenuStrip.Size = new System.Drawing.Size(119, 54); // // restoreToolStripMenuItem // - this.restoreToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F); + this.restoreToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold); this.restoreToolStripMenuItem.Name = "restoreToolStripMenuItem"; - this.restoreToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.restoreToolStripMenuItem.Size = new System.Drawing.Size(118, 22); this.restoreToolStripMenuItem.Text = "Restore"; - this.restoreToolStripMenuItem.Click += new System.EventHandler(this.restoreToolStripMenuItem_Click); + this.restoreToolStripMenuItem.Click += new System.EventHandler(this.restoreClick); // // toolStripMenuItem2 // this.toolStripMenuItem2.Name = "toolStripMenuItem2"; - this.toolStripMenuItem2.Size = new System.Drawing.Size(149, 6); + this.toolStripMenuItem2.Size = new System.Drawing.Size(115, 6); // // exitToolStripMenuItem1 // this.exitToolStripMenuItem1.Name = "exitToolStripMenuItem1"; - this.exitToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.exitToolStripMenuItem1.Size = new System.Drawing.Size(118, 22); this.exitToolStripMenuItem1.Text = "Exit"; this.exitToolStripMenuItem1.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // @@ -579,6 +597,8 @@ private System.Windows.Forms.ToolStripMenuItem restoreToolStripMenuItem; private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2; private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem minTrayMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3; } }