且构网

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

如何在打开另一个模态窗体之前关闭模态窗体

更新时间:2023-01-07 18:04:47

当Form2关闭时,控制权被传递回打开它的表格。 Form1负责从Form2中获取数据,处理Form2的实例,然后将数据传递给Form3。
When Form2 closes, control is passed back to the form that opened it. Form1 is responsible for grabbing the data from Form2, Disposing the instance of Form2, then passing the data to Form3.