开发者

Sequence of events and all hooks made available in System.Windows.Forms

Is there any explanation of the sequence of events that occurs in the creation, manipulation, and closing of System.Windows.Forms's various forms and components? Is there an explana开发者_JAVA技巧tion of all possible hooks that I can override and the order they are called in and what happens in between their calling?

I've run into so many avoidable problems because I don't have a good understanding of what's going on under the hood here.


Opening and closing an empty form under Runtime Flow monitoring produces the following sequence of On* calls:

Sequence of events and all hooks made available in System.Windows.Forms

Typing "1" in a text box and pressing "Tab" to a button:

Sequence of events and all hooks made available in System.Windows.Forms

Closing a form with a text box and a button:

Sequence of events and all hooks made available in System.Windows.Forms


Try these sources:

Windows Forms Lifecycle

Basic-events-in-the-Lifecycle-of-Forms-and-Controls

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜