/// <summary> /// Begin Game button pressed /// </summary> /// <param name="sender">No implementation</param> /// <param name="e">No implementation</param> private void BeginButtonClick(object sender, RoutedEventArgs e) { this.Hide(); InstructionsWindow instructionsWindow = new InstructionsWindow(mediaPlayerMain); instructionsWindow.ShowDialog(); this.Close(); }
/// <summary> /// Launches the "Instructions" window /// </summary> /// <param name="sender">No implementation</param> /// <param name="e">No implementation</param> private void instructionsClicked(object sender, RoutedEventArgs e) { this.Hide(); InstructionsWindow instructionsWindow = new InstructionsWindow(); instructionsWindow.ShowDialog(); this.Show(); }