Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi
in some projects there are a pannel which have some buttons for save, edit, search and ...
and convert it to a dll and use in all forms. there form it is not necessary to create buttons and write code in each form.
have you a prepared dll for me?

thanks very much
Posted
Comments
Sergey Alexandrovich Kryukov 2-Feb-15 0:44am    
Not clear. What prepared, by who? Just do it. There is no difference if the form code in DLL or no DLL.
—SA
BillWoodruff 2-Feb-15 2:33am    
No one here is going to create a .dll for you, but I, and others, will be happy to teach you how to create one ... if you are willing to write code.

1 solution

Sounds like to need to create a custom control ... there is a full set of articles on MSDN[^] and there are also articles here on CodeProject - e.g. Writing your Custom Control: step by step[^]

Yours sounds like it is going to be quite complex, so I advise taking it slowly - e.g. just get a panel together with some buttons on it - no functionality at first, just to prove you can build the control and use it. Then start by adding functionality to one of the buttons and move on from there.

If/when you hit problems then come back and post a question, including the code snippet you're having the problem with,
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900