Implementing FrontView support for packed mode and time display.
3 This Source Code Form is subject to the terms of the Mozilla Public
4 License, v. 2.0. If a copy of the MPL was not distributed with this
5 file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 Copyright (C) 2009-2010 Michael Möller <mmoeller@openhardwaremonitor.org>
11 namespace OpenHardwareMonitor.GUI {
12 partial class ParameterForm {
14 /// Required designer variable.
16 private System.ComponentModel.IContainer components = null;
19 /// Clean up any resources being used.
21 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
22 protected override void Dispose(bool disposing) {
23 if (disposing && (components != null)) {
26 base.Dispose(disposing);
29 #region Windows Form Designer generated code
32 /// Required method for Designer support - do not modify
33 /// the contents of this method with the code editor.
35 private void InitializeComponent() {
36 this.components = new System.ComponentModel.Container();
37 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
38 this.okButton = new System.Windows.Forms.Button();
39 this.cancelButton = new System.Windows.Forms.Button();
40 this.captionLabel = new System.Windows.Forms.Label();
41 this.dataGridView = new System.Windows.Forms.DataGridView();
42 this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
43 this.Default = new System.Windows.Forms.DataGridViewCheckBoxColumn();
44 this.ValueColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
45 this.bindingSource = new System.Windows.Forms.BindingSource(this.components);
46 this.descriptionLabel = new System.Windows.Forms.Label();
47 ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
48 ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
53 this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
54 this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
55 this.okButton.Location = new System.Drawing.Point(186, 213);
56 this.okButton.Name = "okButton";
57 this.okButton.Size = new System.Drawing.Size(75, 23);
58 this.okButton.TabIndex = 2;
59 this.okButton.Text = "OK";
60 this.okButton.UseVisualStyleBackColor = true;
61 this.okButton.Click += new System.EventHandler(this.okButton_Click);
65 this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
66 this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
67 this.cancelButton.Location = new System.Drawing.Point(267, 213);
68 this.cancelButton.Name = "cancelButton";
69 this.cancelButton.Size = new System.Drawing.Size(75, 23);
70 this.cancelButton.TabIndex = 3;
71 this.cancelButton.Text = "Cancel";
72 this.cancelButton.UseVisualStyleBackColor = true;
76 this.captionLabel.AutoSize = true;
77 this.captionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
78 this.captionLabel.Location = new System.Drawing.Point(12, 9);
79 this.captionLabel.Name = "captionLabel";
80 this.captionLabel.Size = new System.Drawing.Size(80, 13);
81 this.captionLabel.TabIndex = 4;
82 this.captionLabel.Text = "captionLabel";
86 this.dataGridView.AllowUserToAddRows = false;
87 this.dataGridView.AllowUserToDeleteRows = false;
88 this.dataGridView.AllowUserToResizeRows = false;
89 this.dataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
90 | System.Windows.Forms.AnchorStyles.Left)
91 | System.Windows.Forms.AnchorStyles.Right)));
92 this.dataGridView.AutoGenerateColumns = false;
93 this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
94 this.dataGridView.BackgroundColor = System.Drawing.SystemColors.Window;
95 this.dataGridView.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
96 this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
97 this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
101 this.dataGridView.DataSource = this.bindingSource;
102 dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
103 dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
104 dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
105 dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
106 dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
107 dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
108 dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
109 this.dataGridView.DefaultCellStyle = dataGridViewCellStyle1;
110 this.dataGridView.Location = new System.Drawing.Point(15, 30);
111 this.dataGridView.MultiSelect = false;
112 this.dataGridView.Name = "dataGridView";
113 this.dataGridView.RowHeadersVisible = false;
114 this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
115 this.dataGridView.ShowRowErrors = false;
116 this.dataGridView.Size = new System.Drawing.Size(327, 121);
117 this.dataGridView.TabIndex = 0;
118 this.dataGridView.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_RowEnter);
119 this.dataGridView.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.dataGridView_CellValidating);
120 this.dataGridView.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellEndEdit);
121 this.dataGridView.CurrentCellDirtyStateChanged += new System.EventHandler(this.dataGridView_CurrentCellDirtyStateChanged);
125 this.NameColumn.DataPropertyName = "Name";
126 this.NameColumn.HeaderText = "Name";
127 this.NameColumn.Name = "NameColumn";
128 this.NameColumn.ReadOnly = true;
129 this.NameColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
133 this.Default.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
134 this.Default.DataPropertyName = "Default";
135 this.Default.HeaderText = "Default";
136 this.Default.Name = "Default";
137 this.Default.Width = 47;
141 this.ValueColumn.DataPropertyName = "Value";
142 this.ValueColumn.HeaderText = "Value";
143 this.ValueColumn.Name = "ValueColumn";
144 this.ValueColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
148 this.bindingSource.AllowNew = false;
152 this.descriptionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
153 | System.Windows.Forms.AnchorStyles.Right)));
154 this.descriptionLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
155 this.descriptionLabel.Location = new System.Drawing.Point(15, 154);
156 this.descriptionLabel.Name = "descriptionLabel";
157 this.descriptionLabel.Padding = new System.Windows.Forms.Padding(2);
158 this.descriptionLabel.Size = new System.Drawing.Size(327, 50);
159 this.descriptionLabel.TabIndex = 6;
160 this.descriptionLabel.Text = "descriptionLabel";
164 this.AcceptButton = this.okButton;
165 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
166 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
167 this.ClientSize = new System.Drawing.Size(354, 248);
168 this.Controls.Add(this.descriptionLabel);
169 this.Controls.Add(this.dataGridView);
170 this.Controls.Add(this.captionLabel);
171 this.Controls.Add(this.cancelButton);
172 this.Controls.Add(this.okButton);
173 this.MaximizeBox = false;
174 this.MinimizeBox = false;
175 this.Name = "ParameterForm";
176 this.ShowIcon = false;
177 this.ShowInTaskbar = false;
178 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
179 this.Text = "Parameters";
180 ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
181 ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit();
182 this.ResumeLayout(false);
183 this.PerformLayout();
189 private System.Windows.Forms.Button okButton;
190 private System.Windows.Forms.Button cancelButton;
191 public System.Windows.Forms.Label captionLabel;
192 private System.Windows.Forms.DataGridView dataGridView;
193 private System.Windows.Forms.Label descriptionLabel;
194 private System.Windows.Forms.BindingSource bindingSource;
195 private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
196 private System.Windows.Forms.DataGridViewCheckBoxColumn Default;
197 private System.Windows.Forms.DataGridViewTextBoxColumn ValueColumn;