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