예제 #1
0
        private void OpenWindow(object sender, RoutedEventArgs e)
        {
            HangmanWindow objSecondWindow = new HangmanWindow();

            this.Visibility = Visibility.Hidden;
            objSecondWindow.Show();
        }
예제 #2
0
        private void OpenWindow(object sender, RoutedEventArgs e)
        {
            HangmanWindow objSecondWindow = new HangmanWindow();

            objSecondWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            Close();
            objSecondWindow.Show();
        }
예제 #3
0
        private void NewWindow()
        {
            HangmanWindow objSecondWindow = new HangmanWindow();

            objSecondWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            Close();
            objSecondWindow.Show();
        }