private void DisableCursorIndicator() { if (myCursor == null) { return; } myCursor.Close(); myCursor = null; DisableMouseHookIfNotNeeded(); Log.e("CI", "DisableCursorIndicator"); }
private void EnableCursorIndicator() { if (myCursor != null) { return; } Log.e("CI", "EnableCursorIndicator"); EnableMouseHook(); myCursor = new CursorIndicator(myMouseHook, mySettings); myCursor.FormClosed += myCursor_FormClosed; myCursor.Show(); }