/// <summary> /// Called when [cancel add new]. /// </summary> public void OnCancelAddNew() { if (!SuppressEntityEvents) { CancelAddNewEventHandler handler = CancelAddNew; if (handler != null) { handler(this, EventArgs.Empty); } } }
public void OnCancelAddNew() { if (!base.SuppressEntityEvents) { CancelAddNewEventHandler cancelAddNew = this.CancelAddNew; if (cancelAddNew != null) { cancelAddNew(this, EventArgs.Empty); } } }