In either case I guess, it's more of a state change than the raising of events.
[Updated] I think what we are both saying is that if no one has subscribed to the event (i.e., no one is listening for it), there's no point in raising it.
to my detailsview and used the code you wrote down above.
At first I put all my code in text, then I got the message it was firing the Mode Changing event which wasn't handled so I put that method back as code to use.
Information regarding the origin and location of the exception can be identified using the exception stack trace below.