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