Ejemplo n.º 1
0
            private int GetResizeHandleHeight()
            {
                //if (_version.BuildNumber >= 14393)
                if (OperatingSystem2.IsWindowsVersionAtLeast(10, 0, 14393))
                {
                    return(Win32Interop.GetSystemMetricsForDpi(92 /*SM_CXPADDEDBORDER*/, (uint)(RenderScaling * 96)) +
                           Win32Interop.GetSystemMetricsForDpi(33 /* SM_CYSIZEFRAME */, (uint)(RenderScaling * 96)));
                }

                return(Win32Interop.GetSystemMetrics(92 /* SM_CXPADDEDBORDER */) +
                       Win32Interop.GetSystemMetrics(33 /* SM_CYSIZEFRAME */));
            }