private void prescriptionToolStripMenuItem_Click(object sender, EventArgs e) { this.IsMdiContainer = true; ShowPrescription _SP = new ShowPrescription(NewPrescription.prescriptionID); _SP.MdiParent = this; _SP.Show(); }
private void removeTestsToolStripMenuItem_Click(object sender, EventArgs e) { this.IsMdiContainer = true; ShowPrescription SPtoRemoveTest = new ShowPrescription(_pe.prescriptionID); SPtoRemoveTest.MdiParent = this; SPtoRemoveTest.Show(); }