1 write to _sampleDataGridView
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (1)
120
_sampleDataGridView
= new DataGridView();
26 references to _sampleDataGridView
System.Windows.Forms.Design (26)
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (26)
48
_sampleDataGridView
.Size = new Drawing.Size(100, Font.Height + 9);
49
_sampleDataGridView
.AccessibilityObject.Name = SR.CellStyleBuilderNormalPreviewAccName;
66
_sampleDataGridView
.Columns.Add(new DataGridViewTextBoxColumn());
67
_sampleDataGridView
.Rows.Add(row);
92
_sampleDataGridView
.DefaultCellStyle = cellStyleTmp;
104
[MemberNotNull(nameof(
_sampleDataGridView
))]
131
((ISupportInitialize)(
_sampleDataGridView
)).BeginInit();
165
_sampleViewGridsTableLayoutPanel.Controls.Add(
_sampleDataGridView
, 1, 1);
177
_sampleDataGridView
.AllowUserToAddRows = false;
178
resources.ApplyResources(
_sampleDataGridView
, "sampleDataGridView");
179
_sampleDataGridView
.ColumnHeadersVisible = false;
180
_sampleDataGridView
.Margin = new Padding(0);
181
_sampleDataGridView
.Name = "sampleDataGridView";
182
_sampleDataGridView
.ReadOnly = true;
183
_sampleDataGridView
.RowHeadersVisible = false;
184
_sampleDataGridView
.CellStateChanged += sampleDataGridView_CellStateChanged;
255
((ISupportInitialize)(
_sampleDataGridView
)).EndInit();
303
_sampleDataGridView
.ClearSelection();
306
_sampleDataGridView
.Rows[0].Height =
_sampleDataGridView
.Height;
307
_sampleDataGridView
.Columns[0].Width =
_sampleDataGridView
.Width;
314
_sampleDataGridView
.Layout += sampleDataGridView_Layout;
320
Debug.Assert(e.Cell ==
_sampleDataGridView
.Rows[0].Cells[0], "the sample data grid view has only one cell");
321
Debug.Assert(sender ==
_sampleDataGridView
, "did we forget to unhook notification");
325
_sampleDataGridView
.ClearSelection();