public void AddFriend(friend frd) { UCFrdList ucf = new UCFrdList(); ucf.Frm = _frm; ucf.CurFriend = frd; ucf.Top=_frm.pnFrdList.Controls.Count * ucf.Height; ucf.myDBClick += new EventHandler(ucf_myDBClick); _frm.pnFrdList.Controls.Add(ucf); _frm.friendList.Add(ucf.CurFriend); }
public void Start(UCFrdList ucf) { ucf.StartFlash(); }