ri

ri

  • NA
  • 1
  • 0

UserControl and static attributes

Mar 8 2006 12:56 PM
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