原文链接:
http://msdn.microsoft.com/en-us/library/86faxx0d.aspx
When an application closes, the shutdown events of the main form are raised in the following order:
The ApplicationExit event of the Application class is raised after the shutdown events of the main form.
注:如果想计算Window Form从启动到完全显示出来,可以在FormShown事件中进行处理。