Example #1
0
        private void GetPatient(object sender, EventArgs e)
        {
            var btn = sender as Button;
            int id  = Convert.ToInt32(btn.Tag);

            SessionTimeId            = id;
            patient                  = examinationController.GetPatient(SessionTimeId, doctor.DoctorId, DateTime.Today);
            lblPatientName.Text      = string.Format("{0} {1}", patient.PatientFirstName, patient.PatientLastName);
            pnlPatientStatus.Visible = true;
            //MessageBox.Show(id.ToString());
        }