// IWorkspacePersistence member. Required for restoring window from workspace
 public void Restore(XDocument document, XElement element)
 {
     if (MainTabControl != null)
     {
         MainTabControl.RestoreFromXElement(element);
     }
 }
Exemple #2
0
 // 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);
     }
 }