GUI/ParameterForm.Designer.cs
author moel.mich
Mon, 07 Jun 2010 20:03:48 +0000
changeset 136 fa2957aa0699
parent 74 20c1378e0ede
child 344 3145aadca3d2
permissions -rw-r--r--
Added (partial) SMBIOS support for Linux by reading from sysfs.
     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 ParameterForm {
    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.components = new System.ComponentModel.Container();
    64       System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
    65       this.okButton = new System.Windows.Forms.Button();
    66       this.cancelButton = new System.Windows.Forms.Button();
    67       this.captionLabel = new System.Windows.Forms.Label();
    68       this.dataGridView = new System.Windows.Forms.DataGridView();
    69       this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
    70       this.Default = new System.Windows.Forms.DataGridViewCheckBoxColumn();
    71       this.ValueColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
    72       this.bindingSource = new System.Windows.Forms.BindingSource(this.components);
    73       this.descriptionLabel = new System.Windows.Forms.Label();
    74       ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
    75       ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
    76       this.SuspendLayout();
    77       // 
    78       // okButton
    79       // 
    80       this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    81       this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
    82       this.okButton.Location = new System.Drawing.Point(186, 213);
    83       this.okButton.Name = "okButton";
    84       this.okButton.Size = new System.Drawing.Size(75, 23);
    85       this.okButton.TabIndex = 2;
    86       this.okButton.Text = "OK";
    87       this.okButton.UseVisualStyleBackColor = true;
    88       this.okButton.Click += new System.EventHandler(this.okButton_Click);
    89       // 
    90       // cancelButton
    91       // 
    92       this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    93       this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
    94       this.cancelButton.Location = new System.Drawing.Point(267, 213);
    95       this.cancelButton.Name = "cancelButton";
    96       this.cancelButton.Size = new System.Drawing.Size(75, 23);
    97       this.cancelButton.TabIndex = 3;
    98       this.cancelButton.Text = "Cancel";
    99       this.cancelButton.UseVisualStyleBackColor = true;
   100       // 
   101       // captionLabel
   102       // 
   103       this.captionLabel.AutoSize = true;
   104       this.captionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
   105       this.captionLabel.Location = new System.Drawing.Point(12, 9);
   106       this.captionLabel.Name = "captionLabel";
   107       this.captionLabel.Size = new System.Drawing.Size(80, 13);
   108       this.captionLabel.TabIndex = 4;
   109       this.captionLabel.Text = "captionLabel";
   110       // 
   111       // dataGridView
   112       // 
   113       this.dataGridView.AllowUserToAddRows = false;
   114       this.dataGridView.AllowUserToDeleteRows = false;
   115       this.dataGridView.AllowUserToResizeRows = false;
   116       this.dataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
   117                   | System.Windows.Forms.AnchorStyles.Left)
   118                   | System.Windows.Forms.AnchorStyles.Right)));
   119       this.dataGridView.AutoGenerateColumns = false;
   120       this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
   121       this.dataGridView.BackgroundColor = System.Drawing.SystemColors.Window;
   122       this.dataGridView.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
   123       this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
   124       this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
   125             this.NameColumn,
   126             this.Default,
   127             this.ValueColumn});
   128       this.dataGridView.DataSource = this.bindingSource;
   129       dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
   130       dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
   131       dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
   132       dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
   133       dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
   134       dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
   135       dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
   136       this.dataGridView.DefaultCellStyle = dataGridViewCellStyle1;
   137       this.dataGridView.Location = new System.Drawing.Point(15, 30);
   138       this.dataGridView.MultiSelect = false;
   139       this.dataGridView.Name = "dataGridView";
   140       this.dataGridView.RowHeadersVisible = false;
   141       this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
   142       this.dataGridView.ShowRowErrors = false;
   143       this.dataGridView.Size = new System.Drawing.Size(327, 121);
   144       this.dataGridView.TabIndex = 0;
   145       this.dataGridView.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_RowEnter);
   146       this.dataGridView.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.dataGridView_CellValidating);
   147       this.dataGridView.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellEndEdit);
   148       this.dataGridView.CurrentCellDirtyStateChanged += new System.EventHandler(this.dataGridView_CurrentCellDirtyStateChanged);
   149       // 
   150       // NameColumn
   151       // 
   152       this.NameColumn.DataPropertyName = "Name";
   153       this.NameColumn.HeaderText = "Name";
   154       this.NameColumn.Name = "NameColumn";
   155       this.NameColumn.ReadOnly = true;
   156       this.NameColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
   157       // 
   158       // Default
   159       // 
   160       this.Default.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
   161       this.Default.DataPropertyName = "Default";
   162       this.Default.HeaderText = "Default";
   163       this.Default.Name = "Default";
   164       this.Default.Width = 47;
   165       // 
   166       // ValueColumn
   167       // 
   168       this.ValueColumn.DataPropertyName = "Value";
   169       this.ValueColumn.HeaderText = "Value";
   170       this.ValueColumn.Name = "ValueColumn";
   171       this.ValueColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
   172       // 
   173       // bindingSource
   174       // 
   175       this.bindingSource.AllowNew = false;
   176       // 
   177       // descriptionLabel
   178       // 
   179       this.descriptionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
   180                   | System.Windows.Forms.AnchorStyles.Right)));
   181       this.descriptionLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
   182       this.descriptionLabel.Location = new System.Drawing.Point(15, 154);
   183       this.descriptionLabel.Name = "descriptionLabel";
   184       this.descriptionLabel.Padding = new System.Windows.Forms.Padding(2);
   185       this.descriptionLabel.Size = new System.Drawing.Size(327, 50);
   186       this.descriptionLabel.TabIndex = 6;
   187       this.descriptionLabel.Text = "descriptionLabel";
   188       // 
   189       // ParameterForm
   190       // 
   191       this.AcceptButton = this.okButton;
   192       this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
   193       this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
   194       this.ClientSize = new System.Drawing.Size(354, 248);
   195       this.Controls.Add(this.descriptionLabel);
   196       this.Controls.Add(this.dataGridView);
   197       this.Controls.Add(this.captionLabel);
   198       this.Controls.Add(this.cancelButton);
   199       this.Controls.Add(this.okButton);
   200       this.MaximizeBox = false;
   201       this.MinimizeBox = false;
   202       this.Name = "ParameterForm";
   203       this.ShowIcon = false;
   204       this.ShowInTaskbar = false;
   205       this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
   206       this.Text = "Parameters";
   207       ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
   208       ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit();
   209       this.ResumeLayout(false);
   210       this.PerformLayout();
   211 
   212     }
   213 
   214     #endregion
   215 
   216     private System.Windows.Forms.Button okButton;
   217     private System.Windows.Forms.Button cancelButton;
   218     public System.Windows.Forms.Label captionLabel;
   219     private System.Windows.Forms.DataGridView dataGridView;
   220     private System.Windows.Forms.Label descriptionLabel;
   221     private System.Windows.Forms.BindingSource bindingSource;
   222     private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
   223     private System.Windows.Forms.DataGridViewCheckBoxColumn Default;
   224     private System.Windows.Forms.DataGridViewTextBoxColumn ValueColumn;
   225 
   226   }
   227 }