void ActiveView_MouseMove(object sender, MouseEventArgs e) { ActiveGridControl.Cursor = InTrySearchingAgainBounds() ? Cursors.Hand : Cursors.Default; ActiveGridControl.Invalidate(TrySearchingAgainBounds(GetForegroundBounds())); }
bool InTrySearchingAgainBounds() { Point p = ActiveGridControl.PointToClient(Control.MousePosition); return(TrySearchingAgainBounds(GetForegroundBounds()).Contains(p)); }