المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Event Handling



C# Programming
06-03-2009, 12:00 PM
Hey
Ok so I am making a program with mutliple textboxes and what I want to do is when the textbox_enter event occurs it changes some properties of that textbox but i dont wanna make 20 textbox_enter events for each textbox. What is the code to mainstream it so for every textbox goes through the same event handler? And also in the event how do i select the textbox which started the event. E.g I know this. is used to select the current form. Is there a *****alent keyword for the element of the form being used?

Thanks in advance! :D