I have one form which size is (325,325) and on which one browser is there and the size of the browser is (321,298) means browser is in the middle of the form.And I want to maintain the size of the browser when form is resized like there should be the same difference of the size between form and browser as it was before resized.
Share
Like the previous answers stated, you should Anchor the control.
You should set the Anchor property to
Top, Left, Right, Bottomto let the browser grow/shrink when the form is resized, but maintaining the margins.