public void AddMember(Account acc) { GroupMember mb = new GroupMember(acc); MemberList.Add(mb); this.pnlMember.flowLayoutPanel.Controls.Add(mb); mb.BtnRemoveClick(new SelectMemberHandler(this, acc).HandleRemove); this.pnlMember.UpdateUi(); if (MemberList.Count >= 2) { this.btnCreateGroup.Enabled = true; } }