Exemplo n.º 1
0
 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 { }
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Handles the message.
 /// </summary>
 /// <param name="message">The message.</param>
 public void Handle(WindowMinimized message)
 {
     this.WindowMinimized = true;
 }
Exemplo n.º 4
0
 ///<summary>Invokes registered user-defined handler methods when the native window is minimized.</summary>
 internal void OnMinimized()
 {
     WindowMinimized?.Invoke(this, EventArgs.Empty);
 }