I currently have a program with a TableLayoutPanel, and am in the process of trying to reduce flicker when I add new controls to the panel (I tried enabling double buffering but it didn't help enough). My current approach is to try and create a hidden
panel, make it look the way it should, and then show the new panel and hide the old panel.
I find that this method works great if the new panel has its own set of controls (newly instantiated just for that panel).
However, I need to use the same instances of controls from the original panel (they're complex, stateful controls). I find if I simply try to add the existing controls to the new panel while it's hidden, they actually get removed from the original
panel, and the user can see this happening (an empty table for a brief moment).
Is there any way to work around this and create a new hidden panel, using the exact same controls from another panel, without this disappearing from the original panel?
View Complete Post