[英]Closing all MDI child forms on exit?
如何强制所有MDI子窗体和MDI
父窗体在退出或关闭窗口时关闭?
On exit()
use Application.Exit();
在
exit()
使用Application.Exit();
It will close all the open forms including MDI child and parent too. 它将关闭所有打开的表单,包括MDI子代和父代。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.