Ejemplo n.º 1
0
        public void Invalidate(Rectangle area)
        {
            RECT rect = new RECT {
                left = area.Left, top = area.Top, right = area.Right, bottom = area.Bottom
            };

            Win32API.InvalidateRect(windowHandle, ref rect, 0);
        }