Esempio n. 1
0
 /// <summary>
 ///     Initialize taskbar information
 /// </summary>
 /// <returns></returns>
 public TaskbarInfo(IntPtr handle, TagRect rect, bool isShow, TaskbarPosition position, IntPtr monitor)
 {
     Handle   = handle;
     Rect     = rect;
     IsShow   = isShow;
     Position = position;
     Monitor  = monitor;
 }
Esempio n. 2
0
 public bool Equals(TagRect other)
 => left == other.left &&
 top == other.top &&
 right == other.right &&
 bottom == other.bottom;
Esempio n. 3
0
 /// <summary>
 ///     ctor
 /// </summary>
 public ForegroundWindowInfo(IntPtr foregroundHandle, IntPtr monitor, TagRect rect)
 {
     Handle  = foregroundHandle;
     Monitor = monitor;
     Rect    = rect;
 }
Esempio n. 4
0
 public static extern bool GetWindowRect(IntPtr hWnd, out TagRect lpRect);