예제 #1
0
        public void MouseDown(MouseButtonEventArgs e, System.Windows.Controls.Grid mediaContainer)
        {
            if (calibration.isCalibrating)
            {
                System.Windows.Point p = e.GetPosition(mediaContainer);

                calibration.AddPoint(p);
            }
            else if (calibration.isCalibrated)
            {
                System.Windows.Point p = e.GetPosition(mediaContainer);

                calibration.calcPointPositionOnTable(p);
            }
        }