Invalidates a rectangular region of the control and causes a paint message to be sent to the control. This will not force a synchronous paint to occur, calling update after invalidate will force a synchronous paint.
[Visual Basic] Overloads Public Sub Invalidate( _ ByVal rc As Rectangle, _ ByVal invalidateChildren As Boolean _ ) [C#] public void Invalidate( Rectangle rc, bool invalidateChildren ); [C++] public: void Invalidate( Rectangle rc, bool invalidateChildren ); [JScript] public function Invalidate( rc : Rectangle, invalidateChildren : Boolean );
Control Class | Control Members | System.WinForms Namespace | Control.Invalidate Overload List