public App() : base() { mainWindow = new MainWindow(); mainWindow.Show(); //wire the handlers wireHandlers(mainWindow); }
public App() : base() { state = State.WAIT_VALID_IP; //TODO incorperate this with the view so when I click on a space it highlights red player1Window = new MainWindow(); player2Window = new MainWindow(); player2Window.IPAddressMenuItem.IsEnabled = false; player1Window.Show(); player2Window.Show(); //wire the handlers wireHandlers(player1Window); wireHandlers(player2Window); updateGameState(); }