string text = "Yeah, you clicked the button!";
EventHandler handler =delegate(object dlgSender, EventArgs dlgE)
{
Response.Write(text);
};
this.Button1.Click += handler;
EventHandler handler =delegate(object dlgSender, EventArgs dlgE)
{
Response.Write(text);
};
this.Button1.Click += handler;