private void nextRoundButton_Click(object sender, RoutedEventArgs e) { Game1Form form = new Game1Form(); Game1Form win = (Game1Form)Window.GetWindow(this); win.Close(); form.Show(); }
private void pandemicButton_Click(object sender, RoutedEventArgs e) { if (Game1Form.minority == 2) { Game1Form win = (Game1Form)Window.GetWindow(this); Game1Form form = new Game1Form(); win.Close(); form.Show(); } else { PandemicGame page = new PandemicGame(); Game1Form win = (Game1Form)Window.GetWindow(this); win.Content = page; } }
private void game1_Click_1(object sender, RoutedEventArgs e) { Game1Form game1Form = new Game1Form(); game1Form.Show(); }