示例#1
0
        private void physicianToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmAddPhysician aForm = new frmAddPhysician();

            aForm.MdiParent     = this;
            aForm.StartPosition = FormStartPosition.CenterScreen;
            aForm.Show();
            aForm.Focus();
        }
        private void btnAddPhysician_Click(object sender, EventArgs e)
        {
            frmAddPhysician aForm = new frmAddPhysician();

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