Hooking and Unhooking StateChanged

Topics: CAB & Smart Client Software Factory
Nov 18, 2005 at 2:05 PM
originally posted by: jburkholder

Anyone have a working example of hooking and unhooking a Controllers StateChanged event through a view? The EventBroker demo hooks it but does not unhook it after exiting. I cannot find a place to remove the event handler. The State property is null by the time you get into the dispose method (C#) or the Disposed Event (VB.NET).

Any help is appreciated.
Nov 18, 2005 at 2:21 PM
originally posted by: BradWilsonMSFT

You don't have to do anything. State is already disposed.