I have on a form a UserControl that I use as a Data-Entry form. I show and hide it constantly with new data.
Often (not all the times) the same two memo-boxes are shown on the screen first for a second, and then the full control is visible.
I found this link, I'm not sure if that's my solution, but in any case I don't know where to call it and when.
EDIT: I noticed that it happens 'only' if the program is idle for a couple of minutes. I could show and hide the control 10 times one after the other no problem. but if I hide it and show it again after 2-3 minutes then I get this behavior.
I guess it has to do with the time it takes to reconnect to the MsSQL database to pull the data. But how can I tell this 2 boxes to stay invisible like there parent until the parent is ready to show?