Few my control are subclassed for getting better overal result of my programs. Those subclases inherits from original NET controls. I have it under my Toolbox in VB.NET ide. Assuming I uses it in Project1 Form designer places it in form like so:
Me.btn_OK = New Project1.xButton()
After that I create one new project: Project2 and add those subclasses like files "as a link" into those new project. In order to getting it to work I have do delete "Project1." from its name. When I compile that project new definiton appears:
Me.btn_OK = New Project2.xButton()
This also works good but no more for Project1 where I have to delete "Project2." again to get it work.
Is here something I can do that VB.NET may leave such assignment:
Me.btn_OK = New xButton()
what will let me to use same subclass file in both (or more) projects? Any other related advice will be welcome.
Add as Link
. Not sure if that is what you are asking