我在我的WindowsForm应用程序中添加了一个名为novoLogin的新WPF窗口。
添加后,我添加了system.xaml引用......调试正常。
现在我正在尝试从现有的WindowsForm中打开这个新窗口。
novoLogin nl = new novoLogin();
nl.show();
编译器给出以下错误提示:“错误1 'WindowsFormsApplication1.novoLogin'不包含名称为'show'的定义,且没有接受类型为'WindowsFormsApplication1.novoLogin'的第一个参数的扩展方法'show'可以被找到(是否缺少using指令或程序集引用?)”