Beispiel #1
0
        private void ShowAccountExpireDialog()
        {
            if (ViewModel.AppState.SessionStatusInfo == null)
            {
                return;
            }

            SubscriptionExpireWindow.Show(ViewModel.AppState.SessionStatusInfo, ViewModel.AppState?.Settings?.Username);
        }
Beispiel #2
0
        private void ShowAccountExpireDialog()
        {
            if (ViewModel.AppState.AccountStatus == null)
            {
                return;
            }

            SubscriptionExpireWindow.Show(ViewModel.AppState.AccountStatus, ViewModel.AppState?.Session?.AccountID);
        }
Beispiel #3
0
 void __ViewModel_OnAccountSuspended(IVPN.Models.Session.SessionStatus session)
 {
     SubscriptionExpireWindow.Show(session, ViewModel.UserName);
 }