摘要:
写了一个组合控件,是一个按钮。public class Button : System.Web.UI.WebControls.Button有一个属性原先是这么写的 private EnumButtonType _buttontype = EnumButtonType.Add; /// <summary> /// 设置按钮类型 /// </summary> public EnumButtonType ButtonType { get { return _buttontype; } set { _buttontype = value; } }在运行过程中,后台代码把这个属性 阅读全文