Esempio n. 1
0
 private void AddAndRefreshRememberedUsersListBox(AccountsStorage.UserConfiguration i_UserConfiguration)
 {
     listBoxRememberedUsers.Items.Add(i_UserConfiguration);
     if (AccountsStorage.Instance.StorageList.Count == 1)
     {
         buttonRememberedUsers.Enabled = true;
     }
 }
Esempio n. 2
0
 public void RemoveFromStorage(AccountsStorage.UserConfiguration i_UserConfigToRemove)
 {
     StorageList.Remove(i_UserConfigToRemove);
     UserConfigurationsRemovedFromStorage(i_UserConfigToRemove);
 }
Esempio n. 3
0
        private void RemoveAndRefreshRememberedUsersListBox(AccountsStorage.UserConfiguration i_UserConfiguration)
        {
            listBoxRememberedUsers.Items.Remove(i_UserConfiguration);
            if (AccountsStorage.Instance.isStorageEmpty)
            {

            }
        }