/**************************************************************************************************/ private IDockContent GetContentFromPersistString(string persistString) { if (persistString == typeof(HighRiskFollowupView).ToString()) { masterParagraphView = new MasterParagraphListView(); return masterParagraphView; } return null; }
/**************************************************************************************************/ private IDockContent GetContentFromPersistString(string persistString) { if (persistString == typeof(HighRiskFollowupView).ToString()) { masterParagraphView = new MasterParagraphListView(); return(masterParagraphView); } return(null); }
/**************************************************************************************************/ 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; } }
/**************************************************************************************************/ 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; } }