예제 #1
0
        public void Remove(Desktop fallback = null)
        {
            // Destroy desktop and switch to <fallback>
            var back = fallback == null?DesktopManager.GetDesktop(0) : fallback.itf;

            DesktopManager.Manager.RemoveDesktop(itf, back);
        }
예제 #2
0
 public static Desktop FromIndex(int index)
 {
     // Create desktop object from index 0..Count-1
     return(new Desktop(DesktopManager.GetDesktop(index)));
 }