Example #1
0
        /// <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();
        }
Example #2
0
        /// <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();
        }