Ejemplo n.º 1
0
        private void OpenWindow(object sender, RoutedEventArgs e)
        {
            HangmanWindow objSecondWindow = new HangmanWindow();

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

            objSecondWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            Close();
            objSecondWindow.Show();
        }
Ejemplo n.º 3
0
        private void NewWindow()
        {
            HangmanWindow objSecondWindow = new HangmanWindow();

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