public PresenceInformer(Auth auth) { m_auth = auth; m_account = auth.Account; m_account.Id = auth.Account.Id.ToString(); m_informerThread = new Thread(Ping); m_shouldStop = true; m_shouldVanish = false; m_informerThread.Start(); }
public SyncHandler(Auth auth) { stopwatch = new Stopwatch(); m_auth = auth; m_account = auth.Account; m_account.Id = auth.Account.Id.ToString(); m_timerThread = new Thread(SendSyncRequestCycler); m_shouldStop = true; m_timerThread.Start(); m_shouldVanish = false; }
void Logout() { if (m_auth != null) { m_auth.Logout(); m_auth = null; } else { MessageBox.Show("Already offline!"); LogHelper.Debug("Log out failure: Already offline"); } }
public AgreeToFullSyncDialog(Auth auth) { InitializeComponent(); m_auth = auth; m_auth.AgreedToFullSync = (int)FullSyncConfirmed.No; }
void Login() { if (m_auth == null || m_auth != null && m_auth.IsAuthorized == false) { //m_xmppCH = new XMPPCommandsHandler(this, this.labelSatusSign, this.listBoxEvent); m_auth = new Auth(this, this.labelSatusSign, this.listBoxEvent); m_auth.LoginAndValidate(); } else { LogHelper.Debug("Already online!"); MessageBox.Show("Already online"); } }
public NotPassCompanyFileValidationDialog(Auth auth) { InitializeComponent(); m_auth = auth; m_auth.CompanyFileValidated = false; }
public CompanyFileValidator(Auth auth) { m_isValidated = false; m_auth = auth; m_account = auth.Account; }
public NoHttpResponseDialog(Auth auth) { InitializeComponent(); m_auth = auth; m_agreedToRetry = false; }