1 write to dataGridView1
WinFormsControlsTest (1)
DataGridViewInVirtualModeTest.Designer.cs (1)
34this.dataGridView1 = new System.Windows.Forms.DataGridView();
27 references to dataGridView1
WinFormsControlsTest (27)
DataGridViewInVirtualModeTest.cs (16)
37dataGridView1.CellValueNeeded += dataGridView1_CellValueNeeded; 38dataGridView1.CellValuePushed += dataGridView1_CellValuePushed; 39dataGridView1.NewRowNeeded += dataGridView1_NewRowNeeded; 40dataGridView1.RowValidated += dataGridView1_RowValidated; 41dataGridView1.RowDirtyStateNeeded += dataGridView1_RowDirtyStateNeeded; 42dataGridView1.CancelRowEdit += dataGridView1_CancelRowEdit; 43dataGridView1.UserDeletingRow += dataGridView1_UserDeletingRow; 51dataGridView1.RowCount = _customers.Count + 1; // Add 1 as a new edit row 57if (e.RowIndex == dataGridView1.RowCount - 1) 66switch (dataGridView1.Columns[e.ColumnIndex].Name) 97switch (dataGridView1.Columns[e.ColumnIndex].Name) 123_rowInEdit = dataGridView1.Rows.Count - 1; 130if (e.RowIndex >= _customers.Count && e.RowIndex != dataGridView1.Rows.Count - 1) 144else if (dataGridView1.ContainsFocus) 157e.Response = dataGridView1.IsCurrentCellDirty; 163if (_rowInEdit == dataGridView1.Rows.Count - 2 && _rowInEdit == _customers.Count)
DataGridViewInVirtualModeTest.Designer.cs (11)
39((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); 44this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 47this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; 48this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { 53this.dataGridView1.Location = new System.Drawing.Point(0, 15); 54this.dataGridView1.Name = "dataGridView1"; 55this.dataGridView1.Size = new System.Drawing.Size(492, 150); 56this.dataGridView1.TabIndex = 5; 57this.dataGridView1.VirtualMode = true; 86this.Controls.Add(this.dataGridView1); 90((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();