private _CreateRoundRectRgn ( int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nWidthEllipse, int nHeightEllipse ) : |
||
nLeftRect | int | |
nTopRect | int | |
nRightRect | int | |
nBottomRect | int | |
nWidthEllipse | int | |
nHeightEllipse | int | |
Результат |
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); }