tags:

views:

84

answers:

3

I've found this, but it doesn't look very much complete. Also, the description in Visual Studio about the events is mostly ambiguous. I don't want to go on a trial and error rampage to find things out.

I'm particularly interested in the events related to exit/abort from a Form.

EDIT: I know events are part of the framework and not specific to Windows Forms, but I'm interested in the events Windows Forms components raise, in particular Forms themselves.

+1  A: 

Events are not just for Windows Forms. They are fundamental constructs in the CLI and have a representation in C#. Take a look at the Events Tutorial here as a starting place.

For Windows Forms, most of the events are declared on the Control class (a base class of Form). The Form class also has several of its own, as do many of the controls.

280Z28
But I want to know about especifically about the events Windows Forms expose, not about events in general.
Vinko Vrsalovic
Edited for such :)
280Z28
+1  A: 

Are you looking for something like this: MouseDown Event?

Or, better, Forms Events.

John Saunders
+2  A: 

How about this MSDN article: Order of events in Windows Forms? It lists all the events to do with application shutdown - that includes the events raised on forms when they close.

MarkJ