private void fireDisposingEvent(unoidl.com.sun.star.lang.EventObject source) { if (Disposing != null) { try { Disposing.DynamicInvoke(this, new OoEventArgs(source)); } catch (Exception ex) { Logger.Instance.Log(LogPriority.DEBUG, this, "can't fire disposing event", ex); } } }
void fireDisposingEvent() { if (Disposing != null) { try { Disposing.DynamicInvoke(this, null); } catch { } } }