예제 #1
0
 public void UpdateLayouts()
 {
     foreach (Pair <VirtualDesktop, HMONITOR> desktopMonitor in Windows.Keys)
     {
         if (!Layouts.ContainsKey(desktopMonitor))
         {
             Layouts.Add(desktopMonitor, Layout.Tall);
         }
     }
 }
예제 #2
0
 public int?GetLayoutId(string pageType)
 {
     return(Layouts.ContainsKey(pageType)
         ? Layouts[pageType]
         : null);
 }