How to set height (in percentage) of a grid or any control in windows application

May 20 2009 4:39 AM
Hi, I am using spiltcontainer on the form. My one panel of the spiltcontainer, contains a datagridview. Now whenever I run my application I want the grid should occupy the whole SpiltContainer Panel1. How I can do that? (like in web application we can assign the size of the controls in percentage, which do this automatically after resizing) The same thing I want to apply for the controls (webbrower and Textbox) in panel2. plz help me ..how I can do this?

Answers (1)