Exemplo n.º 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();
                }
            }
        }
Exemplo n.º 2
0
 private TwitterController()
 {
     m_aclAccounts = new AccountList();
 }