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); }
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);
private void WindowDestroyedEvent(ShellEventHook shellObject, IntPtr hWnd) { WindowDestroyed?.Invoke(shellObject, hWnd); }