private void SharedFolderAddItem(LocalhostAccount account)
 {
     Config.LocalhostAccountList.Add(account);
     lbSharedFolderAccounts.Items.Add(account);
     lbSharedFolderAccounts.SelectedIndex = lbSharedFolderAccounts.Items.Count - 1;
     SharedFolderUpdateControls();
 }
示例#2
0
 private void LocalhostAccountAddButton_Click(object sender, EventArgs e)
 {
     LocalhostAccount acc = new LocalhostAccount();
     Config.LocalhostAccountList.Add(acc);
     ucLocalhostAccounts.AddItem(acc);
 }