Пример #1
0
        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);
        }
Пример #2
0
 internal static extern GpStatus GdipCreateFromHWNDICM(HWND hwnd, out GpGraphics graphics);
Пример #3
0
 public static GraphicsPlus FromHWND(HWND hwnd, bool icm)
 {
     return(new GraphicsPlus(hwnd, icm));
 }
Пример #4
0
 public static GraphicsPlus FromHWND(HWND hwnd, bool icm)
 {
     return new GraphicsPlus(hwnd, icm);
 }
Пример #5
0
 extern static internal GpStatus GdipCreateFromHWNDICM(HWND hwnd, out GpGraphics graphics);