定制控件,得到一个dll,其他solution如何使用他?
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
namespace Buttonly
{
public partial class Buttonly : System.Windows.Forms.Button
{
//私有成员
Image _imageMouseFlow;
Image _imageMouseDown;
Image _imageStandard;
Image _imageEnabled;
//构造函数
public Buttonly()
{
}
//属性
[Category( "Behavior "),
Description( "鼠标无效时的图像 "),
DefaultValue( " ")]
public Image ImageUnEnabled
{
get
{
return _imageEnabled;
}
set
{
_imageEnabled = value;
}
}
[Category( "Behavior "),
Description( "无鼠标动作时的图像 "),
DefaultValue( " ")]
public Image ImageStandard
{
get
{
return &nb