简体   繁体   中英

How do I add a Form to my Windows Forms project when all I have is the option for Inherited Form?

I want to create a blank form in Visual Studio C#.

However, all I can create is an inherited Form, why is that?

见表格创建图片

On the web, all I can find is a tutorial where they have the blank form option. Why don't I have it?

Open the start menu and look for Visual Studio Installer (for VS 2015 or later). Run the program.

Find the Modify setting under the More menu: Visual Studio安装程序的“修改”菜单

Make sure you have the ".NET desktop development" box checked. Visual Studio安装程序工作负载菜单

Perform any necessary Visual Studio restarts and you should then have the option for a Windows Form when you select Add... from Solution Explorer within a Windows Forms project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM