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."); } }
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!"); } }