Dll & form

  • Thread starter Thread starter rino
  • Start date Start date
R

rino

Hi,
I have a question: It's correct to add a form in a Dll (assembly)?
I have 2 indipendent application. Its use the same form to search and
extract the clients. I would like to make one Dll (class library) to use as
Reference in all two different project.... this is right?
Many people say that this is not correct according to the canons of the
programming to objects oriented ????
 
rino said:
I have a question: It's correct to add a form in a Dll (assembly)?
I have 2 indipendent application. Its use the same form to search and
extract the clients. I would like to make one Dll (class library) to use as
Reference in all two different project.... this is right?

Yup, that's absolutely fine.
Many people say that this is not correct according to the canons of the
programming to objects oriented ????

Sounds fine to me...
 
Hi

1- It's correct to add a form in a Dll (assembly)?
Yes

2- Many people say that this is not correct according to the canons of the
programming to objects oriented ????

I don't see why, in fact in the "old" days you had ocx , objects with user
interfaces.

Now the only thing you have to remember is to include a reference to
System.Windows.Forms as it's not included by default in a DLL project (
IIRC )

Cheers,
 
Hi rino,

I agree with the community's reply. Does this make sense to you? Do you
still have any concern on this issue?

Please feel free to post. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top