BrowserTools.Utils.HasZeroWindowRect C# (CSharp) Метод

HasZeroWindowRect() статический приватный Метод

static private HasZeroWindowRect ( IntPtr hWnd ) : bool
hWnd System.IntPtr
Результат bool
        static bool HasZeroWindowRect(IntPtr hWnd)
        {
            Rect windowRect = GetWindowRect(hWnd);

            return windowRect.right - windowRect.left == 0 && windowRect.bottom - windowRect.top == 0;
        }