Ejemplo n.º 1
0
        private void fillMyPatientAnalysis(int _selectedPatient)
        {
            this.listBox12.Items.Clear();
            myPatientTicketList = new baza.Processing.LabTickets.PatientTicketList();
            myPatientTicketList.GetPatientTicketsFinished(_selectedPatient,DateTime.Now.AddDays(-14),DateTime.Now);

            foreach (Processing.LabTickets.PatientTicket i in myPatientTicketList)
            {

                this.listBox12.Items.Add(i.TicketDateOut.ToShortDateString() +" "+i.TicketName+" "+i.TicketDoctorFName);

            }
        }
Ejemplo n.º 2
0
 private void updatePatientTicketList(int _patId)
 {
     listBox20.Items.Clear();
        ptList = new baza.Processing.LabTickets.PatientTicketList();
        ptList.GetPatientTicketsFinished(_patId, dateTimePicker2.Value, dateTimePicker1.Value);
        listBox20.Items.Clear();
        foreach (Processing.LabTickets.PatientTicket i in ptList)
        {
        listBox20.Items.Add(i.TicketDateOut + " " + i.TicketDoctorFName + " " + i.TicketName);
        }
 }