I have a form that unfolds in full screen, how do I place a datagridview and listview so that when the form unfolds, the datagridview and listview, without interfering with each other, are also turned full screen? Here is what I get:
Here is what you need: 
- Correctly use the Anchor bindings (from can be found in the properties, remove the left from the listview and add the right) or use the panels, which also help to form the UI content. - Alex Krass
|
1 answer
One option is to use Anchor bindings correctly.
The second of the possible options is to add a TableLayoutPanel with two columns and with properties AutoSize = True; AutoSizeMode = GrowAndShrink; Anchor = лево, низ, право AutoSize = True; AutoSizeMode = GrowAndShrink; Anchor = лево, низ, право AutoSize = True; AutoSizeMode = GrowAndShrink; Anchor = лево, низ, право . Add a DataGrid or ListView control to each column as well by setting the Dock = Fill property to them.
|
