The VS2017 configuration template for new projects

    Installed VS2017 before do not know when to do what action, create a WinForm project, I was automatically remember the size of the new form of 816 * 639 (default 300 * 300) and now have this every time the New Form size, endure a period of time, it is intolerable, and the internet to find solutions meal fierce search, Google down on poor Baidu, two vast are not seen. Well, I want to rut chant!

    First, determine the information hidden in the registry, you can find even a shadow for a long time did not renowned, think again also possible in the user profile directory, then delete the AppData \ Local \ Microsoft \ VisualStudio all directory-related, that should be fine, I did not expect not that crazy! I nothing and restored install VS, G after three five-minute download of the installation, and finally Bahrain, thinking that this should be all right, Oh, I did not expect, Microsoft goose you live in my heart, and so are not restored my mother ah.

I have not submitted, keep looking, all of a sudden think of it, or create a new project file, like a word or other encoded file, usually have a template, the template must be a problem, so he searched meal in the C drive, and finally, Hard work pays off, met to find it in: C: \ Program files (x86) \ Microsoft Visual Studio \ 2017 \ Community \ Common7 \ IDE \ ProjectTemplates \ CSharp \ Windows \ 2052 \ WindowsApplication, open the file form1.designer.cs a look, this.ClientSize = new System.Drawing.Size (800, 600); this is not exactly what I do now New form of size, change over, a re-look at new projects, Europe, and finally succeeded!

Guess you like

Origin www.cnblogs.com/chengyb/p/11286015.html