Click properties for buttons

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Hi,

I added a button to my window form, and in my code I added a
method to be activated as soon as the button has been
pressed. ("event")

So, if I visit the properties window of my just added
button, and click on the Click prop I expect to see a list
of methods to be associated with the button click event, but
the list remains empty.

Any idea why ??

Do I have to add delegates and events manually before ...

Thanks,
Chris
 
You need to double click on the property grid in the field where you expect
to see your event handlers to generate an event handler automatically. Of
course, you may subscribe event handlers manually.
 
Back
Top