예제 #1
0
 public void addUcf(Friend f)
 {
     UCFriend ucf = new UCFriend();
     ucf.Frm = this;
     ucf.CurFriend = f;
     ucf.Top = this.pnFriendsList.Controls.Count * ucf.Height;
     ucf.Width = ucf.Width - 30;
     ucf.myDBClick += ucf_myDBClick;
     this.pnFriendsList.Controls.Add(ucf);
 }
예제 #2
0
 public void RemoveUcf(UCFriend ucf)
 {
     this.pnFriendsList.Controls.Remove(ucf);
 }