且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在VB.NET中关闭\ n隐藏表单

更新时间:2023-09-21 21:25:52

调用Hide方法: Control.Hide方法(System.Windows.Forms) [ ^ ]

如果您使用Show显示新表单,则处理它已关闭事件重新显示原件。如果您使用ShowDialog,则不需要。
Call the Hide method: Control.Hide Method (System.Windows.Forms)[^]
If you are using Show to display the new form, then handle it's Closed event to re-display the original. If you use ShowDialog, then you don't need to.