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