void InvokeEventOnRequireMenuUpdate(object sender, EventArgs args) { try { OnRequireMenuUpdate?.Invoke(this, EventArgs.Empty); } catch { } }
void InvokeEventOnRequireMenuUpdateIgnoreError() { try { OnRequireMenuUpdate?.Invoke(this, EventArgs.Empty); } catch { // do not hurt me. } }
void InvokeEventOnRequireMenuUpdate() { OnRequireMenuUpdate?.Invoke(this, EventArgs.Empty); }