Sergio Tapia
Sergio Tapia

Reputation: 41228

How can I add a Window to my Visual Studio?

I created an Add-in project and now I have this in my solution explorer:

alt text

Do I just add right click the solution and add a Windows form? I'm not sure how this works and the tutorials I find don't touch on this.

Thanks.

Upvotes: 0

Views: 144

Answers (1)

Doug
Doug

Reputation: 5328

You can right click the project file under the solution file and select add new item. Btw it looks like you have a missing reference for "Microsoft.CSharp though; that will need to be resolved or removed from your project.

Here is how you instantiate a form and show it in the most basic sense.

Form f = new Form();
f.Show();

Hope this helps.

Enjoy!

Upvotes: 1

Related Questions