Order of Events in Windows Forms——Windows Foms 事件加载顺序
2012-12-11 10:19
639 查看
原文链接:
http://msdn.microsoft.com/en-us/library/86faxx0d.aspx
Application
Startup and Shutdown Events
ControlHandleCreated
ControlBindingContextChanged
FormLoad
ControlVisibleChanged
FormActivated
FormShown
When an application closes, the shutdown events of the main form are raised in the following order:
FormClosing
FormFormClosing
FormClosed
FormFormClosed
FormDeactivate
The ApplicationExit event of the Application class
is raised after the shutdown events of the main form.
注:如果想计算Window Form从启动到完全显示出来,可以在FormShown事件中进行处理。
http://msdn.microsoft.com/en-us/library/86faxx0d.aspx
Application
Startup and Shutdown Events
ControlHandleCreated
ControlBindingContextChanged
FormLoad
ControlVisibleChanged
FormActivated
FormShown
When an application closes, the shutdown events of the main form are raised in the following order:
FormClosing
FormFormClosing
FormClosed
FormFormClosed
FormDeactivate
The ApplicationExit event of the Application class
is raised after the shutdown events of the main form.
注:如果想计算Window Form从启动到完全显示出来,可以在FormShown事件中进行处理。
相关文章推荐
- Setting the Order of Windows in a Single Mode
- Execution Order of Event Functions, unity 3d 事件函数的执行顺序
- mouseWheel in WindowsFormsHost(鼠标滚轮事件)
- C# Windows Forms 事件处理顺序
- 《Two Dozen Short Lessons in Haskell》学习(九)- Types of Curried Forms and Higher Order Functions
- Order of Events in WebPart
- A guide to using Paneled Forms, Multi-Splash Screens, SQL Express, and many more in Windows Application Development
- Limiting To Select Only 5 Check Boxes Out Of Ten In Oracle Forms
- asp.net C#母版页和内容页事件排版加载顺序生命周期
- System.Windows.Forms.Control : Component, IOleControl, IOleObject, IOleInPlaceObject, IOleInPlaceActiveObject....
- Asp.NET页面中事件加载的先后顺序详解
- ios和安卓的input的click事件和change事件的加载顺序问题。
- In order to run a trace against SQL Server you must be a member of sysadmin fixed server role or have the ALTER TRACE permission.
- 母版页和内容页加载时事件的执行顺序
- Core OS Events in Windows 7, Part 1
- Salesforce事务执行顺序(Triggers and Order of Execution)
- Pro .NET 2.0 Windows Forms and Custom Controls in C#
- [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated c
- Create Multiple UI threads in Windows Forms applications
- 关于asp.net中页面事件加载的先后顺序