void m_editEvents_OnStartEditing() { // only show the license alert during a session of ArcMap once if (testEditorContentforOSMLicense() && m_LicenseAlertShownOnce == false) { LicenseAlertDialog osmLicenseAlert = new LicenseAlertDialog(); // show the alert about the license and remind the user about the nature of the OSM data if (osmLicenseAlert.ShowDialog() != DialogResult.OK) { // if the user doesn't aggree with the statement, end the edit session m_editor3.StopEditing(false); } m_LicenseAlertShownOnce = true; } // acquire an exclusive lock on the revision table as well for the current workspace as well }