Dear All,
I want to know that how microsoft .net framework handle the name of any control.
like when we drag a textbox on a form then its name will be textbox1 and again when drag another textbox its name will be textbox2 and so on.
if we rename any textbox then framework will create the missing name like textbox2 has renamed with mytextbox now when we drag a new textbox then its name will be textbox2.
so i want to know how microsoft handle these things and what is the logic behind it.
I have my own winform and want to create , rename ,delete a control. all things will be done dynamically by programming.
I have a application. with this we can create a new control on the from . now default name of this control will be suppose mytextbox1, mytextbox2, and so on.
now user can delete or rename it. so how can i manage the name same as microsoft.
now i want to implement the functionality for name same as framework.
How should i implement this functionality in my own application
All suggestions are most welcome.
Thanks in anticipation.