IsCurrentVirtualDesktop() публичный статический Метод

public static IsCurrentVirtualDesktop ( IntPtr handle ) : bool
handle System.IntPtr
Результат bool
Пример #1
0
 public static bool IsCurrentVirtualDesktop(this Form form)
 {
     return(VirtualDesktopHelper.IsCurrentVirtualDesktop(form.Handle));
 }
Пример #2
0
 /// <summary>
 /// Determines whether the window is located over the virtual desktop that current displayed.
 /// </summary>
 public static bool IsCurrentVirtualDesktop(this Window window)
 {
     return(VirtualDesktopHelper.IsCurrentVirtualDesktop(window.GetHandle()));
 }