Adding control event handlers in VS .NET 2003

G

Guest

When designing a form you place some controls on the form.
In a Visual Studio C++ project I can right click on a control to insert an
event handler.
The dialog for this lists all events for that particular control and also
which events you already have a handler for.
How do I do the same thing in C#?

Thanks, Jan
 
G

Guest

The easiest way to do so when in the form designer is to click on the little
lightning bolt icon from the Properties Tab area. This displays the available
events. From here, you can either double click on a given event name to
create a default handler, type in your own name and hit enter to create it,
or use the provided drop down box to selected an available compatible handler.

In order to get back to the properties display, simply click the icon
immediately to the left of the lightning bolt you used to get to the events.

Brendan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top