private void fireWindowMinimizedEvent(unoidl.com.sun.star.lang.EventObject source) { if (WindowMinimized != null) { try { WindowMinimized.DynamicInvoke(this, new OoEventArgs(source)); } catch (Exception ex) { Logger.Instance.Log(LogPriority.DEBUG, this, "can't fire window minimized event", ex); } } }
void fireWindowMinimizedEvent(unoidl.com.sun.star.lang.EventObject Source) { if (WindowMinimized != null) { try { WindowMinimized.Invoke(this, new EventObjectForwarder(Source)); } catch { } } }
/// <summary> /// Handles the message. /// </summary> /// <param name="message">The message.</param> public void Handle(WindowMinimized message) { this.WindowMinimized = true; }
///<summary>Invokes registered user-defined handler methods when the native window is minimized.</summary> internal void OnMinimized() { WindowMinimized?.Invoke(this, EventArgs.Empty); }