/// <summary>
 /// Change the cursor
 /// </summary>
 /// <param name="cursorType"></param>
 /// <returns></returns>
 /// <exception cref="NotImplementedException"></exception>
 public static void Cursor(Cursor cursorType)
 {
     if (_frm3DprinterTool.InvokeRequired)
     {
         CursorCallback d = Cursor;
         try{ _frm3DprinterTool.Invoke(d, cursorType); } catch (Exception) {}
     }
     else
     {
         try{ _frm3DprinterTool.Cursor = cursorType; } catch (Exception) { }
     }
 }
예제 #2
0
 internal static extern void SetCursorCallback(CursorCallback callback);