internal ShapeValidationFailedEventArgs(_DMapEvents_ShapeValidationFailedEvent args) { _args = args; if (args == null) { throw new NullReferenceException("Internal reference is null."); } }
private void _map_ShapeValidationFailed(object sender, _DMapEvents_ShapeValidationFailedEvent e) { Events.MapControl_Error error = new Events.MapControl_Error() { ErrorCode = Events.ErrorCodes.ShapeInvalid, InMethod = "_map_ShapeValidationFailed", AxMapError = e.errorMessage }; On_Error(error); }
private void MapShapeValidationFailed(object sender, _DMapEvents_ShapeValidationFailedEvent e) { Invoke(sender, ShapeValidationFailed, new ShapeValidationFailedEventArgs(e)); }
static void _map_ShapeValidationFailed(object sender, _DMapEvents_ShapeValidationFailedEvent e) { MessageBox.Show("Validation failed: " + e.errorMessage); }