POV
POV

Reputation: 12025

How to add new win form in project C#?

I have existing project. I tried to add new empty form in this, but I have limited choose of windows form that mean to inheriting. But I need just simple form.

enter image description here

I use VS 2017

enter image description here

Upvotes: 6

Views: 10489

Answers (2)

Levis
Levis

Reputation: 39

Try this

  1. Open Solution Explorer

  2. Right click on your Project's Name.

  3. Add.

  4. Windows Form.

If you still don't see it, you might be missing the Dot Net desktop development Component.

Upvotes: 1

MetaColon
MetaColon

Reputation: 2871

It seems like you didn't install the required components. To do this, close VS, run your Visual Studio Installer (you probably installed VS through it), click modify for your VS Version and make sure that .Net desktop development is checked:checked component

Then launch the installation by hitting Modify and start VS again. If you now want to create a new Project it should look something like that:project view

Upvotes: 8

Related Questions