I’m creating complex UserControl, what is annoying to me is application shows it partially during creation mode.
Means end user can see all creation / draw process (controls placed on this UserControl appearing with delay, gradient boxes draw they fill etc)
I’m pretty sure there is some command hiding this process and showing control only when it is fully drawn…
Can someone advice how to archive that?
Mhh I don’t think exist something exactly like this, but there are these things:
You can also call Invalidate (which force redrawing of the form)
This works for initialization quite well, but I don’t understand if you want it every time the control is painted or only when is created
However I don’t have an idea on how to intercept “before drawing” and “after drawing” (Paint I think it’s triggered before drawing, not sure)