码迷,mamicode.com
首页 > Windows程序 > 详细

C#WinForm窗体事件执行次序

时间:2014-11-25 14:24:35      阅读:297      评论:0      收藏:0      [点我收藏+]

标签:winform   style   color   os   sp   for   on   cti   bs   

当 Windows Form 应用程序启动时,会以下列顺序引发主要表单的启动事件:         System.Windows.Forms.Control.HandleCreated         System.Windows.Forms.Control.BindingContextChanged         System.Windows.Forms.Form.Load         System.Windows.Forms.Control.VisibleChanged         System.Windows.Forms.Form.Activated        System.Windows.Forms.Form.Shown

当应用程序关闭时,会以下列顺序引发主要表单的关闭事件:                  System.Windows.Forms.Form.Closing         System.Windows.Forms.Form.FormClosing         System.Windows.Forms.Form.Closed         System.Windows.Forms.Form.FormClosed         System.Windows.Forms.Form.Deactivate

C#WinForm窗体事件执行次序

标签:winform   style   color   os   sp   for   on   cti   bs   

原文地址:http://www.cnblogs.com/armyfai/p/4120818.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!