zoukankan      html  css  js  c++  java
  • C#打开关闭窗体事件顺序

    应用程序启动与关闭事件 Form 和 Control 类和应用程序启动与关闭有关的时间。
       

       当 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

  • 相关阅读:
    GO开发[一]:golang语言初探
    Python带参数的装饰器
    Python函数篇
    19. logging模块
    18. json模块
    17. os模块
    16. sys模块
    15. random模块
    14. 模块-time模块
    29. java面向对象项目
  • 原文地址:https://www.cnblogs.com/renfeng/p/3635607.html
Copyright © 2011-2022 走看看