// IWorkspacePersistence member. Required for restoring window from workspace public void Restore(XDocument document, XElement element) { if (MainTabControl != null) { MainTabControl.RestoreFromXElement(element); } }
// IWorkspacePersistence member. Required for restoring window from workspace public void Restore(XDocument document, XElement element) { // This is used for restoring the elements of the document with the workspace. if (MainTabControl != null) { MainTabControl.RestoreFromXElement(element); } }