コード例 #1
0
        /**************************************************************************************************/
        private void HighRiskFollowupStatus_Load(object sender, EventArgs e)
        {
            theDockPanel.AllowEndUserDocking = SessionManager.Instance.AllowDockDragAndDrop;

            p_FollowupCohort.AddHandlersWithLoad(HighRiskBrcaQueueChanged, HighRiskBrcaQueueLoaded, null);

            sfv.Show(theDockPanel);
            sfv.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;


            pf.Show(theDockPanel);
            //pf.SetMode("MANUAL");
            pf.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;

            pf.Enabled = false;

            sfv.Show();
        }
コード例 #2
0
ファイル: HighRiskFollowupView.cs プロジェクト: mahitosh/HRA4
        /**************************************************************************************************/
        private void HighRiskFollowupView_Load(object sender, EventArgs e)
        {
            trigger = false;

            theDockPanel.AllowEndUserDocking = SessionManager.Instance.AllowDockDragAndDrop;
            SessionManager.Instance.ClearActivePatient();
            SessionManager.Instance.NewActivePatient += new RiskApps3.Controllers.SessionManager.NewActivePatientEventHandler(NewActivePatient);

            string configFile = SessionManager.SelectDockConfig("HighRiskFollowupView.config");

            DeserializeDockContent m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);

            if (File.Exists(configFile))
            {
                theDockPanel.LoadFromXml(configFile, m_deserializeDockContent);
            }
            else
            {
                if (theQueue is BeingFollowedQueue)
                {
                    sfv = new SummaryFollowupView();
                    sfv.Show(theDockPanel);
                    sfv.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;
                }
                else
                {
                    pf = new PedigreeImageView();
                    if (theQueue is BrcaPositiveQueue)  //show brca scores on pedigree when BrcaPos families
                    {
                        pf.showBrcaScores = true;
                    }
                    pf.Show(theDockPanel);
                    pf.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;
                }
            }

            loadingCircle1.Enabled = true;
            loadingCircle1.Visible = true;
            theQueue.HraState      = HraObject.States.Null;
            theQueue.AddHandlersWithLoad(null, QueueDataLoaded, null);

            if (pf != null)
            {
                pf.Enabled = false;
            }

            trigger = true;
        }
コード例 #3
0
        /**************************************************************************************************/
        private void NotYetInformedGeneticTestsView_Load(object sender, EventArgs e)
        {
            theDockPanel.AllowEndUserDocking = SessionManager.Instance.AllowDockDragAndDrop;
            SessionManager.Instance.ClearActivePatient();
            SessionManager.Instance.NewActivePatient += new RiskApps3.Controllers.SessionManager.NewActivePatientEventHandler(NewActivePatient);

            string configFile = SessionManager.SelectDockConfig("NotYetInformedGeneticTestsView.config");

            DeserializeDockContent m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);

            if (File.Exists(configFile))
            {
                theDockPanel.LoadFromXml(configFile, m_deserializeDockContent);
            }
            else
            {
                pf = new PedigreeImageView();
                //pf.SetMode("MANUAL");
                pf.Show(theDockPanel);
                pf.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;

                sfv = new SummaryFollowupView();
                sfv.Show(theDockPanel);
                sfv.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;

                pcv = new PatientCommunicationView();
                pcv.Show(theDockPanel);
                pcv.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;

                gtv = new GeneticTestingView(false);  //can't modify view
                gtv.Show(theDockPanel);
                gtv.DockState = WeifenLuo.WinFormsUI.Docking.DockState.DockBottom;

                pn = new PatientNavigation();
                pn.Show(theDockPanel);
                pn.DockState = WeifenLuo.WinFormsUI.Docking.DockState.DockBottom;
            }

            GetNewNotYetInformedGenTestList();

            if (pf != null)
            {
                pf.Enabled = false;
                pf.Show();
            }
        }
コード例 #4
0
ファイル: HighRiskFollowupView.cs プロジェクト: mahitosh/HRA4
        /**************************************************************************************************/
        private void HighRiskFollowupView_Load(object sender, EventArgs e)
        {
            trigger = false;

            theDockPanel.AllowEndUserDocking = SessionManager.Instance.AllowDockDragAndDrop;
            SessionManager.Instance.ClearActivePatient();
            SessionManager.Instance.NewActivePatient += new RiskApps3.Controllers.SessionManager.NewActivePatientEventHandler(NewActivePatient);

            string configFile = SessionManager.SelectDockConfig("HighRiskFollowupView.config");

            DeserializeDockContent m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);

            if (File.Exists(configFile))
                theDockPanel.LoadFromXml(configFile, m_deserializeDockContent);
            else
            {
                if (theQueue is BeingFollowedQueue)
                {
                    sfv = new SummaryFollowupView();
                    sfv.Show(theDockPanel);
                    sfv.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;
                }
                else
                {
                    pf = new PedigreeImageView();
                    if (theQueue is BrcaPositiveQueue)  //show brca scores on pedigree when BrcaPos families
                    {
                        pf.showBrcaScores = true;
                    }
                    pf.Show(theDockPanel);
                    pf.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;
                }
            }

            loadingCircle1.Enabled = true;
            loadingCircle1.Visible = true;
            theQueue.HraState = HraObject.States.Null;
            theQueue.AddHandlersWithLoad(null, QueueDataLoaded, null);

            if (pf != null)
            {
                pf.Enabled = false;
            }

            trigger = true;
        }
コード例 #5
0
        /**************************************************************************************************/
        private void NotYetInformedGeneticTestsView_Load(object sender, EventArgs e)
        {
            theDockPanel.AllowEndUserDocking = SessionManager.Instance.AllowDockDragAndDrop;
            SessionManager.Instance.ClearActivePatient();
            SessionManager.Instance.NewActivePatient += new RiskApps3.Controllers.SessionManager.NewActivePatientEventHandler(NewActivePatient);

            string configFile = SessionManager.SelectDockConfig("NotYetInformedGeneticTestsView.config");

            DeserializeDockContent m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);

            if (File.Exists(configFile))
                theDockPanel.LoadFromXml(configFile, m_deserializeDockContent);
            else
            {
                pf = new PedigreeImageView();
                //pf.SetMode("MANUAL");
                pf.Show(theDockPanel);
                pf.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;

                sfv = new SummaryFollowupView();
                sfv.Show(theDockPanel);
                sfv.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;

                pcv = new PatientCommunicationView();
                pcv.Show(theDockPanel);
                pcv.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;

                gtv = new GeneticTestingView(false);  //can't modify view
                gtv.Show(theDockPanel);
                gtv.DockState = WeifenLuo.WinFormsUI.Docking.DockState.DockBottom;

                pn = new PatientNavigation();
                pn.Show(theDockPanel);
                pn.DockState = WeifenLuo.WinFormsUI.Docking.DockState.DockBottom;
            }

            GetNewNotYetInformedGenTestList();

            if (pf != null)
            {
                pf.Enabled = false;
                pf.Show();
            }
        }