private void InitCustomCursor()
 {
     try
     {
         myCursorDrag   = LoadCursor.CreateCurFromEmbRc(Resources.cur_form_drag);
         myCursorNormal = LoadCursor.CreateCurFromEmbRc(Resources.cur_form_normal);
     }
     catch
     {
         throw new ApplicationException("Failed to retrieve custom cursor from embedded resource.");
     }
 }
Ejemplo n.º 2
0
 private void InitCustomCursor()
 {
     try
     {
         myCursorDrag   = LoadCursor.CreateCurFromEmbRc(Resources.cur_form_drag);
         myCursorNormal = LoadCursor.CreateCurFromEmbRc(Resources.cur_form_normal);
     }
     catch
     {
         MessageBox.Show("Failed to retrieve custom cursor from embedded resource!");
     }
 }