GUI/MainForm.Designer.cs
changeset 27 beed5a9e1b78
parent 24 09ab31bee6bd
child 28 9b205b2ab056
     1.1 --- a/GUI/MainForm.Designer.cs	Thu Feb 04 21:19:27 2010 +0000
     1.2 +++ b/GUI/MainForm.Designer.cs	Fri Feb 05 22:45:15 2010 +0000
     1.3 @@ -88,8 +88,8 @@
     1.4        this.sensorsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     1.5        this.voltMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     1.6        this.clocksMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     1.7 +      this.tempMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     1.8        this.loadMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     1.9 -      this.tempMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    1.10        this.fansMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    1.11        this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
    1.12        this.plotMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    1.13 @@ -100,11 +100,17 @@
    1.14        this.timer = new System.Windows.Forms.Timer(this.components);
    1.15        this.splitContainer = new System.Windows.Forms.SplitContainer();
    1.16        this.plotPanel = new OpenHardwareMonitor.GUI.PlotPanel();
    1.17 +      this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
    1.18 +      this.notifyContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
    1.19 +      this.restoreToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    1.20 +      this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
    1.21 +      this.exitToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
    1.22        this.columnsContextMenuStrip.SuspendLayout();
    1.23        this.menuStrip.SuspendLayout();
    1.24        this.splitContainer.Panel1.SuspendLayout();
    1.25        this.splitContainer.Panel2.SuspendLayout();
    1.26        this.splitContainer.SuspendLayout();
    1.27 +      this.notifyContextMenuStrip.SuspendLayout();
    1.28        this.SuspendLayout();
    1.29        // 
    1.30        // treeView
    1.31 @@ -332,7 +338,7 @@
    1.32              this.loadMenuItem,
    1.33              this.fansMenuItem});
    1.34        this.sensorsToolStripMenuItem.Name = "sensorsToolStripMenuItem";
    1.35 -      this.sensorsToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
    1.36 +      this.sensorsToolStripMenuItem.Size = new System.Drawing.Size(114, 22);
    1.37        this.sensorsToolStripMenuItem.Text = "Sensors";
    1.38        // 
    1.39        // voltMenuItem
    1.40 @@ -341,7 +347,7 @@
    1.41        this.voltMenuItem.CheckOnClick = true;
    1.42        this.voltMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
    1.43        this.voltMenuItem.Name = "voltMenuItem";
    1.44 -      this.voltMenuItem.Size = new System.Drawing.Size(152, 22);
    1.45 +      this.voltMenuItem.Size = new System.Drawing.Size(147, 22);
    1.46        this.voltMenuItem.Text = "Voltages";
    1.47        this.voltMenuItem.CheckedChanged += new System.EventHandler(this.UpdateSensorTypeChecked);
    1.48        // 
    1.49 @@ -351,44 +357,44 @@
    1.50        this.clocksMenuItem.CheckOnClick = true;
    1.51        this.clocksMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
    1.52        this.clocksMenuItem.Name = "clocksMenuItem";
    1.53 -      this.clocksMenuItem.Size = new System.Drawing.Size(152, 22);
    1.54 +      this.clocksMenuItem.Size = new System.Drawing.Size(147, 22);
    1.55        this.clocksMenuItem.Text = "Clocks";
    1.56        this.clocksMenuItem.CheckedChanged += new System.EventHandler(this.UpdateSensorTypeChecked);
    1.57        // 
    1.58 +      // tempMenuItem
    1.59 +      // 
    1.60 +      this.tempMenuItem.Checked = true;
    1.61 +      this.tempMenuItem.CheckOnClick = true;
    1.62 +      this.tempMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
    1.63 +      this.tempMenuItem.Name = "tempMenuItem";
    1.64 +      this.tempMenuItem.Size = new System.Drawing.Size(147, 22);
    1.65 +      this.tempMenuItem.Text = "Temperatures";
    1.66 +      this.tempMenuItem.CheckedChanged += new System.EventHandler(this.UpdateSensorTypeChecked);
    1.67 +      // 
    1.68        // loadMenuItem
    1.69        // 
    1.70        this.loadMenuItem.Checked = true;
    1.71        this.loadMenuItem.CheckOnClick = true;
    1.72        this.loadMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
    1.73        this.loadMenuItem.Name = "loadMenuItem";
    1.74 -      this.loadMenuItem.Size = new System.Drawing.Size(152, 22);
    1.75 +      this.loadMenuItem.Size = new System.Drawing.Size(147, 22);
    1.76        this.loadMenuItem.Text = "Load";
    1.77        this.loadMenuItem.CheckedChanged += new System.EventHandler(this.UpdateSensorTypeChecked);
    1.78        // 
    1.79 -      // tempMenuItem
    1.80 -      // 
    1.81 -      this.tempMenuItem.Checked = true;
    1.82 -      this.tempMenuItem.CheckOnClick = true;
    1.83 -      this.tempMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
    1.84 -      this.tempMenuItem.Name = "tempMenuItem";
    1.85 -      this.tempMenuItem.Size = new System.Drawing.Size(152, 22);
    1.86 -      this.tempMenuItem.Text = "Temperatures";
    1.87 -      this.tempMenuItem.CheckedChanged += new System.EventHandler(this.UpdateSensorTypeChecked);
    1.88 -      // 
    1.89        // fansMenuItem
    1.90        // 
    1.91        this.fansMenuItem.Checked = true;
    1.92        this.fansMenuItem.CheckOnClick = true;
    1.93        this.fansMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
    1.94        this.fansMenuItem.Name = "fansMenuItem";
    1.95 -      this.fansMenuItem.Size = new System.Drawing.Size(152, 22);
    1.96 +      this.fansMenuItem.Size = new System.Drawing.Size(147, 22);
    1.97        this.fansMenuItem.Text = "Fans";
    1.98        this.fansMenuItem.CheckedChanged += new System.EventHandler(this.UpdateSensorTypeChecked);
    1.99        // 
   1.100        // toolStripMenuItem1
   1.101        // 
   1.102        this.toolStripMenuItem1.Name = "toolStripMenuItem1";
   1.103 -      this.toolStripMenuItem1.Size = new System.Drawing.Size(149, 6);
   1.104 +      this.toolStripMenuItem1.Size = new System.Drawing.Size(111, 6);
   1.105        // 
   1.106        // plotMenuItem
   1.107        // 
   1.108 @@ -396,7 +402,7 @@
   1.109        this.plotMenuItem.CheckOnClick = true;
   1.110        this.plotMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
   1.111        this.plotMenuItem.Name = "plotMenuItem";
   1.112 -      this.plotMenuItem.Size = new System.Drawing.Size(152, 22);
   1.113 +      this.plotMenuItem.Size = new System.Drawing.Size(114, 22);
   1.114        this.plotMenuItem.Text = "Plot";
   1.115        this.plotMenuItem.CheckedChanged += new System.EventHandler(this.plotToolStripMenuItem_CheckedChanged);
   1.116        // 
   1.117 @@ -412,7 +418,7 @@
   1.118        // 
   1.119        this.hddMenuItem.CheckOnClick = true;
   1.120        this.hddMenuItem.Name = "hddMenuItem";
   1.121 -      this.hddMenuItem.Size = new System.Drawing.Size(152, 22);
   1.122 +      this.hddMenuItem.Size = new System.Drawing.Size(141, 22);
   1.123        this.hddMenuItem.Text = "HDD sensors";
   1.124        this.hddMenuItem.CheckedChanged += new System.EventHandler(this.hddsensorsToolStripMenuItem_CheckedChanged);
   1.125        // 
   1.126 @@ -466,6 +472,42 @@
   1.127        this.plotPanel.Size = new System.Drawing.Size(478, 198);
   1.128        this.plotPanel.TabIndex = 0;
   1.129        // 
   1.130 +      // notifyIcon
   1.131 +      // 
   1.132 +      this.notifyIcon.ContextMenuStrip = this.notifyContextMenuStrip;
   1.133 +      this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon")));
   1.134 +      this.notifyIcon.Text = "Open Hardware Monitor";
   1.135 +      this.notifyIcon.Click += new System.EventHandler(this.notifyIcon_Click);
   1.136 +      // 
   1.137 +      // notifyContextMenuStrip
   1.138 +      // 
   1.139 +      this.notifyContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
   1.140 +            this.restoreToolStripMenuItem,
   1.141 +            this.toolStripMenuItem2,
   1.142 +            this.exitToolStripMenuItem1});
   1.143 +      this.notifyContextMenuStrip.Name = "notifyContextMenuStrip";
   1.144 +      this.notifyContextMenuStrip.Size = new System.Drawing.Size(153, 76);
   1.145 +      // 
   1.146 +      // restoreToolStripMenuItem
   1.147 +      // 
   1.148 +      this.restoreToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F);
   1.149 +      this.restoreToolStripMenuItem.Name = "restoreToolStripMenuItem";
   1.150 +      this.restoreToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
   1.151 +      this.restoreToolStripMenuItem.Text = "Restore";
   1.152 +      this.restoreToolStripMenuItem.Click += new System.EventHandler(this.restoreToolStripMenuItem_Click);
   1.153 +      // 
   1.154 +      // toolStripMenuItem2
   1.155 +      // 
   1.156 +      this.toolStripMenuItem2.Name = "toolStripMenuItem2";
   1.157 +      this.toolStripMenuItem2.Size = new System.Drawing.Size(149, 6);
   1.158 +      // 
   1.159 +      // exitToolStripMenuItem1
   1.160 +      // 
   1.161 +      this.exitToolStripMenuItem1.Name = "exitToolStripMenuItem1";
   1.162 +      this.exitToolStripMenuItem1.Size = new System.Drawing.Size(152, 22);
   1.163 +      this.exitToolStripMenuItem1.Text = "Exit";
   1.164 +      this.exitToolStripMenuItem1.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
   1.165 +      // 
   1.166        // MainForm
   1.167        // 
   1.168        this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
   1.169 @@ -486,6 +528,7 @@
   1.170        this.splitContainer.Panel1.ResumeLayout(false);
   1.171        this.splitContainer.Panel2.ResumeLayout(false);
   1.172        this.splitContainer.ResumeLayout(false);
   1.173 +      this.notifyContextMenuStrip.ResumeLayout(false);
   1.174        this.ResumeLayout(false);
   1.175        this.PerformLayout();
   1.176  
   1.177 @@ -531,6 +574,11 @@
   1.178      private System.Windows.Forms.ToolStripMenuItem voltMenuItem;
   1.179      private System.Windows.Forms.ToolStripMenuItem hddMenuItem;
   1.180      private System.Windows.Forms.ToolStripMenuItem loadMenuItem;
   1.181 +    private System.Windows.Forms.NotifyIcon notifyIcon;
   1.182 +    private System.Windows.Forms.ContextMenuStrip notifyContextMenuStrip;
   1.183 +    private System.Windows.Forms.ToolStripMenuItem restoreToolStripMenuItem;
   1.184 +    private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
   1.185 +    private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem1;
   1.186    }
   1.187  }
   1.188