Ejemplo n.º 1
0
 // IWorkspacePersistence member. Required for saving window to workspace
 public void Save(XDocument document, XElement element)
 {
     if (MainTabControl != null)
     {
         MainTabControl.SaveToXElement(element);
     }
 }
Ejemplo n.º 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);
     }
 }