public GraphicsPlus(HWND hwnd, bool icm) { GpGraphics Graphics = new GpGraphics(); if (icm) { lastResult = GdiPlus.GdipCreateFromHWNDICM(hwnd, out Graphics); } else { lastResult = GdiPlus.GdipCreateFromHWND(hwnd, out Graphics); } SetNativeGraphics(Graphics); }
internal static extern GpStatus GdipCreateFromHWNDICM(HWND hwnd, out GpGraphics graphics);
public static GraphicsPlus FromHWND(HWND hwnd, bool icm) { return(new GraphicsPlus(hwnd, icm)); }
public static GraphicsPlus FromHWND(HWND hwnd, bool icm) { return new GraphicsPlus(hwnd, icm); }
extern static internal GpStatus GdipCreateFromHWNDICM(HWND hwnd, out GpGraphics graphics);