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