Event catching/logging

Is there anything that can be used to view events as they occur for a given class, without having to code for every event.

I want to watch the behaviour or event order of a specific dataclass, but dont want to write tons of code: for each event, write to a log.

Any ideas?

btw, I want to watch the DataGridView class.

[346 byte] By [Eric66] at [2007-12-26]
# 1

You will find all of the events for the datagridview listed here:

http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridview_members.aspx

You will have to code for those events that you want to watch

DMan1 at 2007-9-4 > top of Msdn Tech,.NET Development,.NET Base Class Library...

.NET Development

Site Classified