GUI/CrashReportForm.Designer.cs
author moel.mich
Fri, 02 Apr 2010 16:05:07 +0000
changeset 86 b4f0f206173d
child 106 6d6683c2895b
permissions -rw-r--r--
Fixed Issue 26. Added a dialog to automatically send a crash report.
     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 CrashReportForm {
    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.commentPanel.SuspendLayout();
    74       this.reportPanel.SuspendLayout();
    75       this.SuspendLayout();
    76       // 
    77       // sendButton
    78       // 
    79       this.sendButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    80       this.sendButton.Location = new System.Drawing.Point(467, 412);
    81       this.sendButton.Name = "sendButton";
    82       this.sendButton.Size = new System.Drawing.Size(75, 23);
    83       this.sendButton.TabIndex = 1;
    84       this.sendButton.Text = "Send";
    85       this.sendButton.UseVisualStyleBackColor = true;
    86       this.sendButton.Click += new System.EventHandler(this.sendButton_Click);
    87       // 
    88       // exitButton
    89       // 
    90       this.exitButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    91       this.exitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
    92       this.exitButton.Location = new System.Drawing.Point(548, 412);
    93       this.exitButton.Name = "exitButton";
    94       this.exitButton.Size = new System.Drawing.Size(75, 23);
    95       this.exitButton.TabIndex = 2;
    96       this.exitButton.Text = "Exit";
    97       this.exitButton.UseVisualStyleBackColor = true;
    98       // 
    99       // commentTextBox
   100       // 
   101       this.commentTextBox.AcceptsReturn = true;
   102       this.commentTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
   103       this.commentTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
   104       this.commentTextBox.Location = new System.Drawing.Point(4, 4);
   105       this.commentTextBox.Multiline = true;
   106       this.commentTextBox.Name = "commentTextBox";
   107       this.commentTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
   108       this.commentTextBox.Size = new System.Drawing.Size(604, 77);
   109       this.commentTextBox.TabIndex = 0;
   110       // 
   111       // titleLabel
   112       // 
   113       this.titleLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
   114                   | System.Windows.Forms.AnchorStyles.Right)));
   115       this.titleLabel.BackColor = System.Drawing.SystemColors.Window;
   116       this.titleLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
   117       this.titleLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
   118       this.titleLabel.Location = new System.Drawing.Point(-1, -1);
   119       this.titleLabel.Name = "titleLabel";
   120       this.titleLabel.Padding = new System.Windows.Forms.Padding(10);
   121       this.titleLabel.Size = new System.Drawing.Size(637, 52);
   122       this.titleLabel.TabIndex = 4;
   123       this.titleLabel.Text = "Open Hardware Monitor has encountered a problem and needs to close. We are sorry " +
   124           "for the inconvenience.";
   125       // 
   126       // label3
   127       // 
   128       this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
   129                   | System.Windows.Forms.AnchorStyles.Right)));
   130       this.label3.AutoEllipsis = true;
   131       this.label3.AutoSize = true;
   132       this.label3.Location = new System.Drawing.Point(9, 63);
   133       this.label3.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
   134       this.label3.Name = "label3";
   135       this.label3.Size = new System.Drawing.Size(571, 13);
   136       this.label3.TabIndex = 5;
   137       this.label3.Text = "To help diagnose and fix the problem, you can send a crash report. The following " +
   138           "report has been created automatically.";
   139       // 
   140       // label1
   141       // 
   142       this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
   143                   | System.Windows.Forms.AnchorStyles.Right)));
   144       this.label1.AutoEllipsis = true;
   145       this.label1.AutoSize = true;
   146       this.label1.Location = new System.Drawing.Point(9, 290);
   147       this.label1.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
   148       this.label1.Name = "label1";
   149       this.label1.Size = new System.Drawing.Size(233, 13);
   150       this.label1.TabIndex = 6;
   151       this.label1.Text = "You can add additional information to the report.";
   152       // 
   153       // commentPanel
   154       // 
   155       this.commentPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
   156                   | System.Windows.Forms.AnchorStyles.Right)));
   157       this.commentPanel.BackColor = System.Drawing.SystemColors.Window;
   158       this.commentPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
   159       this.commentPanel.Controls.Add(this.commentTextBox);
   160       this.commentPanel.Location = new System.Drawing.Point(12, 314);
   161       this.commentPanel.Margin = new System.Windows.Forms.Padding(3, 3, 3, 8);
   162       this.commentPanel.Name = "commentPanel";
   163       this.commentPanel.Padding = new System.Windows.Forms.Padding(4, 4, 1, 4);
   164       this.commentPanel.Size = new System.Drawing.Size(611, 87);
   165       this.commentPanel.TabIndex = 7;
   166       // 
   167       // reportPanel
   168       // 
   169       this.reportPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
   170                   | System.Windows.Forms.AnchorStyles.Left)
   171                   | System.Windows.Forms.AnchorStyles.Right)));
   172       this.reportPanel.BackColor = System.Drawing.SystemColors.Window;
   173       this.reportPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
   174       this.reportPanel.Controls.Add(this.reportTextBox);
   175       this.reportPanel.Controls.Add(this.textBox1);
   176       this.reportPanel.Location = new System.Drawing.Point(12, 87);
   177       this.reportPanel.Name = "reportPanel";
   178       this.reportPanel.Padding = new System.Windows.Forms.Padding(4, 4, 1, 4);
   179       this.reportPanel.Size = new System.Drawing.Size(611, 188);
   180       this.reportPanel.TabIndex = 8;
   181       // 
   182       // reportTextBox
   183       // 
   184       this.reportTextBox.BackColor = System.Drawing.SystemColors.Window;
   185       this.reportTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
   186       this.reportTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
   187       this.reportTextBox.Location = new System.Drawing.Point(4, 4);
   188       this.reportTextBox.Multiline = true;
   189       this.reportTextBox.Name = "reportTextBox";
   190       this.reportTextBox.ReadOnly = true;
   191       this.reportTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
   192       this.reportTextBox.Size = new System.Drawing.Size(604, 178);
   193       this.reportTextBox.TabIndex = 9;
   194       this.reportTextBox.TabStop = false;
   195       // 
   196       // textBox1
   197       // 
   198       this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
   199       this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
   200       this.textBox1.Location = new System.Drawing.Point(4, 4);
   201       this.textBox1.Multiline = true;
   202       this.textBox1.Name = "textBox1";
   203       this.textBox1.Size = new System.Drawing.Size(604, 178);
   204       this.textBox1.TabIndex = 2;
   205       // 
   206       // CrashReportForm
   207       // 
   208       this.AcceptButton = this.sendButton;
   209       this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
   210       this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
   211       this.CancelButton = this.exitButton;
   212       this.ClientSize = new System.Drawing.Size(635, 447);
   213       this.ControlBox = false;
   214       this.Controls.Add(this.reportPanel);
   215       this.Controls.Add(this.commentPanel);
   216       this.Controls.Add(this.label1);
   217       this.Controls.Add(this.label3);
   218       this.Controls.Add(this.titleLabel);
   219       this.Controls.Add(this.exitButton);
   220       this.Controls.Add(this.sendButton);
   221       this.MaximizeBox = false;
   222       this.MinimizeBox = false;
   223       this.Name = "CrashReportForm";
   224       this.ShowIcon = false;
   225       this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
   226       this.Text = "Open Hardware Monitor";
   227       this.commentPanel.ResumeLayout(false);
   228       this.commentPanel.PerformLayout();
   229       this.reportPanel.ResumeLayout(false);
   230       this.reportPanel.PerformLayout();
   231       this.ResumeLayout(false);
   232       this.PerformLayout();
   233 
   234     }
   235 
   236     #endregion
   237 
   238     private System.Windows.Forms.Button sendButton;
   239     private System.Windows.Forms.Button exitButton;
   240     private System.Windows.Forms.TextBox commentTextBox;
   241     private System.Windows.Forms.Label titleLabel;
   242     private System.Windows.Forms.Label label3;
   243     private System.Windows.Forms.Label label1;
   244     private System.Windows.Forms.Panel commentPanel;
   245     private System.Windows.Forms.Panel reportPanel;
   246     private System.Windows.Forms.TextBox reportTextBox;
   247     private System.Windows.Forms.TextBox textBox1;
   248   }
   249 }