Software Development Fundamentals — Question 40
You are creating an application that presents the user with a Windows Form.
Which event is triggered each time the Windows Form receives focus?
Answer options
- A. Enter
- B. Paint
- C. Load
- D. Activated
Correct answer: A
Explanation
The 'Enter' event is specifically designed to be triggered when a control or form receives focus, making it the correct choice. The 'Paint' event occurs when a control needs to be redrawn, while the 'Load' event pertains to the initialization phase of a form. The 'Activated' event is related to the form becoming the active window but does not occur solely when focus is received.