Exemple #1
0
        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);
        }
Exemple #2
0
        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();
        }