订单的事件“Form.Load”,“Form.Shown”,并在Windows窗体“Form.Activated”并在、窗体、订单、事件

由网友(丈母娘,你能不能快点发货)分享简介:之间的形式 Form.Load 的区别是什么, Form.Shown 和Form.Activated事件?什么是他们被解雇的顺序?What is the difference between form Form.Load, Form.Shown and Form.Activated events? What is t...

之间的形式 Form.Load 的区别是什么, Form.Shown 和Form.Activated事件?什么是他们被解雇的顺序?

What is the difference between form Form.Load, Form.Shown and Form.Activated events? What is the order in which they are fired?

推荐答案

此外,Form.Activate事件可以发射多次。例如,如果您从表单打开一个消息框,当您单击消息框的任何按钮,返回到形式,Form.Activate被激发。这同样适用于任何其它对话框如FileOpenDialog

Moreover, Form.Activate event can be fired multiple times. For example, if you open a message box from your form, and when you click on the messagebox's any button, and return back to the form, Form.Activate is fired. The same is true for any other dialog box such as FileOpenDialog.

阅读全文

相关推荐

最新文章