示例#1
0
 private void worker_DoWork(object sender, DoWorkEventArgs e)
 {
     checkLogin = currentSite.Login(username, password, twofactor);
     if (checkLogin.status)
     {
         checkBalance = currentSite.Balance();
     }
 }
示例#2
0
 private void BalanceWorkerOnDoWork(object sender, DoWorkEventArgs doWorkEventArgs)
 {
     _getBalance = _CurrentSite.Balance();
 }