moel@86: /* moel@86: moel@86: Version: MPL 1.1/GPL 2.0/LGPL 2.1 moel@86: moel@86: The contents of this file are subject to the Mozilla Public License Version moel@86: 1.1 (the "License"); you may not use this file except in compliance with moel@86: the License. You may obtain a copy of the License at moel@86: moel@86: http://www.mozilla.org/MPL/ moel@86: moel@86: Software distributed under the License is distributed on an "AS IS" basis, moel@86: WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License moel@86: for the specific language governing rights and limitations under the License. moel@86: moel@86: The Original Code is the Open Hardware Monitor code. moel@86: moel@86: The Initial Developer of the Original Code is moel@86: Michael Möller . moel@86: Portions created by the Initial Developer are Copyright (C) 2009-2010 moel@86: the Initial Developer. All Rights Reserved. moel@86: moel@86: Contributor(s): moel@86: moel@86: Alternatively, the contents of this file may be used under the terms of moel@86: either the GNU General Public License Version 2 or later (the "GPL"), or moel@86: the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), moel@86: in which case the provisions of the GPL or the LGPL are applicable instead moel@86: of those above. If you wish to allow use of your version of this file only moel@86: under the terms of either the GPL or the LGPL, and not to allow others to moel@86: use your version of this file under the terms of the MPL, indicate your moel@86: decision by deleting the provisions above and replace them with the notice moel@86: and other provisions required by the GPL or the LGPL. If you do not delete moel@86: the provisions above, a recipient may use your version of this file under moel@86: the terms of any one of the MPL, the GPL or the LGPL. moel@86: moel@86: */ moel@86: moel@86: namespace OpenHardwareMonitor.GUI { moel@63: partial class ParameterForm { moel@63: /// moel@63: /// Required designer variable. moel@63: /// moel@63: private System.ComponentModel.IContainer components = null; moel@63: moel@63: /// moel@63: /// Clean up any resources being used. moel@63: /// moel@63: /// true if managed resources should be disposed; otherwise, false. moel@63: protected override void Dispose(bool disposing) { moel@63: if (disposing && (components != null)) { moel@63: components.Dispose(); moel@63: } moel@63: base.Dispose(disposing); moel@63: } moel@63: moel@63: #region Windows Form Designer generated code moel@63: moel@63: /// moel@63: /// Required method for Designer support - do not modify moel@63: /// the contents of this method with the code editor. moel@63: /// moel@63: private void InitializeComponent() { moel@63: this.components = new System.ComponentModel.Container(); moel@63: System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); moel@63: this.okButton = new System.Windows.Forms.Button(); moel@63: this.cancelButton = new System.Windows.Forms.Button(); moel@63: this.captionLabel = new System.Windows.Forms.Label(); moel@63: this.dataGridView = new System.Windows.Forms.DataGridView(); moel@63: this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); moel@63: this.Default = new System.Windows.Forms.DataGridViewCheckBoxColumn(); moel@63: this.ValueColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); moel@63: this.bindingSource = new System.Windows.Forms.BindingSource(this.components); moel@63: this.descriptionLabel = new System.Windows.Forms.Label(); moel@63: ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); moel@63: ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit(); moel@63: this.SuspendLayout(); moel@63: // moel@63: // okButton moel@63: // moel@63: this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); moel@63: this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; moel@63: this.okButton.Location = new System.Drawing.Point(186, 213); moel@63: this.okButton.Name = "okButton"; moel@63: this.okButton.Size = new System.Drawing.Size(75, 23); moel@63: this.okButton.TabIndex = 2; moel@63: this.okButton.Text = "OK"; moel@63: this.okButton.UseVisualStyleBackColor = true; moel@63: this.okButton.Click += new System.EventHandler(this.okButton_Click); moel@63: // moel@63: // cancelButton moel@63: // moel@63: this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); moel@63: this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; moel@63: this.cancelButton.Location = new System.Drawing.Point(267, 213); moel@63: this.cancelButton.Name = "cancelButton"; moel@63: this.cancelButton.Size = new System.Drawing.Size(75, 23); moel@63: this.cancelButton.TabIndex = 3; moel@74: this.cancelButton.Text = "Cancel"; moel@63: this.cancelButton.UseVisualStyleBackColor = true; moel@63: // moel@63: // captionLabel moel@63: // moel@63: this.captionLabel.AutoSize = true; moel@63: this.captionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); moel@63: this.captionLabel.Location = new System.Drawing.Point(12, 9); moel@63: this.captionLabel.Name = "captionLabel"; moel@63: this.captionLabel.Size = new System.Drawing.Size(80, 13); moel@63: this.captionLabel.TabIndex = 4; moel@63: this.captionLabel.Text = "captionLabel"; moel@63: // moel@63: // dataGridView moel@63: // moel@63: this.dataGridView.AllowUserToAddRows = false; moel@63: this.dataGridView.AllowUserToDeleteRows = false; moel@63: this.dataGridView.AllowUserToResizeRows = false; moel@63: this.dataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) moel@63: | System.Windows.Forms.AnchorStyles.Left) moel@63: | System.Windows.Forms.AnchorStyles.Right))); moel@63: this.dataGridView.AutoGenerateColumns = false; moel@63: this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; moel@63: this.dataGridView.BackgroundColor = System.Drawing.SystemColors.Window; moel@63: this.dataGridView.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; moel@63: this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; moel@63: this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { moel@63: this.NameColumn, moel@63: this.Default, moel@63: this.ValueColumn}); moel@63: this.dataGridView.DataSource = this.bindingSource; moel@63: dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; moel@63: dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window; moel@63: dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); moel@63: dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText; moel@63: dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); moel@63: dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText; moel@63: dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; moel@63: this.dataGridView.DefaultCellStyle = dataGridViewCellStyle1; moel@63: this.dataGridView.Location = new System.Drawing.Point(15, 30); moel@63: this.dataGridView.MultiSelect = false; moel@63: this.dataGridView.Name = "dataGridView"; moel@63: this.dataGridView.RowHeadersVisible = false; moel@63: this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; moel@63: this.dataGridView.ShowRowErrors = false; moel@63: this.dataGridView.Size = new System.Drawing.Size(327, 121); moel@63: this.dataGridView.TabIndex = 0; moel@63: this.dataGridView.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_RowEnter); moel@63: this.dataGridView.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.dataGridView_CellValidating); moel@63: this.dataGridView.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellEndEdit); moel@63: this.dataGridView.CurrentCellDirtyStateChanged += new System.EventHandler(this.dataGridView_CurrentCellDirtyStateChanged); moel@63: // moel@63: // NameColumn moel@63: // moel@63: this.NameColumn.DataPropertyName = "Name"; moel@63: this.NameColumn.HeaderText = "Name"; moel@63: this.NameColumn.Name = "NameColumn"; moel@63: this.NameColumn.ReadOnly = true; moel@63: this.NameColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; moel@63: // moel@63: // Default moel@63: // moel@63: this.Default.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader; moel@63: this.Default.DataPropertyName = "Default"; moel@63: this.Default.HeaderText = "Default"; moel@63: this.Default.Name = "Default"; moel@63: this.Default.Width = 47; moel@63: // moel@63: // ValueColumn moel@63: // moel@63: this.ValueColumn.DataPropertyName = "Value"; moel@63: this.ValueColumn.HeaderText = "Value"; moel@63: this.ValueColumn.Name = "ValueColumn"; moel@63: this.ValueColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; moel@63: // moel@63: // bindingSource moel@63: // moel@63: this.bindingSource.AllowNew = false; moel@63: // moel@63: // descriptionLabel moel@63: // moel@63: this.descriptionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) moel@63: | System.Windows.Forms.AnchorStyles.Right))); moel@63: this.descriptionLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; moel@63: this.descriptionLabel.Location = new System.Drawing.Point(15, 154); moel@63: this.descriptionLabel.Name = "descriptionLabel"; moel@63: this.descriptionLabel.Padding = new System.Windows.Forms.Padding(2); moel@63: this.descriptionLabel.Size = new System.Drawing.Size(327, 50); moel@63: this.descriptionLabel.TabIndex = 6; moel@63: this.descriptionLabel.Text = "descriptionLabel"; moel@63: // moel@63: // ParameterForm moel@63: // moel@63: this.AcceptButton = this.okButton; moel@63: this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); moel@63: this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; moel@63: this.ClientSize = new System.Drawing.Size(354, 248); moel@63: this.Controls.Add(this.descriptionLabel); moel@63: this.Controls.Add(this.dataGridView); moel@63: this.Controls.Add(this.captionLabel); moel@63: this.Controls.Add(this.cancelButton); moel@63: this.Controls.Add(this.okButton); moel@86: this.MaximizeBox = false; moel@86: this.MinimizeBox = false; moel@63: this.Name = "ParameterForm"; moel@63: this.ShowIcon = false; moel@63: this.ShowInTaskbar = false; moel@63: this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; moel@63: this.Text = "Parameters"; moel@63: ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); moel@63: ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit(); moel@63: this.ResumeLayout(false); moel@63: this.PerformLayout(); moel@63: moel@63: } moel@63: moel@63: #endregion moel@63: moel@63: private System.Windows.Forms.Button okButton; moel@63: private System.Windows.Forms.Button cancelButton; moel@63: public System.Windows.Forms.Label captionLabel; moel@63: private System.Windows.Forms.DataGridView dataGridView; moel@63: private System.Windows.Forms.Label descriptionLabel; moel@63: private System.Windows.Forms.BindingSource bindingSource; moel@63: private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn; moel@63: private System.Windows.Forms.DataGridViewCheckBoxColumn Default; moel@63: private System.Windows.Forms.DataGridViewTextBoxColumn ValueColumn; moel@63: moel@63: } moel@63: }