コード例 #1
0
        private void addAppointmentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RiskAppUtils.frmAddEditAppointment addAppt = new RiskAppUtils.frmAddEditAppointment(RiskAppUtils.frmAddEditAppointment.ADD);
            addAppt.ShowDialog();
            SessionManager.Instance.ClearActivePatient();

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

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


            if (bid != null)
            {
                bid.RefreshPatientList();
            }
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: mahitosh/HRA4
        private void addAppointmentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddEditCopyApptController controller = new AddEditCopyApptController(this);

            controller.AddAppt(-1);

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

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


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