GUI/CrashForm.Designer.cs
author StephaneLenclud
Sun, 03 Feb 2013 18:01:50 +0100
branchMiniDisplay
changeset 433 090259cfd699
parent 150 522da3b8cb1a
permissions -rw-r--r--
Adding SoundGraphDisplay and SensorFrontView classes.
They were respectively based on SystemTray and SensorNotifyIcon.
SoundGraphDisplay is now able to load iMONDisplay.dll providing it lives on your PATH.
Adding option to sensor context menu for adding it into FrontView.
     1 /*
     2  
     3   This Source Code Form is subject to the terms of the Mozilla Public
     4   License, v. 2.0. If a copy of the MPL was not distributed with this
     5   file, You can obtain one at http://mozilla.org/MPL/2.0/.
     6  
     7   Copyright (C) 2009-2010 Michael Möller <mmoeller@openhardwaremonitor.org>
     8 	
     9 */
    10 
    11 
    12 namespace OpenHardwareMonitor.GUI {
    13   partial class CrashForm {
    14     /// <summary>
    15     /// Required designer variable.
    16     /// </summary>
    17     private System.ComponentModel.IContainer components = null;
    18 
    19     /// <summary>
    20     /// Clean up any resources being used.
    21     /// </summary>
    22     /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    23     protected override void Dispose(bool disposing) {
    24       if (disposing && (components != null)) {
    25         components.Dispose();
    26       }
    27       base.Dispose(disposing);
    28     }
    29 
    30     #region Windows Form Designer generated code
    31 
    32     /// <summary>
    33     /// Required method for Designer support - do not modify
    34     /// the contents of this method with the code editor.
    35     /// </summary>
    36     private void InitializeComponent() {
    37       this.sendButton = new System.Windows.Forms.Button();
    38       this.exitButton = new System.Windows.Forms.Button();
    39       this.commentTextBox = new System.Windows.Forms.TextBox();
    40       this.titleLabel = new System.Windows.Forms.Label();
    41       this.label3 = new System.Windows.Forms.Label();
    42       this.label1 = new System.Windows.Forms.Label();
    43       this.commentPanel = new System.Windows.Forms.Panel();
    44       this.reportPanel = new System.Windows.Forms.Panel();
    45       this.reportTextBox = new System.Windows.Forms.TextBox();
    46       this.textBox1 = new System.Windows.Forms.TextBox();
    47       this.label2 = new System.Windows.Forms.Label();
    48       this.emailTextBox = new System.Windows.Forms.TextBox();
    49       this.commentPanel.SuspendLayout();
    50       this.reportPanel.SuspendLayout();
    51       this.SuspendLayout();
    52       // 
    53       // sendButton
    54       // 
    55       this.sendButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    56       this.sendButton.Location = new System.Drawing.Point(449, 469);
    57       this.sendButton.Name = "sendButton";
    58       this.sendButton.Size = new System.Drawing.Size(75, 23);
    59       this.sendButton.TabIndex = 2;
    60       this.sendButton.Text = "Send";
    61       this.sendButton.UseVisualStyleBackColor = true;
    62       this.sendButton.Click += new System.EventHandler(this.sendButton_Click);
    63       // 
    64       // exitButton
    65       // 
    66       this.exitButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    67       this.exitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
    68       this.exitButton.Location = new System.Drawing.Point(530, 469);
    69       this.exitButton.Name = "exitButton";
    70       this.exitButton.Size = new System.Drawing.Size(75, 23);
    71       this.exitButton.TabIndex = 3;
    72       this.exitButton.Text = "Exit";
    73       this.exitButton.UseVisualStyleBackColor = true;
    74       // 
    75       // commentTextBox
    76       // 
    77       this.commentTextBox.AcceptsReturn = true;
    78       this.commentTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
    79       this.commentTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
    80       this.commentTextBox.Location = new System.Drawing.Point(4, 4);
    81       this.commentTextBox.Multiline = true;
    82       this.commentTextBox.Name = "commentTextBox";
    83       this.commentTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
    84       this.commentTextBox.Size = new System.Drawing.Size(586, 77);
    85       this.commentTextBox.TabIndex = 1;
    86       // 
    87       // titleLabel
    88       // 
    89       this.titleLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    90                   | System.Windows.Forms.AnchorStyles.Right)));
    91       this.titleLabel.BackColor = System.Drawing.SystemColors.Window;
    92       this.titleLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
    93       this.titleLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    94       this.titleLabel.Location = new System.Drawing.Point(-1, -1);
    95       this.titleLabel.Name = "titleLabel";
    96       this.titleLabel.Padding = new System.Windows.Forms.Padding(10);
    97       this.titleLabel.Size = new System.Drawing.Size(619, 52);
    98       this.titleLabel.TabIndex = 4;
    99       this.titleLabel.Text = "Open Hardware Monitor has encountered a problem and needs to close. We are sorry " +
   100           "for the inconvenience.";
   101       // 
   102       // label3
   103       // 
   104       this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
   105                   | System.Windows.Forms.AnchorStyles.Right)));
   106       this.label3.AutoEllipsis = true;
   107       this.label3.AutoSize = true;
   108       this.label3.Location = new System.Drawing.Point(9, 63);
   109       this.label3.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
   110       this.label3.Name = "label3";
   111       this.label3.Size = new System.Drawing.Size(571, 13);
   112       this.label3.TabIndex = 5;
   113       this.label3.Text = "To help diagnose and fix the problem, you can send a crash report. The following " +
   114           "report has been created automatically:";
   115       // 
   116       // label1
   117       // 
   118       this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
   119                   | System.Windows.Forms.AnchorStyles.Right)));
   120       this.label1.AutoEllipsis = true;
   121       this.label1.AutoSize = true;
   122       this.label1.Location = new System.Drawing.Point(9, 347);
   123       this.label1.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
   124       this.label1.Name = "label1";
   125       this.label1.Size = new System.Drawing.Size(279, 13);
   126       this.label1.TabIndex = 6;
   127       this.label1.Text = "You can add additional information to the report (optional):";
   128       // 
   129       // commentPanel
   130       // 
   131       this.commentPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
   132                   | System.Windows.Forms.AnchorStyles.Right)));
   133       this.commentPanel.BackColor = System.Drawing.SystemColors.Window;
   134       this.commentPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
   135       this.commentPanel.Controls.Add(this.commentTextBox);
   136       this.commentPanel.Location = new System.Drawing.Point(12, 371);
   137       this.commentPanel.Margin = new System.Windows.Forms.Padding(3, 3, 3, 8);
   138       this.commentPanel.Name = "commentPanel";
   139       this.commentPanel.Padding = new System.Windows.Forms.Padding(4, 4, 1, 4);
   140       this.commentPanel.Size = new System.Drawing.Size(593, 87);
   141       this.commentPanel.TabIndex = 1;
   142       this.commentPanel.TabStop = true;
   143       // 
   144       // reportPanel
   145       // 
   146       this.reportPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
   147                   | System.Windows.Forms.AnchorStyles.Left)
   148                   | System.Windows.Forms.AnchorStyles.Right)));
   149       this.reportPanel.BackColor = System.Drawing.SystemColors.Window;
   150       this.reportPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
   151       this.reportPanel.Controls.Add(this.reportTextBox);
   152       this.reportPanel.Controls.Add(this.textBox1);
   153       this.reportPanel.Location = new System.Drawing.Point(12, 87);
   154       this.reportPanel.Name = "reportPanel";
   155       this.reportPanel.Padding = new System.Windows.Forms.Padding(4, 4, 1, 4);
   156       this.reportPanel.Size = new System.Drawing.Size(593, 212);
   157       this.reportPanel.TabIndex = 8;
   158       // 
   159       // reportTextBox
   160       // 
   161       this.reportTextBox.BackColor = System.Drawing.SystemColors.Window;
   162       this.reportTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
   163       this.reportTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
   164       this.reportTextBox.Location = new System.Drawing.Point(4, 4);
   165       this.reportTextBox.Multiline = true;
   166       this.reportTextBox.Name = "reportTextBox";
   167       this.reportTextBox.ReadOnly = true;
   168       this.reportTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
   169       this.reportTextBox.Size = new System.Drawing.Size(586, 202);
   170       this.reportTextBox.TabIndex = 9;
   171       this.reportTextBox.TabStop = false;
   172       // 
   173       // textBox1
   174       // 
   175       this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
   176       this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
   177       this.textBox1.Location = new System.Drawing.Point(4, 4);
   178       this.textBox1.Multiline = true;
   179       this.textBox1.Name = "textBox1";
   180       this.textBox1.Size = new System.Drawing.Size(586, 202);
   181       this.textBox1.TabIndex = 2;
   182       // 
   183       // label2
   184       // 
   185       this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
   186                   | System.Windows.Forms.AnchorStyles.Right)));
   187       this.label2.AutoEllipsis = true;
   188       this.label2.AutoSize = true;
   189       this.label2.Location = new System.Drawing.Point(9, 318);
   190       this.label2.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
   191       this.label2.Name = "label2";
   192       this.label2.Size = new System.Drawing.Size(171, 13);
   193       this.label2.TabIndex = 9;
   194       this.label2.Text = "Enter your email address (optional):";
   195       // 
   196       // emailTextBox
   197       // 
   198       this.emailTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
   199                   | System.Windows.Forms.AnchorStyles.Right)));
   200       this.emailTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
   201       this.emailTextBox.Location = new System.Drawing.Point(188, 315);
   202       this.emailTextBox.Name = "emailTextBox";
   203       this.emailTextBox.Size = new System.Drawing.Size(417, 20);
   204       this.emailTextBox.TabIndex = 0;
   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(617, 504);
   213       this.ControlBox = false;
   214       this.Controls.Add(this.emailTextBox);
   215       this.Controls.Add(this.label2);
   216       this.Controls.Add(this.reportPanel);
   217       this.Controls.Add(this.commentPanel);
   218       this.Controls.Add(this.label1);
   219       this.Controls.Add(this.label3);
   220       this.Controls.Add(this.titleLabel);
   221       this.Controls.Add(this.exitButton);
   222       this.Controls.Add(this.sendButton);
   223       this.MaximizeBox = false;
   224       this.MinimizeBox = false;
   225       this.Name = "CrashReportForm";
   226       this.ShowIcon = false;
   227       this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
   228       this.Text = "Open Hardware Monitor";
   229       this.commentPanel.ResumeLayout(false);
   230       this.commentPanel.PerformLayout();
   231       this.reportPanel.ResumeLayout(false);
   232       this.reportPanel.PerformLayout();
   233       this.ResumeLayout(false);
   234       this.PerformLayout();
   235 
   236     }
   237 
   238     #endregion
   239 
   240     private System.Windows.Forms.Button sendButton;
   241     private System.Windows.Forms.Button exitButton;
   242     private System.Windows.Forms.TextBox commentTextBox;
   243     private System.Windows.Forms.Label titleLabel;
   244     private System.Windows.Forms.Label label3;
   245     private System.Windows.Forms.Label label1;
   246     private System.Windows.Forms.Panel commentPanel;
   247     private System.Windows.Forms.Panel reportPanel;
   248     private System.Windows.Forms.TextBox reportTextBox;
   249     private System.Windows.Forms.TextBox textBox1;
   250     private System.Windows.Forms.Label label2;
   251     private System.Windows.Forms.TextBox emailTextBox;
   252   }
   253 }