• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 794
  • Last Modified:

WinForm user control as resource

How would I go about building a user control in its own project so that I could add it in other projects/solutions as a resource(?)
1 Solution
Jacques Bourgeois (James Burger)Commented:
Make sure that your UserControl is declared as Public.

Set the project that contains your user controls to compile as a .dll (Class Library) in the Application tab of the Project's properties window.

When you want to use the control in another project, simply reference the dll thus created as you would any other dll, and your control will be available.
lrbristerAuthor Commented:

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now