private void inpatientPersonalInfoButton_Click(object sender, EventArgs e) { inpatientPersonalInfoUI inpatientPersonalInfoUIObject = new inpatientPersonalInfoUI(); inpatientPersonalInfoUIObject.MdiParent = this.MdiParent; this.Close(); inpatientPersonalInfoUIObject.Show(); }
private void inpatientLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { inpatientPersonalInfoUI inpatientPersonalInfoObject = new inpatientPersonalInfoUI(); inpatientPersonalInfoObject.MdiParent = this; inpatientPersonalInfoObject.Show(); }