private void button2_Click(object sender, EventArgs e) { EmrReport repo = new EmrReport(); repo.MdiParent = this.MdiParent; repo.patientId = int.Parse(_mySearchId); repo.Show(); }
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."); } }
private void button11_Click(object sender, EventArgs e) { EmrReport er = new EmrReport(); er.patientId = patId; er.Show(); }