Beispiel #1
0
        /**************************************************************************************************/
        private IDockContent GetContentFromPersistString(string persistString)
        {
            if (persistString == typeof(HighRiskFollowupView).ToString())
            {
                masterParagraphView = new MasterParagraphListView();
                return masterParagraphView;
            }

            return null;
        }
Beispiel #2
0
        /**************************************************************************************************/
        private IDockContent GetContentFromPersistString(string persistString)
        {
            if (persistString == typeof(HighRiskFollowupView).ToString())
            {
                masterParagraphView = new MasterParagraphListView();
                return(masterParagraphView);
            }

            return(null);
        }
Beispiel #3
0
        /**************************************************************************************************/
        private void RiskClinicFamilyHistoryView_Load(object sender, EventArgs e)
        {
            string configFile = SessionManager.SelectDockConfig("AdminMainForm.config");

            DeserializeDockContent m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);

            if (File.Exists(configFile))
                theDockPanel.LoadFromXml(configFile, m_deserializeDockContent);
            else
            {
                masterParagraphView = new MasterParagraphListView();
                masterParagraphView.Show(theDockPanel);
                masterParagraphView.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;
            }
        }
Beispiel #4
0
        /**************************************************************************************************/
        private void RiskClinicFamilyHistoryView_Load(object sender, EventArgs e)
        {
            string configFile = SessionManager.SelectDockConfig("AdminMainForm.config");

            DeserializeDockContent m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);

            if (File.Exists(configFile))
            {
                theDockPanel.LoadFromXml(configFile, m_deserializeDockContent);
            }
            else
            {
                masterParagraphView = new MasterParagraphListView();
                masterParagraphView.Show(theDockPanel);
                masterParagraphView.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document;
            }
        }