/// <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(null, false); instructionsWindow.ShowDialog(); this.Show(); }
/// <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, true); instructionsWindow.ShowDialog(); this.Close(); }