GUI/ParameterForm.Designer.cs
author moel.mich
Tue, 09 Mar 2010 22:27:10 +0000
changeset 79 9cdbe1d8d12a
parent 63 1a7c13ac7348
child 86 b4f0f206173d
permissions -rw-r--r--
Changed the CPU clock calculation. If no invariant TSC is available, then the max CPU clock is estimated at startup under load, otherwise an average over one second is used.
     1 namespace OpenHardwareMonitor.GUI {
     2   partial class ParameterForm {
     3     /// <summary>
     4     /// Required designer variable.
     5     /// </summary>
     6     private System.ComponentModel.IContainer components = null;
     7 
     8     /// <summary>
     9     /// Clean up any resources being used.
    10     /// </summary>
    11     /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    12     protected override void Dispose(bool disposing) {
    13       if (disposing && (components != null)) {
    14         components.Dispose();
    15       }
    16       base.Dispose(disposing);
    17     }
    18 
    19     #region Windows Form Designer generated code
    20 
    21     /// <summary>
    22     /// Required method for Designer support - do not modify
    23     /// the contents of this method with the code editor.
    24     /// </summary>
    25     private void InitializeComponent() {
    26       this.components = new System.ComponentModel.Container();
    27       System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
    28       this.okButton = new System.Windows.Forms.Button();
    29       this.cancelButton = new System.Windows.Forms.Button();
    30       this.captionLabel = new System.Windows.Forms.Label();
    31       this.dataGridView = new System.Windows.Forms.DataGridView();
    32       this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
    33       this.Default = new System.Windows.Forms.DataGridViewCheckBoxColumn();
    34       this.ValueColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
    35       this.bindingSource = new System.Windows.Forms.BindingSource(this.components);
    36       this.descriptionLabel = new System.Windows.Forms.Label();
    37       ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
    38       ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
    39       this.SuspendLayout();
    40       // 
    41       // okButton
    42       // 
    43       this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    44       this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
    45       this.okButton.Location = new System.Drawing.Point(186, 213);
    46       this.okButton.Name = "okButton";
    47       this.okButton.Size = new System.Drawing.Size(75, 23);
    48       this.okButton.TabIndex = 2;
    49       this.okButton.Text = "OK";
    50       this.okButton.UseVisualStyleBackColor = true;
    51       this.okButton.Click += new System.EventHandler(this.okButton_Click);
    52       // 
    53       // cancelButton
    54       // 
    55       this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    56       this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
    57       this.cancelButton.Location = new System.Drawing.Point(267, 213);
    58       this.cancelButton.Name = "cancelButton";
    59       this.cancelButton.Size = new System.Drawing.Size(75, 23);
    60       this.cancelButton.TabIndex = 3;
    61       this.cancelButton.Text = "Cancel";
    62       this.cancelButton.UseVisualStyleBackColor = true;
    63       // 
    64       // captionLabel
    65       // 
    66       this.captionLabel.AutoSize = true;
    67       this.captionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    68       this.captionLabel.Location = new System.Drawing.Point(12, 9);
    69       this.captionLabel.Name = "captionLabel";
    70       this.captionLabel.Size = new System.Drawing.Size(80, 13);
    71       this.captionLabel.TabIndex = 4;
    72       this.captionLabel.Text = "captionLabel";
    73       // 
    74       // dataGridView
    75       // 
    76       this.dataGridView.AllowUserToAddRows = false;
    77       this.dataGridView.AllowUserToDeleteRows = false;
    78       this.dataGridView.AllowUserToResizeRows = false;
    79       this.dataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    80                   | System.Windows.Forms.AnchorStyles.Left)
    81                   | System.Windows.Forms.AnchorStyles.Right)));
    82       this.dataGridView.AutoGenerateColumns = false;
    83       this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
    84       this.dataGridView.BackgroundColor = System.Drawing.SystemColors.Window;
    85       this.dataGridView.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
    86       this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
    87       this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
    88             this.NameColumn,
    89             this.Default,
    90             this.ValueColumn});
    91       this.dataGridView.DataSource = this.bindingSource;
    92       dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
    93       dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
    94       dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    95       dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
    96       dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
    97       dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
    98       dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
    99       this.dataGridView.DefaultCellStyle = dataGridViewCellStyle1;
   100       this.dataGridView.Location = new System.Drawing.Point(15, 30);
   101       this.dataGridView.MultiSelect = false;
   102       this.dataGridView.Name = "dataGridView";
   103       this.dataGridView.RowHeadersVisible = false;
   104       this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
   105       this.dataGridView.ShowRowErrors = false;
   106       this.dataGridView.Size = new System.Drawing.Size(327, 121);
   107       this.dataGridView.TabIndex = 0;
   108       this.dataGridView.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_RowEnter);
   109       this.dataGridView.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.dataGridView_CellValidating);
   110       this.dataGridView.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellEndEdit);
   111       this.dataGridView.CurrentCellDirtyStateChanged += new System.EventHandler(this.dataGridView_CurrentCellDirtyStateChanged);
   112       // 
   113       // NameColumn
   114       // 
   115       this.NameColumn.DataPropertyName = "Name";
   116       this.NameColumn.HeaderText = "Name";
   117       this.NameColumn.Name = "NameColumn";
   118       this.NameColumn.ReadOnly = true;
   119       this.NameColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
   120       // 
   121       // Default
   122       // 
   123       this.Default.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
   124       this.Default.DataPropertyName = "Default";
   125       this.Default.HeaderText = "Default";
   126       this.Default.Name = "Default";
   127       this.Default.Width = 47;
   128       // 
   129       // ValueColumn
   130       // 
   131       this.ValueColumn.DataPropertyName = "Value";
   132       this.ValueColumn.HeaderText = "Value";
   133       this.ValueColumn.Name = "ValueColumn";
   134       this.ValueColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
   135       // 
   136       // bindingSource
   137       // 
   138       this.bindingSource.AllowNew = false;
   139       // 
   140       // descriptionLabel
   141       // 
   142       this.descriptionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
   143                   | System.Windows.Forms.AnchorStyles.Right)));
   144       this.descriptionLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
   145       this.descriptionLabel.Location = new System.Drawing.Point(15, 154);
   146       this.descriptionLabel.Name = "descriptionLabel";
   147       this.descriptionLabel.Padding = new System.Windows.Forms.Padding(2);
   148       this.descriptionLabel.Size = new System.Drawing.Size(327, 50);
   149       this.descriptionLabel.TabIndex = 6;
   150       this.descriptionLabel.Text = "descriptionLabel";
   151       // 
   152       // ParameterForm
   153       // 
   154       this.AcceptButton = this.okButton;
   155       this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
   156       this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
   157       this.ClientSize = new System.Drawing.Size(354, 248);
   158       this.Controls.Add(this.descriptionLabel);
   159       this.Controls.Add(this.dataGridView);
   160       this.Controls.Add(this.captionLabel);
   161       this.Controls.Add(this.cancelButton);
   162       this.Controls.Add(this.okButton);
   163       this.Name = "ParameterForm";
   164       this.ShowIcon = false;
   165       this.ShowInTaskbar = false;
   166       this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
   167       this.Text = "Parameters";
   168       ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
   169       ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit();
   170       this.ResumeLayout(false);
   171       this.PerformLayout();
   172 
   173     }
   174 
   175     #endregion
   176 
   177     private System.Windows.Forms.Button okButton;
   178     private System.Windows.Forms.Button cancelButton;
   179     public System.Windows.Forms.Label captionLabel;
   180     private System.Windows.Forms.DataGridView dataGridView;
   181     private System.Windows.Forms.Label descriptionLabel;
   182     private System.Windows.Forms.BindingSource bindingSource;
   183     private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
   184     private System.Windows.Forms.DataGridViewCheckBoxColumn Default;
   185     private System.Windows.Forms.DataGridViewTextBoxColumn ValueColumn;
   186 
   187   }
   188 }