예제 #1
0
        private void createTestPatientsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //Cursor = Cursors.WaitCursor;
            //RiskAppCore.ApptUtils.createTestPatients();
            //if (rcd != null)
            //    rcd.RefreshMyPatients();

            //if (mpv != null)
            //    mpv.RefreshPatientList();

            //if (bid != null)
            //    bid.RefreshPatientList();

            //Cursor = Cursors.Default;

            RiskApps3.View.Admin.CreateTestPatientsForm createTPForm = new RiskApps3.View.Admin.CreateTestPatientsForm();

            createTPForm.ShowDialog();

            if (rcd != null)
            {
                rcd.RefreshMyPatients();
            }

            if (mpv != null)
            {
                mpv.RefreshPatientList();
            }


            if (bid != null)
            {
                bid.RefreshPatientList();
            }
        }
예제 #2
0
파일: MainForm.cs 프로젝트: mahitosh/HRA4
        private void createTestPatientsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //Cursor = Cursors.WaitCursor;
            //RiskAppCore.ApptUtils.createTestPatients();
            //if (rcd != null)
            //    rcd.RefreshMyPatients();

            //if (mpv != null)
            //    mpv.RefreshPatientList();

            //if (bid != null)
            //    bid.RefreshPatientList();

            //Cursor = Cursors.Default;

            RiskApps3.View.Admin.CreateTestPatientsForm createTPForm = new RiskApps3.View.Admin.CreateTestPatientsForm();

            createTPForm.ShowDialog();

            if (rcd != null)
                rcd.RefreshMyPatients();

            if (mpv != null)
                mpv.RefreshPatientList();

            if (bid != null)
                bid.RefreshPatientList();
        }