示例#1
0
        private void patientToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmAddPatient bForm = new frmAddPatient();

            bForm.MdiParent     = this;
            bForm.StartPosition = FormStartPosition.CenterScreen;
            bForm.Show();
            bForm.Focus();
        }
示例#2
0
        private void btnAddPatient_Click(object sender, EventArgs e)
        {
            frmAddPatient bForm = new frmAddPatient();

            bForm.MdiParent     = this.MdiParent;
            bForm.StartPosition = FormStartPosition.CenterScreen;
            bForm.Show();
            bForm.Focus();
        }