private void outpatientPersonalInfoButton_Click(object sender, EventArgs e) { outpatientPersonalInfo outpatientPersonalInfoObject = new outpatientPersonalInfo(); outpatientPersonalInfoObject.MdiParent = this.MdiParent; this.Close(); outpatientPersonalInfoObject.Show(); }
private void outpatientLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { outpatientPersonalInfo outpatientPersonalInfoObject = new outpatientPersonalInfo(); outpatientPersonalInfoObject.MdiParent = this; outpatientPersonalInfoObject.Show(); }