mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-22 18:07:09 +00:00
200 lines
10 KiB
C#
200 lines
10 KiB
C#
/*
|
|
|
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
Copyright (C) 2009-2010 Michael Möller <mmoeller@openhardwaremonitor.org>
|
|
|
|
*/
|
|
|
|
namespace OpenHardwareMonitor.GUI {
|
|
partial class ParameterForm {
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing) {
|
|
if (disposing && (components != null)) {
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent() {
|
|
this.components = new System.ComponentModel.Container();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.okButton = new System.Windows.Forms.Button();
|
|
this.cancelButton = new System.Windows.Forms.Button();
|
|
this.captionLabel = new System.Windows.Forms.Label();
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Default = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
this.ValueColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.bindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
this.descriptionLabel = new System.Windows.Forms.Label();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// okButton
|
|
//
|
|
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.okButton.Location = new System.Drawing.Point(186, 213);
|
|
this.okButton.Name = "okButton";
|
|
this.okButton.Size = new System.Drawing.Size(75, 23);
|
|
this.okButton.TabIndex = 2;
|
|
this.okButton.Text = "OK";
|
|
this.okButton.UseVisualStyleBackColor = true;
|
|
this.okButton.Click += new System.EventHandler(this.okButton_Click);
|
|
//
|
|
// cancelButton
|
|
//
|
|
this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.cancelButton.Location = new System.Drawing.Point(267, 213);
|
|
this.cancelButton.Name = "cancelButton";
|
|
this.cancelButton.Size = new System.Drawing.Size(75, 23);
|
|
this.cancelButton.TabIndex = 3;
|
|
this.cancelButton.Text = "Cancel";
|
|
this.cancelButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// captionLabel
|
|
//
|
|
this.captionLabel.AutoSize = true;
|
|
this.captionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.captionLabel.Location = new System.Drawing.Point(12, 9);
|
|
this.captionLabel.Name = "captionLabel";
|
|
this.captionLabel.Size = new System.Drawing.Size(80, 13);
|
|
this.captionLabel.TabIndex = 4;
|
|
this.captionLabel.Text = "captionLabel";
|
|
//
|
|
// dataGridView
|
|
//
|
|
this.dataGridView.AllowUserToAddRows = false;
|
|
this.dataGridView.AllowUserToDeleteRows = false;
|
|
this.dataGridView.AllowUserToResizeRows = false;
|
|
this.dataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.dataGridView.AutoGenerateColumns = false;
|
|
this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.dataGridView.BackgroundColor = System.Drawing.SystemColors.Window;
|
|
this.dataGridView.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.NameColumn,
|
|
this.Default,
|
|
this.ValueColumn});
|
|
this.dataGridView.DataSource = this.bindingSource;
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dataGridView.DefaultCellStyle = dataGridViewCellStyle1;
|
|
this.dataGridView.Location = new System.Drawing.Point(15, 30);
|
|
this.dataGridView.MultiSelect = false;
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.RowHeadersVisible = false;
|
|
this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dataGridView.ShowRowErrors = false;
|
|
this.dataGridView.Size = new System.Drawing.Size(327, 121);
|
|
this.dataGridView.TabIndex = 0;
|
|
this.dataGridView.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_RowEnter);
|
|
this.dataGridView.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.dataGridView_CellValidating);
|
|
this.dataGridView.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellEndEdit);
|
|
this.dataGridView.CurrentCellDirtyStateChanged += new System.EventHandler(this.dataGridView_CurrentCellDirtyStateChanged);
|
|
//
|
|
// NameColumn
|
|
//
|
|
this.NameColumn.DataPropertyName = "Name";
|
|
this.NameColumn.HeaderText = "Name";
|
|
this.NameColumn.Name = "NameColumn";
|
|
this.NameColumn.ReadOnly = true;
|
|
this.NameColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
//
|
|
// Default
|
|
//
|
|
this.Default.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
|
this.Default.DataPropertyName = "Default";
|
|
this.Default.HeaderText = "Default";
|
|
this.Default.Name = "Default";
|
|
this.Default.Width = 47;
|
|
//
|
|
// ValueColumn
|
|
//
|
|
this.ValueColumn.DataPropertyName = "Value";
|
|
this.ValueColumn.HeaderText = "Value";
|
|
this.ValueColumn.Name = "ValueColumn";
|
|
this.ValueColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
//
|
|
// bindingSource
|
|
//
|
|
this.bindingSource.AllowNew = false;
|
|
//
|
|
// descriptionLabel
|
|
//
|
|
this.descriptionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.descriptionLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.descriptionLabel.Location = new System.Drawing.Point(15, 154);
|
|
this.descriptionLabel.Name = "descriptionLabel";
|
|
this.descriptionLabel.Padding = new System.Windows.Forms.Padding(2);
|
|
this.descriptionLabel.Size = new System.Drawing.Size(327, 50);
|
|
this.descriptionLabel.TabIndex = 6;
|
|
this.descriptionLabel.Text = "descriptionLabel";
|
|
//
|
|
// ParameterForm
|
|
//
|
|
this.AcceptButton = this.okButton;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(354, 248);
|
|
this.Controls.Add(this.descriptionLabel);
|
|
this.Controls.Add(this.dataGridView);
|
|
this.Controls.Add(this.captionLabel);
|
|
this.Controls.Add(this.cancelButton);
|
|
this.Controls.Add(this.okButton);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "ParameterForm";
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "Parameters";
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button okButton;
|
|
private System.Windows.Forms.Button cancelButton;
|
|
public System.Windows.Forms.Label captionLabel;
|
|
private System.Windows.Forms.DataGridView dataGridView;
|
|
private System.Windows.Forms.Label descriptionLabel;
|
|
private System.Windows.Forms.BindingSource bindingSource;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
|
|
private System.Windows.Forms.DataGridViewCheckBoxColumn Default;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ValueColumn;
|
|
|
|
}
|
|
} |