using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms.Design;
using System.Windows.Forms;namespace WindowsFormsApplication1
{
    public class Class1 : FolderNameEditor
    {    }
}
如上,我的编译器怎么也不能继承到FolderNameEditor这个类型,该引用的System.Design.dll已经有了,
而且直接写System.Windows.Forms.Desgin.FolderNameEditor a;也不行
有大侠知道是什么问题吗???

解决方案 »

  1.   

    我刚试了,可以,不需要IO命名空间.只需导入System.Design.dll添加using System.Windows.Forms.Design;即可啊
      

  2.   

    但是我这里不行,System.Design.dll导入是怎么操作的??我添加引用的时候提示已经被引用了。
      

  3.   


    还是不行,换了个System.Design.dll再引用也不行。
    这回真头大了。
      

  4.   

    解决了,换了个system.windows.forms.dll再重新引用就好了,谢谢各位大哥帮忙!!!