0
Answer

UserControl and static attributes

ri

ri

18y
1.7k
1
Hi. I would like to develope a ClassLib with some UserControls (UserControl1, Usercontrol2...).
In each UserControl there are some textbox inside (tb1, tb2...).
Each textbox is linked with a static attribute (s1, s2...) in a class of ClassLib called Parameters.
When I put one of the UseControl of my ClassLib in a new application, I am able to access directely to each static string attribute s1,s2.... by any Form I need for my new application.
The problem is: How can I force new name of the attributes (eg: s1=name, s2=city)? Thanks