/// <summary> /// Raises the closing event. /// </summary> public void OnClosing(Window widget, CancelEventArgs e) { widget.Platform.Invoke(() => widget.OnClosing(e)); }
/// <summary> /// Raises the closing event. /// </summary> public void OnClosing(Window widget, CancelEventArgs e) { using (widget.Platform.Context) widget.OnClosing(e); }