public ExtraCellTable() : base() { isInitialized = false; mainForm = (MDIUI)Application.OpenForms[0]; addressBox = mainForm.addressInput; inputBox = mainForm.formulaInput.TextBox; isEditing = false; EnableHeadersVisualStyles = true; ece = new extraCell.domain.ExtraCellEngine(); this.DataSource = ece; this.Size = new System.Drawing.Size(552, 270); this.Location = new System.Drawing.Point(3, 3); this.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.Dock = System.Windows.Forms.DockStyle.Fill; this.Location = new System.Drawing.Point(3, 3); this.RowHeadersWidth = 50; this.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.Size = new System.Drawing.Size(552, 270); var dataGridViewCellStyle2 = new DataGridViewCellStyle(); dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.ActiveCaption; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; dataGridViewCellStyle2.BackColor = Color.White; InitializeComponent(); DoubleBuffered = true; }
public ExtraCellTable() : base() { isInitialized = false; mainForm = (MDIUI) Application.OpenForms[0]; addressBox = mainForm.addressInput; inputBox = mainForm.formulaInput.TextBox; isEditing = false; EnableHeadersVisualStyles = true; ece = new extraCell.domain.ExtraCellEngine(); this.DataSource = ece; this.Size = new System.Drawing.Size(552, 270); this.Location = new System.Drawing.Point(3, 3); this.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.Dock = System.Windows.Forms.DockStyle.Fill; this.Location = new System.Drawing.Point(3, 3); this.RowHeadersWidth = 50; this.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.Size = new System.Drawing.Size(552, 270); var dataGridViewCellStyle2 = new DataGridViewCellStyle(); dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.ActiveCaption; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; dataGridViewCellStyle2.BackColor = Color.White; InitializeComponent(); DoubleBuffered = true; }