Which one of the following
statements represents the correct syntax to associate an event handler with a
UI element?
1. <ControlName>.<EventName>+=<EventHandlerName>;
2. <ControlName>(<EventName>)+=<EventHandlerName>;
3. <EventHandlerName>=<ControlName>.<EventName>;
4. <EventHandlerName>=<ControlName>(<EventName>);
Solution:
1. <ControlName>.<EventName>+=<EventHandlerName>;
No comments:
Post a Comment