Exemplo n.º 1
0
        public MazeWindow(int maze_width, int maze_height)
        {
            _instance = this;

            InitializeComponent();

            _maze = new Maze(maze_width, maze_height);

            this.myCanvas.Children.Add(_maze);
        }
Exemplo n.º 2
0
 private void btnEnterMaze_Click(object sender, RoutedEventArgs e)
 {
     _mazeWindow = new MazeWindow((int)this.sldWidth.Value, (int)this.sldHeight.Value);
     _mazeWindow.Show();
 }