private void PromoteToTouchUp() { if (promotionTouchDevice == null) { PromoteToTouchDown(); } promotionTouchDevice.TouchUp(lastHandPointEventArgs); promotionTouchDevice = null; }
private void PromoteToTouchDown() { if (promotionTouchDevice == null) { promotionTouchDevice = new MotionTrackingTouchDevice(lastHandPointEventArgs, rootWindow, screen); } promotionTouchDevice.TouchDown(lastHandPointEventArgs); }