Thank you but I think you are not getting the point. The class where that code is, is being used at many different projects, each of them with a different assembly. And I want to figure out a way of doing it in C#, because the VB one works perfectly. Of course, this is just a very simple one...
In VB.Net, I have a module that I use for all my projects. I just add it as a link to the project and any changes are then compiled in any project that uses it.
In that module there is a sub that assigns the icon to the form, which is passed as parameter.
Public Sub CommonProcedures(ByRef...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.