Example #1
0
        public void WithReleasedCursor(Action procedure)
        {
            CursorState cursorState = ReleaseCursor();

            try
            {
                procedure();
            }
            finally
            {
                RestoreCursor(cursorState);
            }
        }
Example #2
0
 public void RestoreCursor(CursorState cursorState)
 {
     // do nothing;
 }
 public virtual void RestoreCursor(CursorState cursorState)
 {
     Target.RestoreCursor(cursorState);
 }
Example #4
0
 public static void RestoreCursor(CursorState cursorState)
 {
     Implementation.RestoreCursor(cursorState);
 }