private void buttonBack_Click(object sender, RoutedEventArgs e) { Seats_stadium window = new Seats_stadium(); window.Show(); this.Close(); }
private void buttonNext_Click(object sender, RoutedEventArgs e) { // Check user's choice Match match = dataGridMatch.SelectedItem as Match; if (match != null) { Global.index = match.No - 1; Seats_stadium window = new Seats_stadium(); window.Show(); this.Close(); } else { MessageBox.Show("Please select a match you would like to watch"); } }