Switched to VS 2012 and now form doesnt resize properly?
问题 I switched to VS 2012 yesterday from VS 2010 and all seemed to go well except this. I have a button on my form that when pressed extends the width of the form to show additional controls. Press the button again and it reduces the width to hide those controls. Now all of this worked great in VS 2010 and also works fine when I debug in VS 2012 but as soon as I publish or compile the project and open the .exe when you click on the button it adds like 5 to the width instead of the 100+ it needs