Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have some buttons in my project. I want to make dll file from those buttons. I just want to put their code in dll. In this way I could increase my code security. Is it possible to make dll from the code of a button?

What I have tried:

I need some information around this problem.
Posted
Updated 20-Mar-21 10:23am

1 solution

Create a separate Class with your button code and compile that into a dll as explained here: Creating and Using DLL (Class Library) in C#[^]

And here is a video: How to Make & Use (.dll) files in Visual Studio | Using Class Library - YouTube[^]
 
Share this answer
 
v2
Comments
Maciej Los 21-Mar-21 6:21am    
5ed!
RickZeeland 21-Mar-21 13:53pm    
Thanks Maciej :)

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