public void Load(ITouchCapture touchCapture) { // Shortcut method to control singleton instantiation // Wireup event to Touch capture class to catch points captured if (touchCapture != null) { touchCapture.BeforePointsCaptured += new PointsCapturedEventHandler(TouchCapture_BeforePointsCaptured); } }
public void Load(ITouchCapture touchCapture) { // Shortcut method to control singleton instantiation // Consume Touch Capture events if (touchCapture != null) { touchCapture.CaptureStarted += new PointsCapturedEventHandler(TouchCapture_CaptureStarted); touchCapture.BeforePointsCaptured += new PointsCapturedEventHandler(TouchCapture_BeforePointsCaptured); } }
public void Load(ITouchCapture touchCapture) { // Shortcut method to control singleton instantiation // Wireup event to Touch capture class to catch points captured if (touchCapture != null) { touchCapture.BeforePointsCaptured += new PointsCapturedEventHandler(TouchCapture_BeforePointsCaptured); } }