Example #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            EmrReport repo = new EmrReport();

            repo.MdiParent = this.MdiParent;
            repo.patientId = int.Parse(_mySearchId);
            repo.Show();
        }
Example #2
0
        private void button11_Click(object sender, EventArgs e)
        {
            EmrReport er = new EmrReport();

            er.MdiParent = this.MdiParent;
            er.patientId = patId;
            er.Show();
        }
        private void button2_Click(object sender, EventArgs e)
        {
            dictionary = createCheckPatientExistsDictionary(_mySearchId);

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

            if (int.Parse(dtPatient.Rows[0][0].ToString()) > 0)
            {
                int checkPat = int.Parse(patientSearch.Text);
                EmrReport repo = new EmrReport();
                repo.MdiParent = this.MdiParent;
                repo.patientId = checkPat;
                repo.Show();
            }
            else
            {
                MessageBox.Show("Patient does not exist.");
            }
        }
Example #4
0
 private void button11_Click(object sender, EventArgs e)
 {
     EmrReport er = new EmrReport();
     er.patientId = patId;
     er.Show();
 }