Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这可能有一个单击解决方案,我知道在 VS2010 中调试网页只需设置为起始页即可调试给定窗口,但我似乎无法在 Windows 窗体中更改它。一直在调试旧的,有什么关于如何设置调试表格的线索吗?谢谢。
打开 Program.cs 文件,您可以在那里设置启动表单:
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
要更改此设置,请右键单击项目 > 属性并在此处设置启动对象。