private void Window_Closed(object sender, EventArgs e) { loginWindow login = new loginWindow(); login.Owner = Owner; login.Show(); }
private void Window_Loaded(object sender, RoutedEventArgs e) { loginWindow login = new loginWindow(); login.Owner = this; login.Show(); Hide(); }