private void exitButton_Click(object sender, RoutedEventArgs e) { UserWindow userWindow = new UserWindow(); userWindow.Show(); Close(); }
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { UserWindow userWindow = new UserWindow(); userWindow.Show(); }