Beispiel #1
0
 private void worker_DoWork(object sender, DoWorkEventArgs e)
 {
     checkLogin = currentSite.Login(username, password, twofactor);
     if (checkLogin.status)
     {
         checkBalance = currentSite.Balance();
     }
 }
 private void BalanceWorkerOnDoWork(object sender, DoWorkEventArgs doWorkEventArgs)
 {
     _getBalance = _CurrentSite.Balance();
 }
 private void btnRefreshBalance_Click(object sender, RoutedEventArgs e)
 {
     _getBalance = null;
     btnRefreshBalance.IsEnabled = false;
     prgProgreso.IsIndeterminate = true;
     _balanceWorker.RunWorkerAsync();
 }
 private void tipWorker_DoWork(object sender, DoWorkEventArgs e)
 {
     _tip = null;
     _tip = _CurrentSite.Tip(_payee, _tipAmount);
     if (_tip.status)
     {
         _balance = _tip.balance;
     }
 }
Beispiel #5
0
 private void balanceWorker_DoWork(object sender, DoWorkEventArgs e)
 {
     _balanceAux = _currentSite.Balance();
 }
Beispiel #6
0
 private void tipWorker_DoWork(object sender, DoWorkEventArgs e)
 {
     _tipData = null;
     _tipData = _currentSite.Tip(_Payee, _AmountTip);
     if (_tipData.status)
     {
         _balance = _tipData.balance;
     }
 }