Exemplo n.º 1
0
        private void doCreateGui(MDILayoutManager mdiManager, LayoutChain layoutChain, OSWindow window)
        {
            screenLayoutManager = new ScreenLayoutManager(window);
            screenLayoutManager.ScreenSizeChanging += ScreenLayoutManager_ScreenSizeChanging;
            screenLayoutManager.ScreenSizeChanged  += screenLayoutManager_ScreenSizeChanged;

            //Dialogs
            dialogManager = new DialogManager(mdiManager);

            screenLayoutManager.LayoutChain = layoutChain;
            layoutChain.CompactMode         = compactMode;

            ScreenLayoutManager_ScreenSizeChanging(window.WindowWidth, window.WindowHeight);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Call this on startup to set the layout chain. Can't constructor inject this or we get loops.
 /// </summary>
 /// <param name="layoutChain"></param>
 public void createGUILayout(LayoutChain layoutChain)
 {
     doCreateGui(mdiManager, layoutChain, window);
 }
Exemplo n.º 3
0
 public void createGUI(MDILayoutManager mdiManager, LayoutChain layoutChain, OSWindow window)
 {
     doCreateGui(mdiManager, layoutChain, window);
 }