I have a windows form with a SplitContainer. I need to hide/remove the panel2 from this container and I want the panel1 to occupy the entire form. Is it possible to do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
http://msdn.microsoft.com/en-us/library/system.windows.forms.splitcontainer.panel2.aspx
It is not possible to remove it.
You can, however, hide it: