Ejemplo n.º 1
0
        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;
            }
        }
Ejemplo n.º 2
0
 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);
     }
 }