Esempio 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);
 private static void WindowDestroyedEvent(ShellHook ShellObject, IntPtr hWnd)
 {
     WindowDestroyed?.Invoke(ShellObject, hWnd);
 }
Esempio 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);
Esempio n. 6
0
 private void WindowDestroyedEvent(ShellEventHook shellObject, IntPtr hWnd)
 {
     WindowDestroyed?.Invoke(shellObject, hWnd);
 }