public class WebUserControl1 : System.Web.UI.UserControl
public delegate void ppp(object sender, EventArgs e);
//事件显示为killBill
public event ppp killBill;
//通过label 的事件调用新事件,实现新增事件
private void lblDisplay_Click(object sender, EventArgs e)
if (killBill != null)
killBill(sender, e);
复制代码