Added license to the WMI stuff and refactored a few things a little.
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 ReportForm {
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.sendButton = new System.Windows.Forms.Button();
64 this.exitButton = new System.Windows.Forms.Button();
65 this.commentTextBox = new System.Windows.Forms.TextBox();
66 this.label3 = new System.Windows.Forms.Label();
67 this.label1 = new System.Windows.Forms.Label();
68 this.commentPanel = new System.Windows.Forms.Panel();
69 this.reportPanel = new System.Windows.Forms.Panel();
70 this.reportTextBox = new System.Windows.Forms.TextBox();
71 this.textBox1 = new System.Windows.Forms.TextBox();
72 this.label2 = new System.Windows.Forms.Label();
73 this.emailTextBox = new System.Windows.Forms.TextBox();
74 this.titleLabel = new System.Windows.Forms.Label();
75 this.commentPanel.SuspendLayout();
76 this.reportPanel.SuspendLayout();
81 this.sendButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
82 this.sendButton.Location = new System.Drawing.Point(472, 627);
83 this.sendButton.Name = "sendButton";
84 this.sendButton.Size = new System.Drawing.Size(75, 23);
85 this.sendButton.TabIndex = 2;
86 this.sendButton.Text = "Send";
87 this.sendButton.UseVisualStyleBackColor = true;
88 this.sendButton.Click += new System.EventHandler(this.sendButton_Click);
92 this.exitButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
93 this.exitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
94 this.exitButton.Location = new System.Drawing.Point(553, 627);
95 this.exitButton.Name = "exitButton";
96 this.exitButton.Size = new System.Drawing.Size(75, 23);
97 this.exitButton.TabIndex = 3;
98 this.exitButton.Text = "Canel";
99 this.exitButton.UseVisualStyleBackColor = true;
103 this.commentTextBox.AcceptsReturn = true;
104 this.commentTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
105 this.commentTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
106 this.commentTextBox.Location = new System.Drawing.Point(4, 4);
107 this.commentTextBox.Multiline = true;
108 this.commentTextBox.Name = "commentTextBox";
109 this.commentTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
110 this.commentTextBox.Size = new System.Drawing.Size(609, 77);
111 this.commentTextBox.TabIndex = 1;
115 this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
116 | System.Windows.Forms.AnchorStyles.Right)));
117 this.label3.AutoEllipsis = true;
118 this.label3.AutoSize = true;
119 this.label3.Location = new System.Drawing.Point(9, 39);
120 this.label3.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
121 this.label3.Name = "label3";
122 this.label3.Size = new System.Drawing.Size(253, 13);
123 this.label3.TabIndex = 5;
124 this.label3.Text = "The following report has been created automatically:";
128 this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
129 | System.Windows.Forms.AnchorStyles.Right)));
130 this.label1.AutoEllipsis = true;
131 this.label1.AutoSize = true;
132 this.label1.Location = new System.Drawing.Point(9, 505);
133 this.label1.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
134 this.label1.Name = "label1";
135 this.label1.Size = new System.Drawing.Size(279, 13);
136 this.label1.TabIndex = 6;
137 this.label1.Text = "You can add additional information to the report (optional):";
141 this.commentPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
142 | System.Windows.Forms.AnchorStyles.Right)));
143 this.commentPanel.BackColor = System.Drawing.SystemColors.Window;
144 this.commentPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
145 this.commentPanel.Controls.Add(this.commentTextBox);
146 this.commentPanel.Location = new System.Drawing.Point(12, 529);
147 this.commentPanel.Margin = new System.Windows.Forms.Padding(3, 3, 3, 8);
148 this.commentPanel.Name = "commentPanel";
149 this.commentPanel.Padding = new System.Windows.Forms.Padding(4, 4, 1, 4);
150 this.commentPanel.Size = new System.Drawing.Size(616, 87);
151 this.commentPanel.TabIndex = 1;
152 this.commentPanel.TabStop = true;
156 this.reportPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
157 | System.Windows.Forms.AnchorStyles.Left)
158 | System.Windows.Forms.AnchorStyles.Right)));
159 this.reportPanel.BackColor = System.Drawing.SystemColors.Window;
160 this.reportPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
161 this.reportPanel.Controls.Add(this.reportTextBox);
162 this.reportPanel.Controls.Add(this.textBox1);
163 this.reportPanel.Location = new System.Drawing.Point(12, 63);
164 this.reportPanel.Name = "reportPanel";
165 this.reportPanel.Padding = new System.Windows.Forms.Padding(4, 4, 1, 4);
166 this.reportPanel.Size = new System.Drawing.Size(616, 394);
167 this.reportPanel.TabIndex = 8;
171 this.reportTextBox.BackColor = System.Drawing.SystemColors.Window;
172 this.reportTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
173 this.reportTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
174 this.reportTextBox.Location = new System.Drawing.Point(4, 4);
175 this.reportTextBox.Multiline = true;
176 this.reportTextBox.Name = "reportTextBox";
177 this.reportTextBox.ReadOnly = true;
178 this.reportTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
179 this.reportTextBox.Size = new System.Drawing.Size(609, 384);
180 this.reportTextBox.TabIndex = 9;
181 this.reportTextBox.TabStop = false;
185 this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
186 this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
187 this.textBox1.Location = new System.Drawing.Point(4, 4);
188 this.textBox1.Multiline = true;
189 this.textBox1.Name = "textBox1";
190 this.textBox1.Size = new System.Drawing.Size(609, 384);
191 this.textBox1.TabIndex = 2;
195 this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
196 | System.Windows.Forms.AnchorStyles.Right)));
197 this.label2.AutoEllipsis = true;
198 this.label2.AutoSize = true;
199 this.label2.Location = new System.Drawing.Point(9, 476);
200 this.label2.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
201 this.label2.Name = "label2";
202 this.label2.Size = new System.Drawing.Size(171, 13);
203 this.label2.TabIndex = 9;
204 this.label2.Text = "Enter your email address (optional):";
208 this.emailTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
209 | System.Windows.Forms.AnchorStyles.Right)));
210 this.emailTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
211 this.emailTextBox.Location = new System.Drawing.Point(188, 473);
212 this.emailTextBox.Name = "emailTextBox";
213 this.emailTextBox.Size = new System.Drawing.Size(440, 20);
214 this.emailTextBox.TabIndex = 0;
218 this.titleLabel.AutoSize = true;
219 this.titleLabel.Location = new System.Drawing.Point(9, 14);
220 this.titleLabel.Name = "titleLabel";
221 this.titleLabel.Size = new System.Drawing.Size(409, 13);
222 this.titleLabel.TabIndex = 10;
223 this.titleLabel.Text = "Help improve the Open Hardware Monitor by submitting a report about your hardware" +
228 this.AcceptButton = this.sendButton;
229 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
230 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
231 this.CancelButton = this.exitButton;
232 this.ClientSize = new System.Drawing.Size(640, 662);
233 this.ControlBox = false;
234 this.Controls.Add(this.titleLabel);
235 this.Controls.Add(this.emailTextBox);
236 this.Controls.Add(this.label2);
237 this.Controls.Add(this.reportPanel);
238 this.Controls.Add(this.commentPanel);
239 this.Controls.Add(this.label1);
240 this.Controls.Add(this.label3);
241 this.Controls.Add(this.exitButton);
242 this.Controls.Add(this.sendButton);
243 this.MaximizeBox = false;
244 this.MinimizeBox = false;
245 this.Name = "ReportForm";
246 this.ShowIcon = false;
247 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
248 this.Text = "Open Hardware Monitor";
249 this.commentPanel.ResumeLayout(false);
250 this.commentPanel.PerformLayout();
251 this.reportPanel.ResumeLayout(false);
252 this.reportPanel.PerformLayout();
253 this.ResumeLayout(false);
254 this.PerformLayout();
260 private System.Windows.Forms.Button sendButton;
261 private System.Windows.Forms.Button exitButton;
262 private System.Windows.Forms.TextBox commentTextBox;
263 private System.Windows.Forms.Label label3;
264 private System.Windows.Forms.Label label1;
265 private System.Windows.Forms.Panel commentPanel;
266 private System.Windows.Forms.Panel reportPanel;
267 private System.Windows.Forms.TextBox reportTextBox;
268 private System.Windows.Forms.TextBox textBox1;
269 private System.Windows.Forms.Label label2;
270 private System.Windows.Forms.TextBox emailTextBox;
271 private System.Windows.Forms.Label titleLabel;