コード例 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            ViewPatientEMR view = new ViewPatientEMR();

            view.MdiParent        = this.MdiParent;
            view.viewEMRPatientId = _mySearchId;
            view.Show();
        }
コード例 #2
0
        private void btnViewEMR_Click(object sender, EventArgs e)
        {
            ViewPatientEMR view = new ViewPatientEMR();

            view.viewEMRPatientId = this.patientId.ToString();
            view.MdiParent        = this.MdiParent;
            view.Show();
        }
コード例 #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            _mySearchId = patientSearch.Text;
            dictionary = createCheckPatientExistsDictionary(_mySearchId);

            dc = new DatabaseConnector();
            dtPatient = checkPatientExists(dictionary);


            if (int.Parse(dtPatient.Rows[0][0].ToString()) > 0)
            {
                
                ViewPatientEMR view = new ViewPatientEMR();
                view.viewEMRPatientId = patientSearch.Text.ToString();
                view.MdiParent = this.MdiParent;
                view.Show();
            }
            else
            {
                MessageBox.Show("Patient does not exist.");
            }
       
        }
コード例 #4
0
        private void btnViewEMR_Click(object sender, EventArgs e)
        {

            ViewPatientEMR view = new ViewPatientEMR();
            view.viewEMRPatientId = this.patientId.ToString();
            view.MdiParent = this.MdiParent;
            view.Show();

        }