我在程序中引用了一个*.OCX,VS就自动在引用里面就多出来一个*.dll文件的引用. 做了一个控件,本想继承他的一切(包含他的LP),但没想到做出来的控件不能被引用,提示"c:\xxx\xxxx\*.dll中没有可放置在工具箱上的组件",请高人指个道. 控件代码如下: using System; using System.Collections.Generic; using System.Text; using QRMAKERLib; namespace WindowsControlLibrary2 { public class Mybutton : QRMAKERLib.QRmakerClass { private string myPro; public string MyPro { get { return myPro; } set { myPro = value; } } } }
做了一个控件,本想继承他的一切(包含他的LP),但没想到做出来的控件不能被引用,提示"c:\xxx\xxxx\*.dll中没有可放置在工具箱上的组件",请高人指个道.
控件代码如下:
using System;
using System.Collections.Generic;
using System.Text;
using QRMAKERLib;
namespace WindowsControlLibrary2
{
public class Mybutton : QRMAKERLib.QRmakerClass
{
private string myPro;
public string MyPro
{
get { return myPro; }
set { myPro = value; }
}
}
}