コード例 #1
0
 /// <summary>
 /// Switch to virtual desktop and move the window.
 /// </summary>
 public static void SwitchAndMove(this VirtualDesktop.VirtualDesktop virtualDesktop, Window window)
 {
     window.MoveToDesktop(virtualDesktop);
     virtualDesktop.Switch();
 }
コード例 #2
0
 /// <summary>
 /// Move this window to specified virtual desktop.
 /// </summary>
 public static void MoveToDesktop(this Window window, VirtualDesktop.VirtualDesktop virtualDesktop)
 {
     VirtualDesktopHelper.MoveToDesktop(window.GetHandle(), virtualDesktop);
 }