I'm trying to get the frm.Width and frm.Height properties at run-time, so as I can position my controls on the form. The problem is that I want the form to be maximized on opening (hence I have set the windowstate to maximized), however this does not adjust the .Width and .Height properties.
How can I get these properties for the maximized form or am I going about it in the wrong way?
(Although I am designing on a monitor of 1024x768 pixels, this project will be used on computers with monitors using different numbers of pixels.)
How can I get these properties for the maximized form or am I going about it in the wrong way?
(Although I am designing on a monitor of 1024x768 pixels, this project will be used on computers with monitors using different numbers of pixels.)