예제 #1
0
 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);
 }