Where are the events in c# Visual Studio

D

damiensawyer

Hi all,

This might be a stupid question, but where are events in C# VS2008?
Let's say I have a class that inherits from System.Web.UI.Page. How do
I get VS2008 to a/ show me a list of the events for that base class
and b/ implement them?

Thanks very much in advance,


Damien
 
J

Jon Skeet [C# MVP]

This might be a stupid question, but where are events in C# VS2008?
Let's say I have a class that inherits from System.Web.UI.Page. How do
I get VS2008 to a/ show me a list of the events for that base class
and b/ implement them?

Thanks very much in advance,

In the Properties window, click on the lightning bolt icon and you'll
see the events. Type a name in as the value for any particular event
and it will add an event handler for you (and create the method).

Jon
 

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

Similar Threads


Top