Form.Show方法(IWin32Window)和Form.Owner,如何设置所有者显示的表单?

时间:2014-03-11 05:39:33

标签: c# .net winforms

我无法访问Form.Show(IWin32Window),但我可以使用Application.OpenForms[0].Owner

如果我有Owner父窗口,如何设置IWin32Window

我将 COM DLL 模块写入应用程序,在dll中我使用 WINFORMS 库而不访问Form.Show(IWin32Window)。

我无法使用

form.Owner = this;

0 个答案:

没有答案
相关问题