GUI/CrashForm.Designer.cs
author moel.mich
Tue, 27 Jul 2010 18:38:11 +0000
changeset 159 eda3e3458cf4
child 344 3145aadca3d2
permissions -rw-r--r--
Refactoring and fine tuning for Linux GUI.
     1 /*
     2   
     3   Version: MPL 1.1/GPL 2.0/LGPL 2.1
     4 
     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
     8  
     9   http://www.mozilla.org/MPL/
    10 
    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.
    14 
    15   The Original Code is the Open Hardware Monitor code.
    16 
    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.
    21 
    22   Contributor(s):
    23 
    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.
    35  
    36 */
    37 
    38 namespace OpenHardwareMonitor.GUI {
    39   partial class CrashForm {
    40     /// <summary>
    41     /// Required designer variable.
    42     /// </summary>
    43     private System.ComponentModel.IContainer components = null;
    44 
    45     /// <summary>
    46     /// Clean up any resources being used.
    47     /// </summary>
    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)) {
    51         components.Dispose();
    52       }
    53       base.Dispose(disposing);
    54     }
    55 
    56     #region Windows Form Designer generated code
    57 
    58     /// <summary>
    59     /// Required method for Designer support - do not modify
    60     /// the contents of this method with the code editor.
    61     /// </summary>
    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.titleLabel = new System.Windows.Forms.Label();
    67       this.label3 = new System.Windows.Forms.Label();
    68       this.label1 = new System.Windows.Forms.Label();
    69       this.commentPanel = new System.Windows.Forms.Panel();
    70       this.reportPanel = new System.Windows.Forms.Panel();
    71       this.reportTextBox = new System.Windows.Forms.TextBox();
    72       this.textBox1 = new System.Windows.Forms.TextBox();
    73       this.label2 = new System.Windows.Forms.Label();
    74       this.emailTextBox = new System.Windows.Forms.TextBox();
    75       this.commentPanel.SuspendLayout();
    76       this.reportPanel.SuspendLayout();
    77       this.SuspendLayout();
    78       // 
    79       // sendButton
    80       // 
    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(449, 469);
    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);
    89       // 
    90       // exitButton
    91       // 
    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(530, 469);
    95       this.exitButton.Name = "exitButton";
    96       this.exitButton.Size = new System.Drawing.Size(75, 23);
    97       this.exitButton.TabIndex = 3;
    98       this.exitButton.Text = "Exit";
    99       this.exitButton.UseVisualStyleBackColor = true;
   100       // 
   101       // commentTextBox
   102       // 
   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(586, 77);
   111       this.commentTextBox.TabIndex = 1;
   112       // 
   113       // titleLabel
   114       // 
   115       this.titleLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
   116                   | System.Windows.Forms.AnchorStyles.Right)));
   117       this.titleLabel.BackColor = System.Drawing.SystemColors.Window;
   118       this.titleLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
   119       this.titleLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
   120       this.titleLabel.Location = new System.Drawing.Point(-1, -1);
   121       this.titleLabel.Name = "titleLabel";
   122       this.titleLabel.Padding = new System.Windows.Forms.Padding(10);
   123       this.titleLabel.Size = new System.Drawing.Size(619, 52);
   124       this.titleLabel.TabIndex = 4;
   125       this.titleLabel.Text = "Open Hardware Monitor has encountered a problem and needs to close. We are sorry " +
   126           "for the inconvenience.";
   127       // 
   128       // label3
   129       // 
   130       this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
   131                   | System.Windows.Forms.AnchorStyles.Right)));
   132       this.label3.AutoEllipsis = true;
   133       this.label3.AutoSize = true;
   134       this.label3.Location = new System.Drawing.Point(9, 63);
   135       this.label3.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
   136       this.label3.Name = "label3";
   137       this.label3.Size = new System.Drawing.Size(571, 13);
   138       this.label3.TabIndex = 5;
   139       this.label3.Text = "To help diagnose and fix the problem, you can send a crash report. The following " +
   140           "report has been created automatically:";
   141       // 
   142       // label1
   143       // 
   144       this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
   145                   | System.Windows.Forms.AnchorStyles.Right)));
   146       this.label1.AutoEllipsis = true;
   147       this.label1.AutoSize = true;
   148       this.label1.Location = new System.Drawing.Point(9, 347);
   149       this.label1.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
   150       this.label1.Name = "label1";
   151       this.label1.Size = new System.Drawing.Size(279, 13);
   152       this.label1.TabIndex = 6;
   153       this.label1.Text = "You can add additional information to the report (optional):";
   154       // 
   155       // commentPanel
   156       // 
   157       this.commentPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
   158                   | System.Windows.Forms.AnchorStyles.Right)));
   159       this.commentPanel.BackColor = System.Drawing.SystemColors.Window;
   160       this.commentPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
   161       this.commentPanel.Controls.Add(this.commentTextBox);
   162       this.commentPanel.Location = new System.Drawing.Point(12, 371);
   163       this.commentPanel.Margin = new System.Windows.Forms.Padding(3, 3, 3, 8);
   164       this.commentPanel.Name = "commentPanel";
   165       this.commentPanel.Padding = new System.Windows.Forms.Padding(4, 4, 1, 4);
   166       this.commentPanel.Size = new System.Drawing.Size(593, 87);
   167       this.commentPanel.TabIndex = 1;
   168       this.commentPanel.TabStop = true;
   169       // 
   170       // reportPanel
   171       // 
   172       this.reportPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
   173                   | System.Windows.Forms.AnchorStyles.Left)
   174                   | System.Windows.Forms.AnchorStyles.Right)));
   175       this.reportPanel.BackColor = System.Drawing.SystemColors.Window;
   176       this.reportPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
   177       this.reportPanel.Controls.Add(this.reportTextBox);
   178       this.reportPanel.Controls.Add(this.textBox1);
   179       this.reportPanel.Location = new System.Drawing.Point(12, 87);
   180       this.reportPanel.Name = "reportPanel";
   181       this.reportPanel.Padding = new System.Windows.Forms.Padding(4, 4, 1, 4);
   182       this.reportPanel.Size = new System.Drawing.Size(593, 212);
   183       this.reportPanel.TabIndex = 8;
   184       // 
   185       // reportTextBox
   186       // 
   187       this.reportTextBox.BackColor = System.Drawing.SystemColors.Window;
   188       this.reportTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
   189       this.reportTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
   190       this.reportTextBox.Location = new System.Drawing.Point(4, 4);
   191       this.reportTextBox.Multiline = true;
   192       this.reportTextBox.Name = "reportTextBox";
   193       this.reportTextBox.ReadOnly = true;
   194       this.reportTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
   195       this.reportTextBox.Size = new System.Drawing.Size(586, 202);
   196       this.reportTextBox.TabIndex = 9;
   197       this.reportTextBox.TabStop = false;
   198       // 
   199       // textBox1
   200       // 
   201       this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
   202       this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
   203       this.textBox1.Location = new System.Drawing.Point(4, 4);
   204       this.textBox1.Multiline = true;
   205       this.textBox1.Name = "textBox1";
   206       this.textBox1.Size = new System.Drawing.Size(586, 202);
   207       this.textBox1.TabIndex = 2;
   208       // 
   209       // label2
   210       // 
   211       this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
   212                   | System.Windows.Forms.AnchorStyles.Right)));
   213       this.label2.AutoEllipsis = true;
   214       this.label2.AutoSize = true;
   215       this.label2.Location = new System.Drawing.Point(9, 318);
   216       this.label2.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
   217       this.label2.Name = "label2";
   218       this.label2.Size = new System.Drawing.Size(171, 13);
   219       this.label2.TabIndex = 9;
   220       this.label2.Text = "Enter your email address (optional):";
   221       // 
   222       // emailTextBox
   223       // 
   224       this.emailTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
   225                   | System.Windows.Forms.AnchorStyles.Right)));
   226       this.emailTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
   227       this.emailTextBox.Location = new System.Drawing.Point(188, 315);
   228       this.emailTextBox.Name = "emailTextBox";
   229       this.emailTextBox.Size = new System.Drawing.Size(417, 20);
   230       this.emailTextBox.TabIndex = 0;
   231       // 
   232       // CrashReportForm
   233       // 
   234       this.AcceptButton = this.sendButton;
   235       this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
   236       this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
   237       this.CancelButton = this.exitButton;
   238       this.ClientSize = new System.Drawing.Size(617, 504);
   239       this.ControlBox = false;
   240       this.Controls.Add(this.emailTextBox);
   241       this.Controls.Add(this.label2);
   242       this.Controls.Add(this.reportPanel);
   243       this.Controls.Add(this.commentPanel);
   244       this.Controls.Add(this.label1);
   245       this.Controls.Add(this.label3);
   246       this.Controls.Add(this.titleLabel);
   247       this.Controls.Add(this.exitButton);
   248       this.Controls.Add(this.sendButton);
   249       this.MaximizeBox = false;
   250       this.MinimizeBox = false;
   251       this.Name = "CrashReportForm";
   252       this.ShowIcon = false;
   253       this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
   254       this.Text = "Open Hardware Monitor";
   255       this.commentPanel.ResumeLayout(false);
   256       this.commentPanel.PerformLayout();
   257       this.reportPanel.ResumeLayout(false);
   258       this.reportPanel.PerformLayout();
   259       this.ResumeLayout(false);
   260       this.PerformLayout();
   261 
   262     }
   263 
   264     #endregion
   265 
   266     private System.Windows.Forms.Button sendButton;
   267     private System.Windows.Forms.Button exitButton;
   268     private System.Windows.Forms.TextBox commentTextBox;
   269     private System.Windows.Forms.Label titleLabel;
   270     private System.Windows.Forms.Label label3;
   271     private System.Windows.Forms.Label label1;
   272     private System.Windows.Forms.Panel commentPanel;
   273     private System.Windows.Forms.Panel reportPanel;
   274     private System.Windows.Forms.TextBox reportTextBox;
   275     private System.Windows.Forms.TextBox textBox1;
   276     private System.Windows.Forms.Label label2;
   277     private System.Windows.Forms.TextBox emailTextBox;
   278   }
   279 }