exam questions

Exam 98-361 All Questions

View all questions & answers for the 98-361 exam

Exam 98-361 topic 1 question 105 discussion

Actual exam question from Microsoft's 98-361
Question #: 105
Topic #: 1
[All 98-361 Questions]

You are creating an application that presents the user with a Windows Form.
Which event is triggered each time the Windows Form receives focus?

  • A. Enter
  • B. Paint
  • C. Load
  • D. Activated
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
When you change the focus by using the mouse or by calling the Focus method, focus events of the Control class occur in the following order:

Enter -

GotFocus -

LostFocus -

Leave -

Validating -
Validated

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
JamieS
7 months, 2 weeks ago
A is correct. I thought it was the Activated event, but apparently not: https://docs.microsoft.com/en-us/dotnet/desktop/winforms/order-of-events-in-windows-forms?view=netframeworkdesktop-4.8 When you change the focus by using the mouse or by calling the Focus method, focus events of the Control class occur in the following order: Enter GotFocus LostFocus Leave Validating Validated
upvoted 1 times
...
itexamsmicrosoft
1 year, 3 months ago
A is correct. https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control.enter?view=net-5.0
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...