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(); }