【发布时间】:2017-04-20 12:46:20
【问题描述】:
【问题讨论】:
-
如何打开新表单?
-
使用
Form.Show()代替Form.ShowDialog()? -
childForm.Visible 或 ChildForm.Show 或 childForm.ShowDialog
-
@MatthewWatson - Form.Show 的结果也相同。我不希望父表单被停用。即父表单看起来像是被禁用并在子表单关闭后再次激活。
-
你可以做的最好的可能是showing the new window without stealing focus,但是新的窗口不会被聚焦。这就是 Windows(以及 Linux、Mac 等)的工作原理。