`
zheyiw
  • 浏览: 997444 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

C#WinForm窗体事件执行次序

    博客分类:
  • C#
C# 
阅读更多

当 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 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics