Example #1
0
 public void GetNewGameWindow()
 {
     NewGameWindow             = new NewGameWindow();
     this.NewGameOptions       = new NewGameOptions();
     VM_NewGame                = new VM_NewGame(NewGameOptions, this);
     NewGameWindow.DataContext = VM_NewGame;
     NewGameWindow.Show();
 }
Example #2
0
        private void NewGameButton_Click(object sender, EventArgs e)
        {
            //TODO: perhaps some singleton solution should be here present
            //we don't want to open more than one of this
            NewGameWindow window = new NewGameWindow();

            window.Show();
        }