如题,上面几个事件的先后的顺序。

解决方案 »

  1.   

    From MSDN:
    When you change the focus by using the keyboard (TAB, SHIFT+TAB, and so on), by calling the Select or SelectNextControl methods, or by setting the P:System.Windows.Forms.ContainerControl.ActiveControl property to the current form, focus events of the Control class occur in the following order: EnterGotFocusLeaveValidatingValidatedLostFocusWhen 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: EnterGotFocusLostFocusLeaveValidatingValidated