Invalidation/Paint problem with Control (WinForm) -
I have created a control in which there is a photo box inside it. In my main form I have a picturebox, with that said change it with control. I have a problem now. To update the image box inside the control I need it I have an overloaded surcharge but due to invalidation on the control the function is not called. How am I working with the user () / Paint?
Protected override zero PaintEventArgs pe {pic.Invalidate (); } Try to invalidate the control with
Valid (true)
, which also invalidates child control.
Comments
Post a Comment