private void _enableMouse() { if (mouseDisabler != null) { mouseDisabler.Dispose(); mouseDisabler = null; } }
public void DisableMouse() { CursorPosition.MoveCursorToLastGood(); if (delayTimer.IsEnabled) { delayTimer.Stop(); } if (mouseDisabler == null) { mouseDisabler = new DisableTouchConversionToMouse(); } }