public List <TestPatientAppointment> InitiateTestPatients() { RA.TestAppointmentList testapptlist = new RA.TestAppointmentList(); testapptlist.BackgroundListLoad(); List <TestPatientAppointment> Testpatients = new List <TestPatientAppointment>(); foreach (TestAppointment app in testapptlist) { TestPatientAppointment item = AppointmentMapper.FromRATestAppointment(app); Testpatients.Add(item); } return(Testpatients); }
public List<TestPatientAppointment> InitiateTestPatients() { RA.TestAppointmentList testapptlist = new RA.TestAppointmentList(); testapptlist.BackgroundListLoad(); List<TestPatientAppointment> Testpatients = new List<TestPatientAppointment>(); foreach (TestAppointment app in testapptlist) { TestPatientAppointment item = AppointmentMapper.FromRATestAppointment(app); Testpatients.Add(item); } return Testpatients; }
public DeleteTestAppointmentsPopup() { appts = new TestAppointmentList(); InitializeComponent(); progressLabel.Text = "Fetching Test Appointments..."; progressLabel.Visible = true; progressBar1.Enabled = true; objectListView1.Enabled = false; deleteButton.Enabled = false; refreshButton.Enabled = false; objectListView1.ShowGroups = false; fetchBackgroundWorker.RunWorkerAsync(); }