if you know how to write an event handler:
each time you create a button datatype you can access the properties ;
for example take a look at this ;you can write this in form load:
Button b1 = new Button();
b1.Click+=new EventHandler(b1_Click)
sweet hah..? :-D :thumbsup: