在Visual Studio中禁用设计器? [英] Disable designer in Visual Studio?

查看:117
本文介绍了在Visual Studio中禁用设计器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual C#Express编写Windows Form应用程序,并称我为老派,但我不喜欢设计器.这很麻烦,并且用很多不需要的文件以及不需要的猴子生成的源代码污染了我的项目.

I'm using Visual C# Express to write Windows Form applications, and call me old school, but I don't like the designer. It is a nuisance and pollutes my project with lots of unwanted files, as well as unwanted monkey-generated source code.

请告诉我,有一种方法可以将其完全关闭.

Please tell me there's a way to turn it off completely.

推荐答案

只需不要添加新表单" ,将新的类添加到项目中并从Form类继承它即可.

Just dont add "new form" , add to the project new class and inherit him from the Form class.

这篇关于在Visual Studio中禁用设计器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆