如果你这样:dlg.Show();……dlg.Close();可以。 但这样dlg.ShowModal();……dlg.Close();则没用,因为会阻塞。
C#如何关闭对话框
最新推荐文章于 2024-01-19 11:04:48 发布
如果你这样:dlg.Show();……dlg.Close();可以。 但这样dlg.ShowModal();……dlg.Close();则没用,因为会阻塞。