I'm developing a Windows CE CF3.5 applic开发者_StackOverflowation under Visual Studio 2008, everything went smooth until the designer started throwing a NullReferenceException. Restarted VS2008, rebooted Win7 and the exception disappeared but all the forms for the project I was working on and new projects that I tested have this aspect:

On the emulator it varies, it either appears really tiny in the upper left corner or it displays correctly:

Any ideas? I've googled for this to no success. Thanks in advance!
In the solution explorer, expand your form and open the Form.Designer.cs file.
Have a look and try altering the AutoScale and AutoScaleDimensions properties
Like every good programmer you use some kind of Source Control (VSS, SVN, Git, etc.).
So simply make a diff of your current not working version and your last working one and see what changed.
加载中,请稍侯......
精彩评论