Event fired when an order is closed
Posted: Tue Jul 23, 2013 9:54 am
I want to be able to register an event handler to an event that's fired when an order is closed. I currently have a couple of other event handlers in place for when an order is saved, and when the selection changes, as shown in the following c# code:
GetService<IMonitorSelection>().SelectionChanged += new EventHandler(IM_SelectionChanged);
GetService<OrderHelper>().RegisterOrderSavedHandler(OnSaved);
I dug around the documentation, and the closest thing I can find is an event for when a window is closed, but that means it'll fire for any window, not just an order's window.
Can you help direct me to the right place?
Thanks.
GetService<IMonitorSelection>().SelectionChanged += new EventHandler(IM_SelectionChanged);
GetService<OrderHelper>().RegisterOrderSavedHandler(OnSaved);
I dug around the documentation, and the closest thing I can find is an event for when a window is closed, but that means it'll fire for any window, not just an order's window.
Can you help direct me to the right place?
Thanks.