I have a window shape with a SplitContainer. I need to hide / remove panel2 from this container, and I want panel1 to occupy the entire form. Can this be done?
http://msdn.microsoft.com/en-us/library/system.windows.forms.splitcontainer.panel2.aspx
Unable to delete it.
However, you can hide this:
splitContainer1.Panel2.Hide();
Set the property Panel2Collapsedto true:
Panel2Collapsed
splitContainer.Panel2Collapsed = true;