Exemplo n.º 1
0
 public static extern bool UpdateLayeredWindow(
     IntPtr hwnd,
     IntPtr hdcDst,
     ref xd0a1f65420a07725.x443cc432acaadb1d.Point pptDst,
     ref xd0a1f65420a07725.x443cc432acaadb1d.Size psize,
     IntPtr hdcSrc,
     ref xd0a1f65420a07725.x443cc432acaadb1d.Point pprSrc,
     int crKey,
     ref xd0a1f65420a07725.x443cc432acaadb1d.BLENDFUNCTION pblend,
     int dwFlags);
Exemplo n.º 2
0
        public void x0ecee64b07d2d5b1(Bitmap xe205f0cd81228282, byte x1965e484c4a7c6c6)
        {
            IntPtr dc           = xd0a1f65420a07725.x443cc432acaadb1d.GetDC(IntPtr.Zero);
            IntPtr compatibleDc = xd0a1f65420a07725.x443cc432acaadb1d.CreateCompatibleDC(dc);
            IntPtr hObject1     = IntPtr.Zero;
            IntPtr hObject2     = IntPtr.Zero;

            try
            {
                hObject1 = xe205f0cd81228282.GetHbitmap(Color.FromArgb(0));
                hObject2 = xd0a1f65420a07725.x443cc432acaadb1d.SelectObject(compatibleDc, hObject1);
                xd0a1f65420a07725.x443cc432acaadb1d.Size          psize  = new xd0a1f65420a07725.x443cc432acaadb1d.Size(xe205f0cd81228282.Width, xe205f0cd81228282.Height);
                xd0a1f65420a07725.x443cc432acaadb1d.Point         pprSrc = new xd0a1f65420a07725.x443cc432acaadb1d.Point(0, 0);
                xd0a1f65420a07725.x443cc432acaadb1d.Point         pptDst = new xd0a1f65420a07725.x443cc432acaadb1d.Point(this.Left, this.Top);
                xd0a1f65420a07725.x443cc432acaadb1d.BLENDFUNCTION pblend = new xd0a1f65420a07725.x443cc432acaadb1d.BLENDFUNCTION();
                pblend.BlendOp = (byte)0;
                do
                {
                    pblend.BlendFlags          = (byte)0;
                    pblend.SourceConstantAlpha = x1965e484c4a7c6c6;
                    pblend.AlphaFormat         = (byte)1;
                }while ((uint)hObject1 > uint.MaxValue);
                if (((int)(uint)compatibleDc | 4) == 0)
                {
                    return;
                }
                xd0a1f65420a07725.x443cc432acaadb1d.UpdateLayeredWindow(this.Handle, dc, ref pptDst, ref psize, compatibleDc, ref pprSrc, 0, ref pblend, 2);
            }
            finally
            {
                if (hObject1 != IntPtr.Zero)
                {
                    xd0a1f65420a07725.x443cc432acaadb1d.SelectObject(compatibleDc, hObject2);
                    xd0a1f65420a07725.x443cc432acaadb1d.DeleteObject(hObject1);
                }
                xd0a1f65420a07725.x443cc432acaadb1d.ReleaseDC(IntPtr.Zero, dc);
                xd0a1f65420a07725.x443cc432acaadb1d.DeleteDC(compatibleDc);
            }
        }