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

            return(TrySearchingAgainBounds(GetForegroundBounds()).Contains(p));
        }