Replaced all menus with the native implementations MainMenu and ContextMenu. Fixed a bug with the sensor renaming context menu.
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-2010
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 AboutBox {
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 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutBox));
64 this.okButton = new System.Windows.Forms.Button();
65 this.pictureBox1 = new System.Windows.Forms.PictureBox();
66 this.label1 = new System.Windows.Forms.Label();
67 this.label2 = new System.Windows.Forms.Label();
68 this.label3 = new System.Windows.Forms.Label();
69 this.label4 = new System.Windows.Forms.Label();
70 this.linkLabel = new System.Windows.Forms.LinkLabel();
71 this.label5 = new System.Windows.Forms.Label();
72 this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
73 ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
74 this.flowLayoutPanel1.SuspendLayout();
79 this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
80 this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
81 this.okButton.Location = new System.Drawing.Point(305, 142);
82 this.okButton.Name = "okButton";
83 this.okButton.Size = new System.Drawing.Size(87, 27);
84 this.okButton.TabIndex = 0;
85 this.okButton.Text = "OK";
86 this.okButton.UseVisualStyleBackColor = true;
90 this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
91 this.pictureBox1.Location = new System.Drawing.Point(12, 13);
92 this.pictureBox1.Name = "pictureBox1";
93 this.pictureBox1.Size = new System.Drawing.Size(56, 56);
94 this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
95 this.pictureBox1.TabIndex = 1;
96 this.pictureBox1.TabStop = false;
100 this.label1.AutoSize = true;
101 this.label1.Location = new System.Drawing.Point(85, 13);
102 this.label1.Margin = new System.Windows.Forms.Padding(12, 0, 12, 0);
103 this.label1.Name = "label1";
104 this.label1.Size = new System.Drawing.Size(179, 20);
105 this.label1.TabIndex = 2;
106 this.label1.Text = "Open Hardware Monitor";
110 this.label2.AutoSize = true;
111 this.label2.Location = new System.Drawing.Point(86, 54);
112 this.label2.Margin = new System.Windows.Forms.Padding(12, 0, 12, 0);
113 this.label2.Name = "label2";
114 this.label2.Size = new System.Drawing.Size(315, 15);
115 this.label2.TabIndex = 3;
116 this.label2.Text = "Copyright © 2009-2010 Michael Möller. All rights reserved.";
120 this.label3.AutoSize = true;
121 this.label3.Location = new System.Drawing.Point(86, 36);
122 this.label3.Margin = new System.Windows.Forms.Padding(12, 0, 12, 0);
123 this.label3.Name = "label3";
124 this.label3.Size = new System.Drawing.Size(132, 15);
125 this.label3.TabIndex = 4;
126 this.label3.Text = "Version 9.0.30729.1 Beta";
130 this.label4.AutoSize = true;
131 this.label4.Location = new System.Drawing.Point(9, 95);
132 this.label4.Margin = new System.Windows.Forms.Padding(12, 0, 12, 0);
133 this.label4.Name = "label4";
134 this.label4.Size = new System.Drawing.Size(412, 15);
135 this.label4.TabIndex = 5;
136 this.label4.Text = "The source code is available under the terms of the Mozilla Public License 1.1";
140 this.linkLabel.AutoSize = true;
141 this.linkLabel.Location = new System.Drawing.Point(145, 0);
142 this.linkLabel.Margin = new System.Windows.Forms.Padding(0, 0, 12, 0);
143 this.linkLabel.Name = "linkLabel";
144 this.linkLabel.Size = new System.Drawing.Size(176, 15);
145 this.linkLabel.TabIndex = 6;
146 this.linkLabel.TabStop = true;
147 this.linkLabel.Text = "Open Hardware Monitor Project";
148 this.linkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
152 this.label5.AutoSize = true;
153 this.label5.Location = new System.Drawing.Point(0, 0);
154 this.label5.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0);
155 this.label5.Name = "label5";
156 this.label5.Size = new System.Drawing.Size(142, 15);
157 this.label5.TabIndex = 7;
158 this.label5.Text = "from the project website: ";
162 this.flowLayoutPanel1.AutoSize = true;
163 this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
164 this.flowLayoutPanel1.Controls.Add(this.label5);
165 this.flowLayoutPanel1.Controls.Add(this.linkLabel);
166 this.flowLayoutPanel1.Location = new System.Drawing.Point(12, 115);
167 this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(12, 0, 12, 0);
168 this.flowLayoutPanel1.Name = "flowLayoutPanel1";
169 this.flowLayoutPanel1.Size = new System.Drawing.Size(333, 15);
170 this.flowLayoutPanel1.TabIndex = 8;
174 this.AcceptButton = this.okButton;
175 this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
176 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
177 this.AutoSize = true;
178 this.ClientSize = new System.Drawing.Size(404, 182);
179 this.Controls.Add(this.flowLayoutPanel1);
180 this.Controls.Add(this.label4);
181 this.Controls.Add(this.label3);
182 this.Controls.Add(this.label2);
183 this.Controls.Add(this.label1);
184 this.Controls.Add(this.pictureBox1);
185 this.Controls.Add(this.okButton);
186 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
187 this.MaximizeBox = false;
188 this.MinimizeBox = false;
189 this.Name = "AboutBox";
190 this.ShowInTaskbar = false;
191 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
193 ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
194 this.flowLayoutPanel1.ResumeLayout(false);
195 this.flowLayoutPanel1.PerformLayout();
196 this.ResumeLayout(false);
197 this.PerformLayout();
203 private System.Windows.Forms.Button okButton;
204 private System.Windows.Forms.PictureBox pictureBox1;
205 private System.Windows.Forms.Label label1;
206 private System.Windows.Forms.Label label2;
207 private System.Windows.Forms.Label label3;
208 private System.Windows.Forms.Label label4;
209 private System.Windows.Forms.LinkLabel linkLabel;
210 private System.Windows.Forms.Label label5;
211 private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;