2
Answers

Windows.forms.tabcontrol

jasminie

jasminie

13y
2.5k
1
I am working with a C#.net 2008 desktop application that uses a system.windows.forms.tabcontrol. There are 5 different tabs that allows users to select data based upon  the tab they select. Each tab  has a datagrid control in them. Each datagrid within each tab shows data in different sizes. (For example one tab shows data for the entire page, another tab shows data for 75% of the page,and the other 3 pages disaplys data for between 40% to 60% of the entire page. Thus, can you tell me what code (what property) of what object I need to chhange so I can  make to datagrid tab page shows data covering the same amount of screen space?
Answers (2)
0
Benjamin Kemner
NA 1.1k 16.9k 13y
Let the datagrids fill your pages:

dataGridView1.Dock = DockStyle.Fill;
Accepted
0
jasminie
NA 78 0 13y
If the parent tab control is too small, what would i change on the parent tabcontrol?