Example #1
0
        private void Window_Closed(object sender, EventArgs e)
        {
            loginWindow login = new loginWindow();

            login.Owner = Owner;
            login.Show();
        }
Example #2
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            loginWindow login = new loginWindow();

            login.Owner = this;
            login.Show();
            Hide();
        }