Пример #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);
        }
Пример #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;
        }
Пример #3
0
        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();
        }