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:

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.

Answers


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!


Need Your Help

Enable/disable Table based on checkbox selection

javascript jquery html css

Need To Add/Remove Class from TD of table, based on check-box selection. By Default all the TD will be hidden. While selecting check-box, i need to enable the respective column alone.