示例#1
0
        public IntPtr GetHicon()
        {
            IntPtr HandleIcon;

            Status status = GDIPlus.GdipCreateHICONFromBitmap(nativeObject, out HandleIcon);

            GDIPlus.CheckStatus(status);

            return(HandleIcon);
        }