1 write to dataGridView1
WinFormsControlsTest (1)
DataGridViewTest.Designer.cs (1)
36
this.
dataGridView1
= new System.Windows.Forms.DataGridView();
29 references to dataGridView1
WinFormsControlsTest (29)
DataGridViewTest.cs (17)
26
dataGridView1
.Rows.Add(new DataGridViewRow() { Visible = false });
27
dataGridView1
.Rows.Add("DefaultCellStyle",
dataGridView1
.DefaultCellStyle.Font.ToString());
28
dataGridView1
.Rows.Add("ColumnHeadersDefaultCellStyle",
dataGridView1
.ColumnHeadersDefaultCellStyle.Font.ToString());
29
dataGridView1
.Rows.Add("RowHeadersDefaultCellStyle",
dataGridView1
.RowHeadersDefaultCellStyle.Font.ToString());
33
foreach (DataGridViewRow row in
dataGridView1
.Rows)
74
dataGridView1
.DefaultCellStyle.Font = s_fonts[_cellFontIndex];
75
dataGridView1
.Rows[0].Cells[1].Value = s_fonts[_cellFontIndex];
77
dataGridView1
.ColumnHeadersDefaultCellStyle.Font = s_fonts[_columnHeaderFontIndex];
78
dataGridView1
.Rows[1].Cells[1].Value = s_fonts[_columnHeaderFontIndex];
80
dataGridView1
.RowHeadersDefaultCellStyle.Font = s_fonts[_rowHeaderFontIndex];
81
dataGridView1
.Rows[2].Cells[1].Value = s_fonts[_rowHeaderFontIndex];
86
dataGridView1
.DefaultCellStyle.Font = null;
87
dataGridView1
.ColumnHeadersDefaultCellStyle.Font = null;
88
dataGridView1
.RowHeadersDefaultCellStyle.Font = null;
DataGridViewTest.Designer.cs (12)
50
((System.ComponentModel.ISupportInitialize)(this.
dataGridView1
)).BeginInit();
63
this.
dataGridView1
.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
64
this.
dataGridView1
.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
65
this.
dataGridView1
.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
81
this.
dataGridView1
.DefaultCellStyle = dataGridViewCellStyle3;
82
this.
dataGridView1
.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
84
this.
dataGridView1
.Location = new System.Drawing.Point(0, 0);
85
this.
dataGridView1
.Name = "dataGridView1";
86
this.
dataGridView1
.Size = new System.Drawing.Size(750, 150);
87
this.
dataGridView1
.TabIndex = 0;
215
this.Controls.Add(this.
dataGridView1
);
219
((System.ComponentModel.ISupportInitialize)(this.
dataGridView1
)).EndInit();