コード例 #1
0
ファイル: TestPatientManager.cs プロジェクト: mahitosh/HRA4
        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
ファイル: TestPatientManager.cs プロジェクト: mahitosh/HRA4
        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();
        }