private void fireWindowDeactivatedEvent(unoidl.com.sun.star.lang.EventObject source) { if (WindowDeactivated != null) { try { WindowDeactivated.DynamicInvoke(this, new OoEventArgs(source)); } catch (Exception ex) { Logger.Instance.Log(LogPriority.DEBUG, this, "can't fire window deactivated event", ex); } } }
void fireWindowDeactivatedEvent(unoidl.com.sun.star.lang.EventObject Source) { if (WindowDeactivated != null) { try { WindowDeactivated.Invoke(this, new EventObjectForwarder(Source)); } catch { } } }