GUI/CrashReportForm.Designer.cs
author moel.mich
Tue, 25 May 2010 18:57:28 +0000
changeset 127 76aaf45a01c7
parent 86 b4f0f206173d
permissions -rw-r--r--
Added a workaround for the "You must keep the stream open for the lifetime of the Image." problem of the Image.FromStream method. This also reduced the overall memory usage (private working set).
moel@86
     1
/*
moel@86
     2
  
moel@86
     3
  Version: MPL 1.1/GPL 2.0/LGPL 2.1
moel@86
     4
moel@86
     5
  The contents of this file are subject to the Mozilla Public License Version
moel@86
     6
  1.1 (the "License"); you may not use this file except in compliance with
moel@86
     7
  the License. You may obtain a copy of the License at
moel@86
     8
 
moel@86
     9
  http://www.mozilla.org/MPL/
moel@86
    10
moel@86
    11
  Software distributed under the License is distributed on an "AS IS" basis,
moel@86
    12
  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
moel@86
    13
  for the specific language governing rights and limitations under the License.
moel@86
    14
moel@86
    15
  The Original Code is the Open Hardware Monitor code.
moel@86
    16
moel@86
    17
  The Initial Developer of the Original Code is 
moel@86
    18
  Michael Möller <m.moeller@gmx.ch>.
moel@86
    19
  Portions created by the Initial Developer are Copyright (C) 2009-2010
moel@86
    20
  the Initial Developer. All Rights Reserved.
moel@86
    21
moel@86
    22
  Contributor(s):
moel@86
    23
moel@86
    24
  Alternatively, the contents of this file may be used under the terms of
moel@86
    25
  either the GNU General Public License Version 2 or later (the "GPL"), or
moel@86
    26
  the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
moel@86
    27
  in which case the provisions of the GPL or the LGPL are applicable instead
moel@86
    28
  of those above. If you wish to allow use of your version of this file only
moel@86
    29
  under the terms of either the GPL or the LGPL, and not to allow others to
moel@86
    30
  use your version of this file under the terms of the MPL, indicate your
moel@86
    31
  decision by deleting the provisions above and replace them with the notice
moel@86
    32
  and other provisions required by the GPL or the LGPL. If you do not delete
moel@86
    33
  the provisions above, a recipient may use your version of this file under
moel@86
    34
  the terms of any one of the MPL, the GPL or the LGPL.
moel@86
    35
 
moel@86
    36
*/
moel@86
    37
moel@86
    38
namespace OpenHardwareMonitor.GUI {
moel@86
    39
  partial class CrashReportForm {
moel@86
    40
    /// <summary>
moel@86
    41
    /// Required designer variable.
moel@86
    42
    /// </summary>
moel@86
    43
    private System.ComponentModel.IContainer components = null;
moel@86
    44
moel@86
    45
    /// <summary>
moel@86
    46
    /// Clean up any resources being used.
moel@86
    47
    /// </summary>
moel@86
    48
    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
moel@86
    49
    protected override void Dispose(bool disposing) {
moel@86
    50
      if (disposing && (components != null)) {
moel@86
    51
        components.Dispose();
moel@86
    52
      }
moel@86
    53
      base.Dispose(disposing);
moel@86
    54
    }
moel@86
    55
moel@86
    56
    #region Windows Form Designer generated code
moel@86
    57
moel@86
    58
    /// <summary>
moel@86
    59
    /// Required method for Designer support - do not modify
moel@86
    60
    /// the contents of this method with the code editor.
moel@86
    61
    /// </summary>
moel@86
    62
    private void InitializeComponent() {
moel@86
    63
      this.sendButton = new System.Windows.Forms.Button();
moel@86
    64
      this.exitButton = new System.Windows.Forms.Button();
moel@86
    65
      this.commentTextBox = new System.Windows.Forms.TextBox();
moel@86
    66
      this.titleLabel = new System.Windows.Forms.Label();
moel@86
    67
      this.label3 = new System.Windows.Forms.Label();
moel@86
    68
      this.label1 = new System.Windows.Forms.Label();
moel@86
    69
      this.commentPanel = new System.Windows.Forms.Panel();
moel@86
    70
      this.reportPanel = new System.Windows.Forms.Panel();
moel@86
    71
      this.reportTextBox = new System.Windows.Forms.TextBox();
moel@86
    72
      this.textBox1 = new System.Windows.Forms.TextBox();
moel@106
    73
      this.label2 = new System.Windows.Forms.Label();
moel@106
    74
      this.emailTextBox = new System.Windows.Forms.TextBox();
moel@86
    75
      this.commentPanel.SuspendLayout();
moel@86
    76
      this.reportPanel.SuspendLayout();
moel@86
    77
      this.SuspendLayout();
moel@86
    78
      // 
moel@86
    79
      // sendButton
moel@86
    80
      // 
moel@86
    81
      this.sendButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
moel@106
    82
      this.sendButton.Location = new System.Drawing.Point(449, 469);
moel@86
    83
      this.sendButton.Name = "sendButton";
moel@86
    84
      this.sendButton.Size = new System.Drawing.Size(75, 23);
moel@106
    85
      this.sendButton.TabIndex = 2;
moel@86
    86
      this.sendButton.Text = "Send";
moel@86
    87
      this.sendButton.UseVisualStyleBackColor = true;
moel@86
    88
      this.sendButton.Click += new System.EventHandler(this.sendButton_Click);
moel@86
    89
      // 
moel@86
    90
      // exitButton
moel@86
    91
      // 
moel@86
    92
      this.exitButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
moel@86
    93
      this.exitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
moel@106
    94
      this.exitButton.Location = new System.Drawing.Point(530, 469);
moel@86
    95
      this.exitButton.Name = "exitButton";
moel@86
    96
      this.exitButton.Size = new System.Drawing.Size(75, 23);
moel@106
    97
      this.exitButton.TabIndex = 3;
moel@86
    98
      this.exitButton.Text = "Exit";
moel@86
    99
      this.exitButton.UseVisualStyleBackColor = true;
moel@86
   100
      // 
moel@86
   101
      // commentTextBox
moel@86
   102
      // 
moel@86
   103
      this.commentTextBox.AcceptsReturn = true;
moel@86
   104
      this.commentTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
moel@86
   105
      this.commentTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
moel@86
   106
      this.commentTextBox.Location = new System.Drawing.Point(4, 4);
moel@86
   107
      this.commentTextBox.Multiline = true;
moel@86
   108
      this.commentTextBox.Name = "commentTextBox";
moel@86
   109
      this.commentTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
moel@106
   110
      this.commentTextBox.Size = new System.Drawing.Size(586, 77);
moel@106
   111
      this.commentTextBox.TabIndex = 1;
moel@86
   112
      // 
moel@86
   113
      // titleLabel
moel@86
   114
      // 
moel@86
   115
      this.titleLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
moel@86
   116
                  | System.Windows.Forms.AnchorStyles.Right)));
moel@86
   117
      this.titleLabel.BackColor = System.Drawing.SystemColors.Window;
moel@86
   118
      this.titleLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
moel@86
   119
      this.titleLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
moel@86
   120
      this.titleLabel.Location = new System.Drawing.Point(-1, -1);
moel@86
   121
      this.titleLabel.Name = "titleLabel";
moel@86
   122
      this.titleLabel.Padding = new System.Windows.Forms.Padding(10);
moel@106
   123
      this.titleLabel.Size = new System.Drawing.Size(619, 52);
moel@86
   124
      this.titleLabel.TabIndex = 4;
moel@86
   125
      this.titleLabel.Text = "Open Hardware Monitor has encountered a problem and needs to close. We are sorry " +
moel@86
   126
          "for the inconvenience.";
moel@86
   127
      // 
moel@86
   128
      // label3
moel@86
   129
      // 
moel@86
   130
      this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
moel@86
   131
                  | System.Windows.Forms.AnchorStyles.Right)));
moel@86
   132
      this.label3.AutoEllipsis = true;
moel@86
   133
      this.label3.AutoSize = true;
moel@86
   134
      this.label3.Location = new System.Drawing.Point(9, 63);
moel@86
   135
      this.label3.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
moel@86
   136
      this.label3.Name = "label3";
moel@86
   137
      this.label3.Size = new System.Drawing.Size(571, 13);
moel@86
   138
      this.label3.TabIndex = 5;
moel@86
   139
      this.label3.Text = "To help diagnose and fix the problem, you can send a crash report. The following " +
moel@106
   140
          "report has been created automatically:";
moel@86
   141
      // 
moel@86
   142
      // label1
moel@86
   143
      // 
moel@86
   144
      this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
moel@86
   145
                  | System.Windows.Forms.AnchorStyles.Right)));
moel@86
   146
      this.label1.AutoEllipsis = true;
moel@86
   147
      this.label1.AutoSize = true;
moel@106
   148
      this.label1.Location = new System.Drawing.Point(9, 347);
moel@86
   149
      this.label1.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
moel@86
   150
      this.label1.Name = "label1";
moel@106
   151
      this.label1.Size = new System.Drawing.Size(279, 13);
moel@86
   152
      this.label1.TabIndex = 6;
moel@106
   153
      this.label1.Text = "You can add additional information to the report (optional):";
moel@86
   154
      // 
moel@86
   155
      // commentPanel
moel@86
   156
      // 
moel@86
   157
      this.commentPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
moel@86
   158
                  | System.Windows.Forms.AnchorStyles.Right)));
moel@86
   159
      this.commentPanel.BackColor = System.Drawing.SystemColors.Window;
moel@86
   160
      this.commentPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
moel@86
   161
      this.commentPanel.Controls.Add(this.commentTextBox);
moel@106
   162
      this.commentPanel.Location = new System.Drawing.Point(12, 371);
moel@86
   163
      this.commentPanel.Margin = new System.Windows.Forms.Padding(3, 3, 3, 8);
moel@86
   164
      this.commentPanel.Name = "commentPanel";
moel@86
   165
      this.commentPanel.Padding = new System.Windows.Forms.Padding(4, 4, 1, 4);
moel@106
   166
      this.commentPanel.Size = new System.Drawing.Size(593, 87);
moel@106
   167
      this.commentPanel.TabIndex = 1;
moel@106
   168
      this.commentPanel.TabStop = true;
moel@86
   169
      // 
moel@86
   170
      // reportPanel
moel@86
   171
      // 
moel@86
   172
      this.reportPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
moel@86
   173
                  | System.Windows.Forms.AnchorStyles.Left)
moel@86
   174
                  | System.Windows.Forms.AnchorStyles.Right)));
moel@86
   175
      this.reportPanel.BackColor = System.Drawing.SystemColors.Window;
moel@86
   176
      this.reportPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
moel@86
   177
      this.reportPanel.Controls.Add(this.reportTextBox);
moel@86
   178
      this.reportPanel.Controls.Add(this.textBox1);
moel@86
   179
      this.reportPanel.Location = new System.Drawing.Point(12, 87);
moel@86
   180
      this.reportPanel.Name = "reportPanel";
moel@86
   181
      this.reportPanel.Padding = new System.Windows.Forms.Padding(4, 4, 1, 4);
moel@106
   182
      this.reportPanel.Size = new System.Drawing.Size(593, 212);
moel@86
   183
      this.reportPanel.TabIndex = 8;
moel@86
   184
      // 
moel@86
   185
      // reportTextBox
moel@86
   186
      // 
moel@86
   187
      this.reportTextBox.BackColor = System.Drawing.SystemColors.Window;
moel@86
   188
      this.reportTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
moel@86
   189
      this.reportTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
moel@86
   190
      this.reportTextBox.Location = new System.Drawing.Point(4, 4);
moel@86
   191
      this.reportTextBox.Multiline = true;
moel@86
   192
      this.reportTextBox.Name = "reportTextBox";
moel@86
   193
      this.reportTextBox.ReadOnly = true;
moel@86
   194
      this.reportTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
moel@106
   195
      this.reportTextBox.Size = new System.Drawing.Size(586, 202);
moel@86
   196
      this.reportTextBox.TabIndex = 9;
moel@86
   197
      this.reportTextBox.TabStop = false;
moel@86
   198
      // 
moel@86
   199
      // textBox1
moel@86
   200
      // 
moel@86
   201
      this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
moel@86
   202
      this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
moel@86
   203
      this.textBox1.Location = new System.Drawing.Point(4, 4);
moel@86
   204
      this.textBox1.Multiline = true;
moel@86
   205
      this.textBox1.Name = "textBox1";
moel@106
   206
      this.textBox1.Size = new System.Drawing.Size(586, 202);
moel@86
   207
      this.textBox1.TabIndex = 2;
moel@86
   208
      // 
moel@106
   209
      // label2
moel@106
   210
      // 
moel@106
   211
      this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
moel@106
   212
                  | System.Windows.Forms.AnchorStyles.Right)));
moel@106
   213
      this.label2.AutoEllipsis = true;
moel@106
   214
      this.label2.AutoSize = true;
moel@106
   215
      this.label2.Location = new System.Drawing.Point(9, 318);
moel@106
   216
      this.label2.Margin = new System.Windows.Forms.Padding(3, 12, 3, 8);
moel@106
   217
      this.label2.Name = "label2";
moel@106
   218
      this.label2.Size = new System.Drawing.Size(171, 13);
moel@106
   219
      this.label2.TabIndex = 9;
moel@106
   220
      this.label2.Text = "Enter your email address (optional):";
moel@106
   221
      // 
moel@106
   222
      // emailTextBox
moel@106
   223
      // 
moel@106
   224
      this.emailTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
moel@106
   225
                  | System.Windows.Forms.AnchorStyles.Right)));
moel@106
   226
      this.emailTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
moel@106
   227
      this.emailTextBox.Location = new System.Drawing.Point(188, 315);
moel@106
   228
      this.emailTextBox.Name = "emailTextBox";
moel@106
   229
      this.emailTextBox.Size = new System.Drawing.Size(417, 20);
moel@106
   230
      this.emailTextBox.TabIndex = 0;
moel@106
   231
      // 
moel@86
   232
      // CrashReportForm
moel@86
   233
      // 
moel@86
   234
      this.AcceptButton = this.sendButton;
moel@86
   235
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
moel@86
   236
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
moel@86
   237
      this.CancelButton = this.exitButton;
moel@106
   238
      this.ClientSize = new System.Drawing.Size(617, 504);
moel@86
   239
      this.ControlBox = false;
moel@106
   240
      this.Controls.Add(this.emailTextBox);
moel@106
   241
      this.Controls.Add(this.label2);
moel@86
   242
      this.Controls.Add(this.reportPanel);
moel@86
   243
      this.Controls.Add(this.commentPanel);
moel@86
   244
      this.Controls.Add(this.label1);
moel@86
   245
      this.Controls.Add(this.label3);
moel@86
   246
      this.Controls.Add(this.titleLabel);
moel@86
   247
      this.Controls.Add(this.exitButton);
moel@86
   248
      this.Controls.Add(this.sendButton);
moel@86
   249
      this.MaximizeBox = false;
moel@86
   250
      this.MinimizeBox = false;
moel@86
   251
      this.Name = "CrashReportForm";
moel@86
   252
      this.ShowIcon = false;
moel@86
   253
      this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
moel@86
   254
      this.Text = "Open Hardware Monitor";
moel@86
   255
      this.commentPanel.ResumeLayout(false);
moel@86
   256
      this.commentPanel.PerformLayout();
moel@86
   257
      this.reportPanel.ResumeLayout(false);
moel@86
   258
      this.reportPanel.PerformLayout();
moel@86
   259
      this.ResumeLayout(false);
moel@86
   260
      this.PerformLayout();
moel@86
   261
moel@86
   262
    }
moel@86
   263
moel@86
   264
    #endregion
moel@86
   265
moel@86
   266
    private System.Windows.Forms.Button sendButton;
moel@86
   267
    private System.Windows.Forms.Button exitButton;
moel@86
   268
    private System.Windows.Forms.TextBox commentTextBox;
moel@86
   269
    private System.Windows.Forms.Label titleLabel;
moel@86
   270
    private System.Windows.Forms.Label label3;
moel@86
   271
    private System.Windows.Forms.Label label1;
moel@86
   272
    private System.Windows.Forms.Panel commentPanel;
moel@86
   273
    private System.Windows.Forms.Panel reportPanel;
moel@86
   274
    private System.Windows.Forms.TextBox reportTextBox;
moel@86
   275
    private System.Windows.Forms.TextBox textBox1;
moel@106
   276
    private System.Windows.Forms.Label label2;
moel@106
   277
    private System.Windows.Forms.TextBox emailTextBox;
moel@86
   278
  }
moel@86
   279
}