Ejemplo n.º 1
0
        /************************/
        private IDockContent GetContentFromPersistString(string persistString)
        {
            if (persistString == typeof(RiskClinicDashboard).ToString())
            {
                rcd = new RiskClinicDashboard();
                rcd.PushViewStack = PushViewOnMainWindow;
                viewStack.Push(rcd);
                return(rcd);
            }
            if (persistString == typeof(BreastImagingDashboard).ToString())
            {
                bid = new BreastImagingDashboard();
                bid.PushViewStack = PushViewOnMainWindow;
                viewStack.Push(bid);
                return(bid);
            }
            if (persistString == typeof(MyScheduleView).ToString())
            {
                mpv = new MyScheduleView();
                mpv.PushViewStack = PushViewOnMainWindow;
                viewStack.Push(mpv);
                return(mpv);
            }

            if (persistString == "RiskApps3.View.RiskClinic.MyPatientsView")
            {
                RiskApps3.Model.Clinic.Dashboard.myPatientsQueue p_MyPatientsQueue = new Model.Clinic.Dashboard.myPatientsQueue();
                HighRiskFollowupView hrfv = new HighRiskFollowupView(p_MyPatientsQueue);
                hrfv.PushViewStack = PushViewOnMainWindow;
                viewStack.Push(hrfv);
                return(hrfv);
            }

            return(null);
        }