private void btnAddMhs_Click(object sender, EventArgs e) { // need to pass student's data as parameter to addMhsForm // so that we don't need to retrieve data from database addMhsForm = new AddMhsForm(); addMhsForm.MdiParent = ParentForm; addMhsForm.Show(); }
private void btnAddMhs_Click(object sender, EventArgs e) { addMhsForm = new AddMhsForm(this); addMhsForm.MdiParent = ParentForm; addMhsForm.Show(); //admMhs = new UpdateMhsForm(); //admMhs.MdiParent = this.MdiParent; //admMhs.Show(); }