private void App_SecondInstanceStarted(object sender, EventArgs e) { dispatcher.Invoke(() => RequestBringToFront?.Invoke(this, EventArgs.Empty)); }
private void ToastActivated(ToastNotification sender, object e) { dispatcher.Invoke(() => RequestBringToFront?.Invoke(this, EventArgs.Empty)); }