if (myDataGridView2.RectangleToScreen(myDataGridView2.ClientRectangle).Contains(Cursor.Position)) { label1.Text = "YES"; }