コード例 #1
0
 private void _enableMouse()
 {
     if (mouseDisabler != null)
     {
         mouseDisabler.Dispose();
         mouseDisabler = null;
     }
 }
コード例 #2
0
 public void DisableMouse()
 {
     CursorPosition.MoveCursorToLastGood();
     if (delayTimer.IsEnabled)
     {
         delayTimer.Stop();
     }
     if (mouseDisabler == null)
     {
         mouseDisabler = new DisableTouchConversionToMouse();
     }
 }