I am trying to update some outlook appointment item data (Subject and location to be specific) just before the inspector closes.
From this thread I found out that the closing event sequence is:
- checks the status of the underlying item to see if it needs saving or not
- if yes does the write
- then calls the form region close handler
I need to get some code running before step 1 executes.
The only events I know of around this region is OutlookFormRegion.Close, but this is already too late step 1 and 2 have already passed by then.
The formregion (A C# form with a C# usercontrol) itself does also not fire an event before this modification check.
In essence I am looking for the closing event instead of the closed