예제 #1
0
        /// <summary>
        /// Method for the Start Button
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void StartGameButton(object sender, RoutedEventArgs e)
        {
            DifficultyWindow dw = new DifficultyWindow();

            dw.Show();
            this.Close();
        }
예제 #2
0
        /// <summary>
        /// Goes back to previous window
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void BackToDifficulty(object sender, RoutedEventArgs e)
        {
            DifficultyWindow dw = new DifficultyWindow();

            dw.Show();
            this.Close();
        }