G
Guest
Hi,
I'm new to C# and .NET. I'm a first time user of Visual C# 2005 Express and
have a very basic question. I've looked at several links and lots of docs but
can't find any tips on naming multiple controls used for the same purpose on
different Forms.
Specifically, I have several identical TextBox controls each on a different
TabPage. The textboxes display the same variable content on each TabPage. An
example might be display of name and ssn on each page of a personnel form. Is
there a naming convention for naming each TextBox control? I assumed the
container name could be used but I see that is a no-no. Of course, txtName1,
txtName2 is possible but isn't very meaningful.
Also, I don't like to waste others time so if there is a more appropriate
forum/NG for us C# newbies, a link will be appreciated.
Thanks for the help and and Best Regards,
Sturdy
I'm new to C# and .NET. I'm a first time user of Visual C# 2005 Express and
have a very basic question. I've looked at several links and lots of docs but
can't find any tips on naming multiple controls used for the same purpose on
different Forms.
Specifically, I have several identical TextBox controls each on a different
TabPage. The textboxes display the same variable content on each TabPage. An
example might be display of name and ssn on each page of a personnel form. Is
there a naming convention for naming each TextBox control? I assumed the
container name could be used but I see that is a no-no. Of course, txtName1,
txtName2 is possible but isn't very meaningful.
Also, I don't like to waste others time so if there is a more appropriate
forum/NG for us C# newbies, a link will be appreciated.
Thanks for the help and and Best Regards,
Sturdy