Esempio n. 1
0
 private void LoadStateFromXml()
 {
     try
     {
         dockPanel.LoadFromXml(RendererBase.DockSaveState, GetContentFromPersistString);
         Renderer.Show(dockPanel);
     }
     catch
     {
         Renderer.Show(dockPanel);
         _switchesTree.Show(dockPanel, DockState.DockLeft);
         _triggerExample.Show(dockPanel, DockState.DockRight);
         _variableEditor.Show(dockPanel, DockState.DockRight);
         _errorList.Show(Renderer.DockPanel, DockState.DockBottomAutoHide);
     }
 }