I want to create a button on panel control and when its clicking it should work "delete" function. I thinks its doing with AddHandler but its not working. Im using Framework v.2.0. Is this a problem for this? Code is below; Bold line is getting error and the error is ;"CS1002: ; waiting"
-------------------
Button btn_sil = new Button();
btn_sil.Text = "Sil";
btn_sil.ID = "btn_sil";
pnl.Controls.Add(btn_sil);
AddHandler btn_sil.Click, addressOf delete;
&nbs ...
Go to the complete details ...