Exemple #1
0
        public MainWindow()
        {
            InitializeComponent();

            game = new LightsOutGame();
            CreateGrid();
            DrawGrid();
        }
Exemple #2
0
        public MainWindow()
        {
            InitializeComponent();

            gameLogic           = new LightsOutGame();
            SizeThree.IsChecked = true;
            CreateGrid();
            DrawGrid();
        }
 public MainWindow()
 {
     game = new LightsOutGame();
     InitializeComponent();
     CreateGrid();
     DrawGrid();
     exitButton.IsEnabled = false;
     exitButton.Opacity   = .5;
 }