create buttons dynamically
I've searched around a lot, but I can't find how to create buttons dynamically. I can create a new button and place it somewhere on the form, but I have problems with the event handler when I click the button. Can anyone help?
Thanks.