windows form sizing
-
hello, I am creating a windows form app using VS.Net and I am having a fundamental problem with window sizing. I would like to specify the exact size of each form programmatically. Despite my efforts, the forms seem to be resizing themselves sometime between when the constructor is run and the window is actually displayed. Does anybody know why or where in the code this is happening? Any insight would be much appreciated. Thanks!!! rc
-
hello, I am creating a windows form app using VS.Net and I am having a fundamental problem with window sizing. I would like to specify the exact size of each form programmatically. Despite my efforts, the forms seem to be resizing themselves sometime between when the constructor is run and the window is actually displayed. Does anybody know why or where in the code this is happening? Any insight would be much appreciated. Thanks!!! rc
It may be that you are putting your programmatical assignment of the size before the InitialiseComponent() method in the form's constructor is being called, as a result the assignment to the form's size in InitialiseComponent() is overriding your assignment. James just-code-it.net