예제 #1
0
        public static void ExecutedEventHandler_RotateCounterclockwise(Object sender, ExecutedRoutedEventArgs e)
        {
            ZoomBoxPanel z     = sender as ZoomBoxPanel;
            double?      param = null;
            string       p     = e.Parameter as string;

            if ((p != null) && (p.Length > 0))
            {
                param = Double.Parse(p);
            }
            if (z != null)
            {
                z.process_RotateCommand(false, param);
            }
        }