private void btnMember_Click(object sender, EventArgs e) { FrmMember frm = new FrmMember(); frm.TopLevel = false; frm.AutoScroll = true; this.splitContainer1.Panel2.Controls.Add(frm); frm.FormBorderStyle = FormBorderStyle.None; frm.Show(); }
public FrmAddMember(FrmMember _memberForm) { memberForm = _memberForm; InitializeComponent(); }