private void m_fpPrefForm_CredentialsRemoved(object sender, string sScreenName) { AccountList alAccounts = TwitterController.GetController().Accounts; for (int i = 0; i < alAccounts.Count; i++) { if (alAccounts[i].Credentials.ClientUsername == sScreenName) { alAccounts.RemoveAt(i); alAccounts.Save(); } } }
private TwitterController() { m_aclAccounts = new AccountList(); }