Пример #1
0
        private static void MazeUpdated(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MazeDisplay me = (MazeDisplay)d;

            me.MazeLoaded(me, new RoutedEventArgs());
        }
Пример #2
0
        private static void StartPosUpdate(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MazeDisplay me = (MazeDisplay)d;

            me.DrawStartEnd(e.Property);
        }
Пример #3
0
        private static void OnPositionChange(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MazeDisplay me = (MazeDisplay)d;

            me.DrawPlayerIcon();
        }