I want to build my own class based on the grid control.
I don't know how many columns it will have, but I do know the controls in each column will be textboxes. How can I add events to the textboxes in the class designer mode (click and keypress events)? Because in the designer mode if i leave the columnscount property to -1, so leting the user to set it, i have no other controls in the container. Another way I can put this question. How can I add a code to the methods of the controls that I know will be added at run time!
Hope I could make you understand want I want,
Please let me know if you have a solution.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement