Beispiel #1
0
        public WebAppointments()
        {
            appts = new AppointmentList();

            string url = Configurator.getCloudWebURL();

            cloud = new RiskApps3.HraCloudServices.RiskAppsCloudServices(url);

            InitializeComponent();

            label14.Visible           = true;
            progressBar1.Visible      = true;
            progressBar1.Enabled      = true;
            label14.Text              = "Fetching Available Web Surveys...";
            button1.Enabled           = false;
            fastDataListView1.Enabled = false;
            backgroundWorker1.RunWorkerAsync();

            foreach (Clinic c in SessionManager.Instance.ActiveUser.UserClinicList)
            {
                comboBox1.Items.Add(c);
            }
            if (comboBox1.Items.Count > 0)
            {
                comboBox1.SelectedIndex = 0;
            }
            webBrowser1.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(DocLoadComplete);
        }
Beispiel #2
0
        public WebAppointments()
        {
            appts = new AppointmentList();

            string url = Configurator.getCloudWebURL();
            cloud = new RiskApps3.HraCloudServices.RiskAppsCloudServices(url);

            InitializeComponent();

            label14.Visible = true;
            progressBar1.Visible = true;
            progressBar1.Enabled = true;
            label14.Text = "Fetching Available Web Surveys...";
            button1.Enabled = false;
            fastDataListView1.Enabled = false;
            backgroundWorker1.RunWorkerAsync();

            foreach (Clinic c in SessionManager.Instance.ActiveUser.userClinicList)
            {
                comboBox1.Items.Add(c);
            }
            if (comboBox1.Items.Count > 0)
            {
                comboBox1.SelectedIndex = 0;
            }
            webBrowser1.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(DocLoadComplete);
        }