1 write to ptMouseDownCell
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataGridView.cs (1)
519this.ptMouseDownCell = new Point(-2, -2);
28 references to ptMouseDownCell
System.Windows.Forms (28)
winforms\Managed\System\WinForms\DataGridView.cs (1)
3773return this.ptMouseDownCell;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (27)
12285Debug.Assert(this.ptMouseDownCell.X == hti.col); 12286Debug.Assert(this.ptMouseDownCell.Y == hti.row); 13020this.ptMouseDownCell.Y == -1 && 13021this.ptMouseDownCell.X >= 0 && 13022this.ptMouseDownCell.X < this.Columns.Count) 13044BeginColumnRelocation(this.ptMouseDownGridCoord.X, this.ptMouseDownCell.X); 15006if (this.ptMouseDownCell.X == -2 || 15008this.ptMouseDownCell.X == columnIndex && this.ptMouseDownCell.Y == rowIndex && 15009(this.ptMouseDownCell.X == -1 || this.ptMouseDownCell.Y == -1 || 16326if (this.ptMouseDownCell.X == hti.col && 16327this.ptMouseDownCell.Y == hti.row && 16329this.ptMouseDownCell.X == -1 || 16330this.ptMouseDownCell.Y == -1 || 16331(this.ptMouseDownCell.X == this.ptCurrentCell.X && 16332this.ptMouseDownCell.Y == this.ptCurrentCell.Y))) 16412if (this.ptMouseDownCell.X == hti.col && this.ptMouseDownCell.Y == hti.row) 16527if (this.ptMouseDownCell.X != -2) 16530Debug.Assert(this.ptMouseDownCell.Y != -2); 16540this.ptMouseDownCell.X = hti.col; 16541this.ptMouseDownCell.Y = hti.row; 16814if (hti.col >= 0 && this.ptMouseDownCell.X == hti.col && 16815hti.row >= 0 && this.ptMouseDownCell.Y == hti.row && 25971this.ptMouseDownCell.X = -2; 25972this.ptMouseDownCell.Y = -2;