窗体加载顺序

    技术2025-03-24  14

    1,窗体启动时:

    Control.HandleCreated Control.BindingContextChanged Form.Load Control.VisibleChanged Form.Activated Form.Shown

     

    2,窗体关闭时: Form.Closing Form.FormClosing Form.Closed Form.FormClosed Form.Deactivate

     

    3,控件焦点与验证事件:

    Enter GotFocus Leave Validating Validated LostFocus

     

    4,使用鼠标:

    Enter GotFocus LostFocus Leave Validating Validated

    最新回复(0)