Re: How Do I: Add a Form from a control library
- From: "Marc Gravell" <marc.gravell@xxxxxxxxx>
- Date: Fri, 18 Aug 2006 17:09:10 +0100
Erm, you don't...
Compile your control library (containing SomeFunkyForm) to an assembly.
In your second project, reference that assembly.
You can now either:
a: create an instance of SomeFunkyForm from code (the same as you would if
it was in the current project)
b: (inheritance) create a new inherited form (in the IDE) and select
SomeFunkyForm as a base form
It doesn't appear in the project view because it isn't part of your project
(unless you simply share the source code), and doesn't appear in the toolbox
because it is a form.
Marc
.
- Follow-Ups:
- Re: How Do I: Add a Form from a control library
- From: graeme g
- Re: How Do I: Add a Form from a control library
- References:
- How Do I: Add a Form from a control library
- From: graeme g
- Re: How Do I: Add a Form from a control library
- From: Marina Levit [MVP]
- Re: How Do I: Add a Form from a control library
- From: graeme g
- How Do I: Add a Form from a control library
- Prev by Date: Re: TreeNode.ShowCheckBox
- Next by Date: Re: FTP Drive Space
- Previous by thread: Re: How Do I: Add a Form from a control library
- Next by thread: Re: How Do I: Add a Form from a control library
- Index(es):