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(); } } }
public void Save() { //save accounts m_aclAccounts.Save(); //save anything else... }