C#

Moderators: None (Apply to moderate this forum)
Number of threads: 2720
Number of posts: 5746

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Binding DLL to Form Posted by stathread on 25 Jul 2006 at 5:32 PM
Ive created the first project which we will say is just a basic form with some controls. I compiled this project and created a DLL.

I have created a second project which is an MDI form and id like to show the first projects form as a Client form by binding to the DLL.

I know this is possible but how is it done?

Thanks.
Report
Re: Binding DLL to Form Posted by tsagld on 27 Jul 2006 at 2:09 AM
: Ive created the first project which we will say is just a basic form with some controls. I compiled this project and created a DLL.
:
: I have created a second project which is an MDI form and id like to show the first projects form as a Client form by binding to the DLL.
:
: I know this is possible but how is it done?
:
: Thanks.
:
You must add a reference in your second project to your first project, and add a 'using' statement in the source where you want to use classes from the first project.

Greets,
Eric Goldstein
http://www.gvh-maatwerk.nl





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.