Example #1
0
        static void CompleteSetup(Abnaki.Windows.GUI.IWindow mainWindow, IDockSystem ds)
        {
            if (ds == null)
            {
                AbnakiLog.Comment("IDockSystem null");
            }
            else
            {
                ds.Defaults();

                mainWindow.SavingPanelLayout    += fi => ds.SerializeLayout(fi);
                mainWindow.RestoringPanelLayout += fi => ds.DeserializeLayout(fi);
            }
        }
Example #2
0
 /// <summary>
 /// </summary>
 /// <param name="mainWindow"></param>
 /// <param name="dockingSystem"></param>
 /// <remarks>Do not want to pollute all dependent projects with references to Xceed and make replacement difficult.
 /// </remarks>
 public static void CompleteSetupOfInterfaces(Abnaki.Windows.GUI.IWindow mainWindow, IDockSystem dockingSystem)
 {
     CompleteSetup(mainWindow, dockingSystem);
 }