_CreateRoundRectRgn() приватный Метод

private _CreateRoundRectRgn ( int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nWidthEllipse, int nHeightEllipse ) : IntPtr
nLeftRect int
nTopRect int
nRightRect int
nBottomRect int
nWidthEllipse int
nHeightEllipse int
Результат System.IntPtr
Пример #1
0
        public static IntPtr CreateRoundRectRgn(int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nWidthEllipse, int nHeightEllipse)
        {
            IntPtr intPtr = NativeMethods._CreateRoundRectRgn(nLeftRect, nTopRect, nRightRect, nBottomRect, nWidthEllipse, nHeightEllipse);

            if (IntPtr.Zero == intPtr)
            {
                throw new Win32Exception();
            }
            return(intPtr);
        }