Ejemplo n.º 1
0
 private void InnerForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     windowDestroyEvent.Set();
     WindowDestroyed?.Invoke(this, new EventArgs());
 }
 /// <summary>
 /// Raises the WindowDestroyed event.
 /// </summary>
 /// <param name="window">The window that is being destroyed.</param>
 protected void OnWindowDestroyed(IUltravioletWindow window) =>
 WindowDestroyed?.Invoke(window);
Ejemplo n.º 3
0
 private static void WindowDestroyedEvent(ShellHook ShellObject, IntPtr hWnd)
 {
     WindowDestroyed?.Invoke(ShellObject, hWnd);
 }
Ejemplo n.º 4
0
 private void HandleWindowRemove(WindowsWindow window)
 {
     WindowDestroyed?.Invoke(window);
 }
 /// <summary>
 /// Raises the WindowDestroyed event.
 /// </summary>
 /// <param name="window">The window that is being destroyed.</param>
 private void OnWindowDestroyed(IUltravioletWindow window) =>
 WindowDestroyed?.Invoke(window);
Ejemplo n.º 6
0
 private void WindowDestroyedEvent(ShellEventHook shellObject, IntPtr hWnd)
 {
     WindowDestroyed?.Invoke(shellObject, hWnd);
 }