Wednesday, September 19, 2007

.Net CE Forms WindowState Is Evil

I always find out things the hard way. Setting the WindowState attribute to "Maximized" on a .Net CE Form will cause the form to ignore the values you specify for the Size attributes, and enlarge itself to a maximized state each time you open the form within the designer.

It makes sense now that I've figured it out, but watching my forms magically resize themselves every time I opened them in the designer made me wonder if my VS 2005 installation needed an exorcism.

No comments: