private void ButtonLogout_Click(object sender, RoutedEventArgs e) { bank.Bye(token); ClearAll(); gridLogin.Visibility = Visibility.Visible; gridClientPanel.Visibility = Visibility.Hidden; }