예제 #1
0
        private void Exit(object sender, RoutedEventArgs e)
        {
            Manager.Email = "";
            FirstWindow window = new FirstWindow();

            window.Show();
            this.Close();
        }
예제 #2
0
        private void Exit(object sender, RoutedEventArgs e)
        {
            Manager.Email = "";
            FirstWindow window = new FirstWindow();

            window.Show();
            this.Close();
            foreach (Window window1 in Application.Current.Windows)
            {
                if (window1 is not FirstWindow)
                {
                    window1.Close();
                }
            }
        }