我的程序集已经添加了可是还报以下错误:
Error 2 The type 'System.Windows.Forms.UserControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\Documents and Settings\Administrator\桌面\新建文件夹\Pump\Pump\Control1.Designer.cs 259
可能引用的程序集的版本不对吧。
是不是程序集引用完就把原程序集删除了
“... that is not referenced.”,程序集没有引用,是不是你添加了,但是忘了写 Using ...
右键你的项目重新添加System.Windows.Forms的引用试试...