FlyingDiver wrote:Why do you need to know the menu dialog was displayed if the user cancels the call?
As the user is clicking around in the UI, I'm updating a dictionary in the background. When the user presses the "Save" button, that data in the dictionary will get used to update properties on a thermostat. When the user presses the "Cancel" button, I'd like to delete or maybe clear out the dictionary.
As I've thought through this more, I don't think it really matters if I clean up the dictionary. I can just initialize the dictionary the next time the UI is opened.
Thanks for the info guys.