private void ButtonPopUpLogout_Click(object sender, RoutedEventArgs e) { this.Close(); var windowLogin = new Window_Login(); windowLogin.ShowDialog(); }
private void Button_PopUpLogout_Click(object sender, RoutedEventArgs e) { //this.Close(); //this.Visibility = Visibility.Hidden; this.Hide(); var window = new Window_Login(); window.ShowDialog(); }