private void ShowAccountExpireDialog() { if (ViewModel.AppState.SessionStatusInfo == null) { return; } SubscriptionExpireWindow.Show(ViewModel.AppState.SessionStatusInfo, ViewModel.AppState?.Settings?.Username); }
private void ShowAccountExpireDialog() { if (ViewModel.AppState.AccountStatus == null) { return; } SubscriptionExpireWindow.Show(ViewModel.AppState.AccountStatus, ViewModel.AppState?.Session?.AccountID); }
void __ViewModel_OnAccountSuspended(IVPN.Models.Session.SessionStatus session) { SubscriptionExpireWindow.Show(session, ViewModel.UserName); }