/// <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; }
public bool Equals(TagRect other) => left == other.left && top == other.top && right == other.right && bottom == other.bottom;
/// <summary> /// ctor /// </summary> public ForegroundWindowInfo(IntPtr foregroundHandle, IntPtr monitor, TagRect rect) { Handle = foregroundHandle; Monitor = monitor; Rect = rect; }
public static extern bool GetWindowRect(IntPtr hWnd, out TagRect lpRect);