Exemple #1
0
 private void LoginDone(ResponseLoginClass AObject)
 {
     ClearMessage();
     if (AObject.Active == ServerLib.JTypes.Enums.UserActive.blocked)
     {
         BlockMessage("Пользователь заблокирован");
     }
     else
     {
         OnSubscribed();
         NavigationService.Instance.Navigate(new AplicationViewModel());
     }
 }
Exemple #2
0
 private void OnLoginDone(object sender, ResponseLoginClass e)
 {
     Application.Current.Dispatcher.Invoke(() => LoginDone(e));
 }