예제 #1
0
        public void _AddUcUser(User user)
        {
            ucContact__User newContacUser = new ucContact__User(user, this);

            listContact__User.Add(newContacUser);
            this.pnList.Controls.Add(newContacUser);
        }
예제 #2
0
 public void _LoadContact()
 {
     foreach (var item in contactBook.listMember)
     {
         ucContact__User newContact__User = new ucContact__User(item, this);
         listContact__User.Add(newContact__User);
         this.pnList.Controls.Add(newContact__User);
     }
 }
예제 #3
0
 public void _RemoveContact__User(ucContact__User ucContact__User)
 {
     this.contactBook._RemoveMember(ucContact__User.user);
     this.pnList.Controls.Remove(ucContact__User);
     this.listContact__User.Remove(ucContact__User);
 }