// IWorkspacePersistence member. Required for saving window to workspace
 public void Save(XDocument document, XElement element)
 {
     if (MainTabControl != null)
     {
         MainTabControl.SaveToXElement(element);
     }
 }
Example #2
0
 // IWorkspacePersistence member. Required for saving window to workspace
 public void Save(XDocument document, XElement element)
 {
     // This is used for saving the elements of the document with the workspace.
     if (MainTabControl != null)
     {
         MainTabControl.SaveToXElement(element);
     }
 }