c# - Editing size of form control on Maximise -


i have form has datagridview, , want know how control change size fit form on maximise.

i have tried docking , anchors, basic attempt @ setting size of control on this.maximise() can't work me. overstepping obvious.

the control sits on right hand side of screen:

form normal state

and looks maximised:

form maximised state

can suggest way keep gridview stretched fit screen? (i need horizontal stretch)

set anchors of grid top/left/right , optionally bottom.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -