表单加载事件后触发事件 [英] Event fire after Form load event

查看:151
本文介绍了表单加载事件后触发事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

在表单加载事件之后和表单显示事件之前触发哪个事件?

就像在asp.net中页面加载事件之后page_prerender事件自动触发一样,在表单中,哪个事件在表单加载事件之后和表单显示事件之前触发?

在此先感谢

Hi all

Which event is firing after the form load event and before form shown event??

Like in asp.net after page load event page_prerender event is firing automatically ,like this in forms which event is firing after form load event and before form shown event???


Thanks in advance

推荐答案

在这里说明事件在Windows Forms application中发生的顺序.
Windows窗体中的事件顺序 [
The order in which the events occurs in Windows Forms application is explained here.
Order of Events in Windows Forms[^]
As can be seen from there the Form.Activated event occurs after the Form.Load event and before the Form.Shown event.


hi,
在执行特定形式的加载事件构造函数之前,
最后, Dispose()将执行

如果找到您的解决方案,则标记为已解决
谢谢.

before the load event Constructor of that particular form will execute
and at the end Dispose() will execute

Mark as solved if got your solution
Thanks.


这篇关于表单加载事件后触发事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆