Пример #1
0
 public void AddLayoutWindow(ILayoutWindow layoutWindow)
 {
     if (!_layoutWindows.Any(win => win.WindowName == layoutWindow.WindowName))
     {
         _layoutWindows.Add(layoutWindow);
     }
 }
Пример #2
0
        public bool LayoutChange(string windowName, LayoutRenderType layoutRenderType)
        {
            ILayoutWindow layoutWindow = LayoutWindows.FirstOrDefault(window => window.WindowName == windowName);

            if (layoutWindow != null)
            {
                return(layoutWindow.LayoutChange(layoutRenderType));
            }

            return(false);
        }