My program remembers the height and width of the program when it exits so it can restore it later.
The window starts at a default x by y say, then it correctly changes to the user's previous dimension p by q.
All's going well until the breakpoint at Application.Run.
After that one innocent looking statement is executed the height and width change to some random value.
Any hints? What goes on behind the scenes of Application.Run?
The window starts at a default x by y say, then it correctly changes to the user's previous dimension p by q.
All's going well until the breakpoint at Application.Run.
After that one innocent looking statement is executed the height and width change to some random value.
Any hints? What goes on behind the scenes of Application.Run?