Esempio n. 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();
        }
Esempio n. 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();
        }