Example #1
0
        /**************************************************************************************************/
        private void PatientListView_Load(object sender, EventArgs e)
        {
            if (!(SessionManager.Instance.ActiveUser.hraProviderID > 0))
            {
                MakeUserProviderForm mup = new MakeUserProviderForm();
                mup.ShowDialog();
            }

            if (SessionManager.Instance.ActiveUser.hraProviderID > 0)
            {
                m_MasterParagraphList.AddHandlersWithLoad(null, ListLoaded, null);
                m_DefaultParagraphList.AddHandlersWithLoad(null, ListLoaded, null);

                m_ProviderParagraphList.providerID = SessionManager.Instance.ActiveUser.hraProviderID;
                m_ProviderParagraphList.AddHandlersWithLoad(null, ListLoaded, null);

                loadingCircle1.Active = true;

                this.Text = "Paragraphs for " + SessionManager.Instance.ActiveUser.ToString();
            }
            else
            {
                tabControl1.Visible = false;
            }
        }
Example #2
0
        /**************************************************************************************************/
        private void PatientListView_Load(object sender, EventArgs e)
        {
            if (!(SessionManager.Instance.ActiveUser.hraProviderID > 0))
            {
                MakeUserProviderForm mup = new MakeUserProviderForm();
                mup.ShowDialog();
            }

            if (SessionManager.Instance.ActiveUser.hraProviderID > 0)
            {
                m_MasterParagraphList.AddHandlersWithLoad(null, ListLoaded, null);
                m_DefaultParagraphList.AddHandlersWithLoad(null, ListLoaded, null);

                m_ProviderParagraphList.providerID = SessionManager.Instance.ActiveUser.hraProviderID;
                m_ProviderParagraphList.AddHandlersWithLoad(null, ListLoaded, null);

                loadingCircle1.Active = true;

                this.Text = "Paragraphs for " + SessionManager.Instance.ActiveUser.ToString();
            }
            else
            {
                tabControl1.Visible = false;
            }
        }