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.
我想创建一个可以从主窗体打开的窗体。但我真的不想在没有设计和设计选项卡的情况下尝试这样做。默认情况下,主窗体具有它们。我对 MS Visual C# 2010 express 并不完全熟悉...
如何在应用程序中打开新表单的设计和设计器选项卡?
在您的解决方案中添加一个新表单:
然后在Form1.cs某处添加以下代码:
Form2 form = new Form2(); form.Show();