表单激活事件 [英] Form Activated event

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

问题描述

你好


我想在从此表单打开的对话框关闭时触发表单激活事件.但是当我们关闭对话框时,我的from激活的事件没有被触发.请告诉解决方案.


在此先感谢...

Hello


I want to fire form activate event on closing of dialog box which is open from this form. but when we close dialog box my from''s activated event not getting fired. please tell the solution.


thanks in advance...

推荐答案

这是我尝试的时间.
关闭对话框时焦点会移到表单上吗?
您是否使用Show()或ShowDialog()显示对话框?
It is when I try it.
Does the focus go to the form when you close the dialog?
Do you show the dialog with Show() or ShowDialog()?


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

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