public void tomembersdetailsform(Form thisform, int id) { MembersDetailsForm mdf = new MembersDetailsForm(id); mdf.MdiParent = thisform; mdf.Show(); }
private void Details_Click(object sender, EventArgs e) { memberid = hc.FindMemberId(firstname, surname); MembersDetailsForm df = new MembersDetailsForm(memberid); this.Hide(); df.Show(); }