GUI/AboutBox.Designer.cs
author moel.mich
Sat, 31 Dec 2011 17:31:04 +0000
changeset 324 c6ee430d6995
parent 274 5a18725d2c20
child 331 e60f97192555
permissions -rw-r--r--
Modified and extended version of the patch v4 by Roland Reinl (see Issue 256). Main differences to the original patch: DeviceIoControl refactorings removed, SmartAttribute is now descriptive only and does not hold any state, report is written as one 80 columns table, sensors are created only for meaningful values and without duplicates (remaining life, temperatures, host writes and reads). Also the current implementation should really preserve all the functionality of the old system. Additionally there is now a simple SMART devices emulation class (DebugSmart) that can be used in place of WindowsSmart for testing with reported data.
moel@1
     1
/*
moel@1
     2
  
moel@1
     3
  Version: MPL 1.1/GPL 2.0/LGPL 2.1
moel@1
     4
moel@1
     5
  The contents of this file are subject to the Mozilla Public License Version
moel@1
     6
  1.1 (the "License"); you may not use this file except in compliance with
moel@1
     7
  the License. You may obtain a copy of the License at
moel@1
     8
 
moel@1
     9
  http://www.mozilla.org/MPL/
moel@1
    10
moel@1
    11
  Software distributed under the License is distributed on an "AS IS" basis,
moel@1
    12
  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
moel@1
    13
  for the specific language governing rights and limitations under the License.
moel@1
    14
moel@1
    15
  The Original Code is the Open Hardware Monitor code.
moel@1
    16
moel@1
    17
  The Initial Developer of the Original Code is 
moel@1
    18
  Michael Möller <m.moeller@gmx.ch>.
moel@1
    19
  Portions created by the Initial Developer are Copyright (C) 2009-2010
moel@1
    20
  the Initial Developer. All Rights Reserved.
moel@1
    21
moel@1
    22
  Contributor(s):
moel@1
    23
moel@1
    24
  Alternatively, the contents of this file may be used under the terms of
moel@1
    25
  either the GNU General Public License Version 2 or later (the "GPL"), or
moel@1
    26
  the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
moel@1
    27
  in which case the provisions of the GPL or the LGPL are applicable instead
moel@1
    28
  of those above. If you wish to allow use of your version of this file only
moel@1
    29
  under the terms of either the GPL or the LGPL, and not to allow others to
moel@1
    30
  use your version of this file under the terms of the MPL, indicate your
moel@1
    31
  decision by deleting the provisions above and replace them with the notice
moel@1
    32
  and other provisions required by the GPL or the LGPL. If you do not delete
moel@1
    33
  the provisions above, a recipient may use your version of this file under
moel@1
    34
  the terms of any one of the MPL, the GPL or the LGPL.
moel@1
    35
 
moel@1
    36
*/
moel@1
    37
moel@1
    38
namespace OpenHardwareMonitor.GUI {
moel@1
    39
  partial class AboutBox {
moel@1
    40
    /// <summary>
moel@1
    41
    /// Required designer variable.
moel@1
    42
    /// </summary>
moel@1
    43
    private System.ComponentModel.IContainer components = null;
moel@1
    44
moel@1
    45
    /// <summary>
moel@1
    46
    /// Clean up any resources being used.
moel@1
    47
    /// </summary>
moel@1
    48
    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
moel@1
    49
    protected override void Dispose(bool disposing) {
moel@1
    50
      if (disposing && (components != null)) {
moel@1
    51
        components.Dispose();
moel@1
    52
      }
moel@1
    53
      base.Dispose(disposing);
moel@1
    54
    }
moel@1
    55
moel@1
    56
    #region Windows Form Designer generated code
moel@1
    57
moel@1
    58
    /// <summary>
moel@1
    59
    /// Required method for Designer support - do not modify
moel@1
    60
    /// the contents of this method with the code editor.
moel@1
    61
    /// </summary>
moel@1
    62
    private void InitializeComponent() {
moel@1
    63
      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutBox));
moel@1
    64
      this.okButton = new System.Windows.Forms.Button();
moel@1
    65
      this.pictureBox1 = new System.Windows.Forms.PictureBox();
moel@1
    66
      this.label1 = new System.Windows.Forms.Label();
moel@1
    67
      this.label2 = new System.Windows.Forms.Label();
moel@1
    68
      this.label3 = new System.Windows.Forms.Label();
moel@1
    69
      this.label4 = new System.Windows.Forms.Label();
moel@1
    70
      this.linkLabel = new System.Windows.Forms.LinkLabel();
moel@1
    71
      this.label5 = new System.Windows.Forms.Label();
moel@1
    72
      this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
moel@1
    73
      ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
moel@1
    74
      this.flowLayoutPanel1.SuspendLayout();
moel@1
    75
      this.SuspendLayout();
moel@1
    76
      // 
moel@1
    77
      // okButton
moel@1
    78
      // 
moel@1
    79
      this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
moel@1
    80
      this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
moel@290
    81
      this.okButton.Location = new System.Drawing.Point(358, 110);
moel@1
    82
      this.okButton.Name = "okButton";
moel@269
    83
      this.okButton.Size = new System.Drawing.Size(75, 23);
moel@1
    84
      this.okButton.TabIndex = 0;
moel@1
    85
      this.okButton.Text = "OK";
moel@1
    86
      this.okButton.UseVisualStyleBackColor = true;
moel@1
    87
      // 
moel@1
    88
      // pictureBox1
moel@1
    89
      // 
moel@1
    90
      this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
moel@269
    91
      this.pictureBox1.Location = new System.Drawing.Point(10, 11);
moel@1
    92
      this.pictureBox1.Name = "pictureBox1";
moel@290
    93
      this.pictureBox1.Size = new System.Drawing.Size(48, 48);
moel@290
    94
      this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
moel@1
    95
      this.pictureBox1.TabIndex = 1;
moel@1
    96
      this.pictureBox1.TabStop = false;
moel@1
    97
      // 
moel@1
    98
      // label1
moel@1
    99
      // 
moel@269
   100
      this.label1.AutoSize = true;
moel@269
   101
      this.label1.Location = new System.Drawing.Point(73, 11);
moel@269
   102
      this.label1.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
moel@1
   103
      this.label1.Name = "label1";
moel@269
   104
      this.label1.Size = new System.Drawing.Size(120, 13);
moel@1
   105
      this.label1.TabIndex = 2;
moel@1
   106
      this.label1.Text = "Open Hardware Monitor";
moel@1
   107
      // 
moel@1
   108
      // label2
moel@1
   109
      // 
moel@1
   110
      this.label2.AutoSize = true;
moel@269
   111
      this.label2.Location = new System.Drawing.Point(74, 47);
moel@269
   112
      this.label2.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
moel@1
   113
      this.label2.Name = "label2";
moel@290
   114
      this.label2.Size = new System.Drawing.Size(359, 13);
moel@1
   115
      this.label2.TabIndex = 3;
moel@290
   116
      this.label2.Text = "Copyright © 2009-2011 Michael Möller and contributers. All rights reserved.";
moel@1
   117
      // 
moel@1
   118
      // label3
moel@1
   119
      // 
moel@1
   120
      this.label3.AutoSize = true;
moel@269
   121
      this.label3.Location = new System.Drawing.Point(74, 31);
moel@269
   122
      this.label3.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
moel@1
   123
      this.label3.Name = "label3";
moel@269
   124
      this.label3.Size = new System.Drawing.Size(127, 13);
moel@1
   125
      this.label3.TabIndex = 4;
moel@63
   126
      this.label3.Text = "Version 9.0.30729.1 Beta";
moel@1
   127
      // 
moel@1
   128
      // label4
moel@1
   129
      // 
moel@1
   130
      this.label4.AutoSize = true;
moel@269
   131
      this.label4.Location = new System.Drawing.Point(8, 82);
moel@269
   132
      this.label4.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
moel@1
   133
      this.label4.Name = "label4";
moel@269
   134
      this.label4.Size = new System.Drawing.Size(374, 13);
moel@1
   135
      this.label4.TabIndex = 5;
moel@1
   136
      this.label4.Text = "The source code is available under the terms of the Mozilla Public License 1.1";
moel@1
   137
      // 
moel@1
   138
      // linkLabel
moel@1
   139
      // 
moel@1
   140
      this.linkLabel.AutoSize = true;
moel@290
   141
      this.linkLabel.Location = new System.Drawing.Point(122, 0);
moel@269
   142
      this.linkLabel.Margin = new System.Windows.Forms.Padding(0, 0, 10, 0);
moel@1
   143
      this.linkLabel.Name = "linkLabel";
moel@269
   144
      this.linkLabel.Size = new System.Drawing.Size(156, 13);
moel@1
   145
      this.linkLabel.TabIndex = 6;
moel@1
   146
      this.linkLabel.TabStop = true;
moel@1
   147
      this.linkLabel.Text = "Open Hardware Monitor Project";
moel@1
   148
      this.linkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
moel@1
   149
      // 
moel@1
   150
      // label5
moel@1
   151
      // 
moel@1
   152
      this.label5.AutoSize = true;
moel@1
   153
      this.label5.Location = new System.Drawing.Point(0, 0);
moel@290
   154
      this.label5.Margin = new System.Windows.Forms.Padding(0);
moel@1
   155
      this.label5.Name = "label5";
moel@290
   156
      this.label5.Size = new System.Drawing.Size(122, 13);
moel@1
   157
      this.label5.TabIndex = 7;
moel@290
   158
      this.label5.Text = "from the project website:";
moel@1
   159
      // 
moel@1
   160
      // flowLayoutPanel1
moel@1
   161
      // 
moel@1
   162
      this.flowLayoutPanel1.AutoSize = true;
moel@1
   163
      this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
moel@1
   164
      this.flowLayoutPanel1.Controls.Add(this.label5);
moel@1
   165
      this.flowLayoutPanel1.Controls.Add(this.linkLabel);
moel@269
   166
      this.flowLayoutPanel1.Location = new System.Drawing.Point(10, 100);
moel@269
   167
      this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
moel@1
   168
      this.flowLayoutPanel1.Name = "flowLayoutPanel1";
moel@290
   169
      this.flowLayoutPanel1.Size = new System.Drawing.Size(288, 13);
moel@1
   170
      this.flowLayoutPanel1.TabIndex = 8;
moel@1
   171
      // 
moel@1
   172
      // AboutBox
moel@1
   173
      // 
moel@1
   174
      this.AcceptButton = this.okButton;
moel@290
   175
      this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
moel@290
   176
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
moel@1
   177
      this.AutoSize = true;
moel@290
   178
      this.ClientSize = new System.Drawing.Size(443, 145);
moel@1
   179
      this.Controls.Add(this.flowLayoutPanel1);
moel@1
   180
      this.Controls.Add(this.label4);
moel@1
   181
      this.Controls.Add(this.label3);
moel@1
   182
      this.Controls.Add(this.label2);
moel@1
   183
      this.Controls.Add(this.label1);
moel@1
   184
      this.Controls.Add(this.pictureBox1);
moel@269
   185
      this.Controls.Add(this.okButton);
moel@1
   186
      this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
moel@1
   187
      this.MaximizeBox = false;
moel@1
   188
      this.MinimizeBox = false;
moel@1
   189
      this.Name = "AboutBox";
moel@63
   190
      this.ShowInTaskbar = false;
moel@1
   191
      this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
moel@1
   192
      this.Text = "About";
moel@1
   193
      ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
moel@1
   194
      this.flowLayoutPanel1.ResumeLayout(false);
moel@1
   195
      this.flowLayoutPanel1.PerformLayout();
moel@1
   196
      this.ResumeLayout(false);
moel@1
   197
      this.PerformLayout();
moel@1
   198
moel@1
   199
    }
moel@1
   200
moel@1
   201
    #endregion
moel@1
   202
moel@1
   203
    private System.Windows.Forms.Button okButton;
moel@1
   204
    private System.Windows.Forms.PictureBox pictureBox1;
moel@1
   205
    private System.Windows.Forms.Label label1;
moel@1
   206
    private System.Windows.Forms.Label label2;
moel@1
   207
    private System.Windows.Forms.Label label3;
moel@1
   208
    private System.Windows.Forms.Label label4;
moel@1
   209
    private System.Windows.Forms.LinkLabel linkLabel;
moel@1
   210
    private System.Windows.Forms.Label label5;
moel@1
   211
    private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
moel@1
   212
  }
moel@1
   213
}