I wrote some code to capture the user's selected values before changing them. Thus, allowing the changes to be restored to the previous values.
The problem I ran into was that my click event from the contextmenu is called multiple times. This wipes out the true previous values. I could just add a flag at the beginning of the event, but I was wondering if there was a better way to approach this? why is this click event called multiple times on a single click?
Line 11. _lastGridChange saves the values before they are updated
Setting up the ContextMenu Options