Skip to content

Instantly share code, notes, and snippets.

@dvhthomas
Created October 5, 2009 02:12
Show Gist options
  • Save dvhthomas/201764 to your computer and use it in GitHub Desktop.
Save dvhthomas/201764 to your computer and use it in GitHub Desktop.
private bool _isSavedAction;...
/// <summary>
/// Only handle this so that a field can be set. This is to avoid
/// the issue where ArcMap fires OnSaveEdits AND OnStopEditing events
/// when the user clicks the Save Edits button. The boolean value
/// is set back to false when the OnStopEditing event is called.
/// </summary>
private void OnSaveEdits()
{
_isSavedAction = true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment