Remove SplitContainer without removing other controls
I can't believe I couldn't find the answer to this question.
I no longer need to use SplitContainer in my WinForms UI. But whenever I remove the SplitContainer, I lose all my other controls - buttons, labels, text boxes and charts. Everything in the SplitContainer has been removed as well. Very annoying.
What's the best way to remove the SplitContainer control, but leave everything else in place?
A trivial example:
+3
source to share