我如何从wpf窗口调用winform

时间:2013-11-27 04:29:01

标签: c# wpf winforms

这是wpf窗口中调用两个winform的代码:

(new TWSMIS.Customer.New_CustomerF()).Show();
(new TWSMIS.Voucher.Create_Dv_VouchersF()).Show();

此处项目名称为“TWSMIS”文件夹名称分别为“Customer”和“Voucher”。在此代码中,只有第一行给出错误:" The type or namespace name 'New_CustomerF' does not exist in the namespace 'TWSMIS.Customer' (are you missing an assembly reference?) C:\Users\SKJ\Documents\Visual Studio 2012\Projects\TWSMIS\TWSMIS\HomePage.xaml.cs"第二行正确执行。可以告诉我如何纠正这个错误?

0 个答案:

没有答案