本文整理汇总了C#中System.Windows.Forms.DataGridView类的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.DataGridView类的具体用法?C# System.Windows.Forms.DataGridView怎么用?C# System.Windows.Forms.DataGridView使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
System.Windows.Forms.DataGridView类属于命名空间,在下文中一共展示了System.Windows.Forms.DataGridView类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.dataGridView = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
this.SuspendLayout();
//
// dataGridView
//
this.dataGridView.AllowUserToAddRows = false;
this.dataGridView.AllowUserToDeleteRows = false;
this.dataGridView.AllowUserToResizeRows = false;
this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView.Location = new System.Drawing.Point(12, 12);
this.dataGridView.Name = "dataGridView";
this.dataGridView.ReadOnly = true;
this.dataGridView.Size = new System.Drawing.Size(517, 337);
this.dataGridView.TabIndex = 9;
this.dataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellContentClick);
//
// CalificarVendedor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(541, 380);
this.Controls.Add(this.dataGridView);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.Name = "CalificarVendedor";
this.Text = "Calificar al Vendedor";
this.Load += new System.EventHandler(this.CalificarVendedor_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
this.ResumeLayout(false);
}
示例2: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.grid = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
this.SuspendLayout();
//
// grid
//
this.grid.AllowUserToAddRows = false;
this.grid.AllowUserToDeleteRows = false;
this.grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.grid.Dock = System.Windows.Forms.DockStyle.Fill;
this.grid.Location = new System.Drawing.Point(0, 0);
this.grid.Name = "grid";
this.grid.ReadOnly = true;
this.grid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.grid.Size = new System.Drawing.Size(606, 262);
this.grid.TabIndex = 0;
this.grid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grid_CellContentClick);
//
// FrmGrid
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(606, 262);
this.Controls.Add(this.grid);
this.Name = "FrmGrid";
this.ShowIcon = false;
this.Text = "Esforço mínimo SQL";
this.Load += new System.EventHandler(this.FrmGrid_Load);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmGrid_FormClosed);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmGrid_FormClosing);
((System.ComponentModel.ISupportInitialize)(this.grid)).EndInit();
this.ResumeLayout(false);
}
示例3: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.dataGridView1 = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// dataGridView1
//
this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.ColumnHeader;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(334, 310);
this.dataGridView1.TabIndex = 0;
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
//
// AttributeTableFrm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.ClientSize = new System.Drawing.Size(334, 310);
this.Controls.Add(this.dataGridView1);
this.Name = "AttributeTableFrm";
this.Text = "AttributeTableFrm";
this.Load += new System.EventHandler(this.AttributeTableFrm_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}
示例4: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.dataGridView1 = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// dataGridView1
//
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
this.dataGridView1.Margin = new System.Windows.Forms.Padding(0);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dataGridView1.Size = new System.Drawing.Size(719, 367);
this.dataGridView1.TabIndex = 17;
this.dataGridView1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.dataGridView1_MouseDoubleClick);
//
// basic_model
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(719, 367);
this.Controls.Add(this.dataGridView1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "basic_model";
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "药品生产商";
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}
示例5: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fmPlayerLookup));
this.dgPart = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this.dgPart)).BeginInit();
this.SuspendLayout();
//
// dgPart
//
this.dgPart.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgPart.Location = new System.Drawing.Point(12, 12);
this.dgPart.Name = "dgPart";
this.dgPart.Size = new System.Drawing.Size(485, 368);
this.dgPart.TabIndex = 0;
this.dgPart.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgPart_CellDoubleClick);
this.dgPart.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.dgPart_KeyPress);
//
// fmPlayerLookup
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(509, 392);
this.Controls.Add(this.dgPart);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "fmPlayerLookup";
this.Text = "Part Lookup";
this.Load += new System.EventHandler(this.fmPartLookup_Load);
((System.ComponentModel.ISupportInitialize)(this.dgPart)).EndInit();
this.ResumeLayout(false);
}
示例6: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.dataGridView1 = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// dataGridView1
//
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Location = new System.Drawing.Point(12, 12);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.Size = new System.Drawing.Size(268, 249);
this.dataGridView1.TabIndex = 0;
//
// SpamResultForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 273);
this.Controls.Add(this.dataGridView1);
this.Name = "SpamResultForm";
this.Text = "SpamResultForm";
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}
示例7: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// dataGridView1
//
this.dataGridView1.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.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ButtonFace;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
this.Column2,
this.Column3});
this.dataGridView1.Location = new System.Drawing.Point(12, 12);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.ReadOnly = true;
this.dataGridView1.Size = new System.Drawing.Size(703, 612);
this.dataGridView1.TabIndex = 0;
//
// Column1
//
this.Column1.HeaderText = "Номер канала";
this.Column1.Name = "Column1";
this.Column1.ReadOnly = true;
this.Column1.Width = 150;
//
// Column2
//
this.Column2.HeaderText = "Описание";
this.Column2.Name = "Column2";
this.Column2.ReadOnly = true;
this.Column2.Width = 300;
//
// Column3
//
this.Column3.HeaderText = "Текущее значение";
this.Column3.Name = "Column3";
this.Column3.ReadOnly = true;
this.Column3.Width = 200;
//
// ChannelsViewForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(728, 636);
this.Controls.Add(this.dataGridView1);
this.Name = "ChannelsViewForm";
this.Text = "Каналы";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ChannelsViewForm_FormClosing);
this.Load += new System.EventHandler(this.ChannelsViewForm_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}
示例8: CreateDataGridView
private void CreateDataGridView()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this._gridResult2 = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this._gridResult2)).BeginInit();
this.tab_result2.Controls.Add(this._gridResult2);
this._gridResult2.AllowUserToAddRows = false;
this._gridResult2.AllowUserToDeleteRows = false;
this._gridResult2.AllowUserToOrderColumns = true;
this._gridResult2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle1.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
dataGridViewCellStyle1.NullValue = "(null)";
this._gridResult2.DefaultCellStyle = dataGridViewCellStyle1;
this._gridResult2.Dock = System.Windows.Forms.DockStyle.Fill;
this._gridResult2.Location = new System.Drawing.Point(0, 0);
this._gridResult2.Name = "grid_result2";
this._gridResult2.ReadOnly = true;
this._gridResult2.Size = new System.Drawing.Size(1048, 364);
this._gridResult2.TabIndex = 0;
this._gridResult2.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.grid_result2_RowPostPaint);
((System.ComponentModel.ISupportInitialize)(this._gridResult2)).EndInit();
}
示例9: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.dataGridView1 = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// dataGridView1
//
this.dataGridView1.AllowUserToOrderColumns = true;
this.dataGridView1.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.dataGridView1.Location = new System.Drawing.Point(12, 12);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.ReadOnly = true;
this.dataGridView1.Size = new System.Drawing.Size(968, 331);
this.dataGridView1.TabIndex = 0;
this.dataGridView1.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.dataGridView1_CellPainting);
//
// FormFast
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(992, 355);
this.Controls.Add(this.dataGridView1);
this.Name = "FormFast";
this.Text = "FormFast";
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}
示例10: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.dataGridView1 = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// dataGridView1
//
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.Size = new System.Drawing.Size(786, 428);
this.dataGridView1.TabIndex = 0;
//
// frmVentasPesosCons
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(786, 428);
this.Controls.Add(this.dataGridView1);
this.Name = "frmVentasPesosCons";
this.Text = "Consulta de venta en pesos";
this.Load += new System.EventHandler(this.frmVentasPesosCons_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}
示例11: StatusWindow
public StatusWindow()
{
InitializeComponent();
statusDataGrid = new System.Windows.Forms.DataGridView();
statusDataGrid.ColumnCount = 3;
statusDataGrid.RowHeadersVisible = false;
statusDataGrid.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
//statusDataGrid.Location = new System.Drawing.Point(8, 8);
//statusDataGrid.Size = new System.Drawing.Size(500, 250);
statusDataGrid.Name = "statusDataGridView";
statusDataGrid.Columns[0].Name = Properties.Resources.StatusWindowGridStatus;
statusDataGrid.Columns[1].Name = Properties.Resources.StatusWindowGridComponent;
statusDataGrid.Columns[2].Name = Properties.Resources.StatusWindowGridMessage;
statusDataGrid.Columns[0].Width = 80;
statusDataGrid.Columns[1].Width = 120;
statusDataGrid.Columns[2].Width = (int)formsHost.Width - 80 - 120;
this.formsHost.Child = statusDataGrid;
statusDataGrid.Width = (int)this.formsHost.Width;
statusDataGrid.Height = (int)this.formsHost.Height;
statusDataGrid.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.SizeChanged += new SizeChangedEventHandler(StatusWindow_SizeChanged);
}
示例12: InitializeComponent
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido del método con el editor de código.
/// </summary>
private void InitializeComponent()
{
this.Tabla_Instancias = new System.Windows.Forms.DataGridView();
this.panel1 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
((System.ComponentModel.ISupportInitialize)(this.Tabla_Instancias)).BeginInit();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// Tabla_Instancias
//
this.Tabla_Instancias.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.Tabla_Instancias.Dock = System.Windows.Forms.DockStyle.Fill;
this.Tabla_Instancias.Location = new System.Drawing.Point(10, 10);
this.Tabla_Instancias.Name = "Tabla_Instancias";
this.Tabla_Instancias.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.Tabla_Instancias.Size = new System.Drawing.Size(526, 124);
this.Tabla_Instancias.TabIndex = 0;
this.Tabla_Instancias.DoubleClick += new System.EventHandler(this.Tabla_Instancias_DoubleClick);
//
// panel1
//
this.panel1.Controls.Add(this.panel2);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Padding = new System.Windows.Forms.Padding(10);
this.panel1.Size = new System.Drawing.Size(566, 164);
this.panel1.TabIndex = 1;
//
// panel2
//
this.panel2.Controls.Add(this.Tabla_Instancias);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(10, 10);
this.panel2.Name = "panel2";
this.panel2.Padding = new System.Windows.Forms.Padding(10);
this.panel2.Size = new System.Drawing.Size(546, 144);
this.panel2.TabIndex = 0;
//
// FrmInstancia_SQL
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.DimGray;
this.ClientSize = new System.Drawing.Size(566, 164);
this.Controls.Add(this.panel1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FrmInstancia_SQL";
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Instancias SQL";
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.Tabla_Instancias)).EndInit();
this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.ResumeLayout(false);
}
示例13: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.btnOK = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.grdProperties = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this.grdProperties)).BeginInit();
this.SuspendLayout();
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.Location = new System.Drawing.Point(168, 96);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 0;
this.btnOK.Text = "OK";
this.btnOK.UseVisualStyleBackColor = true;
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
//
// btnCancel
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(250, 96);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 1;
this.btnCancel.Text = "Cancel";
this.btnCancel.UseVisualStyleBackColor = true;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// grdPendingProperties
//
this.grdProperties.AllowUserToAddRows = false;
this.grdProperties.AllowUserToDeleteRows = false;
this.grdProperties.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.grdProperties.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.grdProperties.Location = new System.Drawing.Point(13, 13);
this.grdProperties.Name = "grdPendingProperties";
this.grdProperties.Size = new System.Drawing.Size(312, 77);
this.grdProperties.TabIndex = 2;
//
// PendingParameterDialog
//
this.AcceptButton = this.btnOK;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(337, 131);
this.Controls.Add(this.grdProperties);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnOK);
this.Name = "PendingParameterDialog";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Set Additional Parameters";
((System.ComponentModel.ISupportInitialize)(this.grdProperties)).EndInit();
this.ResumeLayout(false);
}
示例14: InitializeComponent
/// <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();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.grdWinter = new System.Windows.Forms.DataGridView();
this.gridMenuStrip = new zaitun.GUI.GridMenuStrip(this.components);
((System.ComponentModel.ISupportInitialize)(this.grdWinter)).BeginInit();
this.SuspendLayout();
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn1.HeaderText = "Value";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.HeaderText = "Predicted";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.ReadOnly = true;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.HeaderText = "Residual";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.ReadOnly = true;
//
// grdWinter
//
this.grdWinter.AllowUserToAddRows = false;
this.grdWinter.AllowUserToDeleteRows = false;
this.grdWinter.AllowUserToResizeRows = false;
this.grdWinter.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.grdWinter.Dock = System.Windows.Forms.DockStyle.Fill;
this.grdWinter.ContextMenuStrip = this.gridMenuStrip;
this.grdWinter.Location = new System.Drawing.Point(0, 0);
this.grdWinter.Margin = new System.Windows.Forms.Padding(10);
this.grdWinter.Name = "grdWinter";
this.grdWinter.ReadOnly = true;
this.grdWinter.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
this.grdWinter.RowTemplate.Height = 25;
this.grdWinter.Size = new System.Drawing.Size(512, 353);
this.grdWinter.TabIndex = 4;
//
// gridMenuStrip
//
this.gridMenuStrip.Name = "mnuGrid";
this.gridMenuStrip.Size = new System.Drawing.Size(168, 142);
//
// TripleExponentialSmoothingWinterDataGrid
//
this.Controls.Add(this.grdWinter);
this.Name = "TripleExponentialSmoothingWinterDataGrid";
this.Size = new System.Drawing.Size(512, 353);
((System.ComponentModel.ISupportInitialize)(this.grdWinter)).EndInit();
this.ResumeLayout(false);
}
开发者ID:ammepuspita,项目名称:zaitun-time-series,代码行数:64,代码来源:TripleExponentialSmoothingWinterDataGrid.designer.cs
示例15: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.dataGridView1 = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false;
this.dataGridView1.AllowUserToOrderColumns = true;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.ReadOnly = true;
this.dataGridView1.Size = new System.Drawing.Size(647, 349);
this.dataGridView1.TabIndex = 0;
//
// QueryResult
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(647, 349);
this.Controls.Add(this.dataGridView1);
this.Name = "QueryResult";
this.Text = "QueryResult";
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}