Skip to content

Conversation

@LeeCPriest
Copy link

This pull request solves a null Application.Current error when using Notification.Wpf in a WPF class library, but hosted in a non-WPF application (such as a WinForms application)

To fix this, the overlay window object (or "ToastWindow") is passed to Close method. Additionally, added a check for a null Application.Current property before attempting to get Window object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant