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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only