Click to See Complete Forum and Search --> : reguarding dynamic controls creation.


rajanikumar922
August 11th, 2005, 02:02 AM
Hi,

I had created dynamic button in a dll.

After that, I added that dll in my toolbox. And I drag and droped on to my new form.

If I want to handle click event in this form(how can I handle?). Is it possible. If possible please send some guide lines or an example.

Thanking you very much.

jhammer
August 11th, 2005, 03:21 AM
First of all - You can.

Every control in .NET supports the Click event.
Right-click on the button in the designer, select Properties, select Events (a little button above the properties grid), and then double-click on Click.