I have a FileSystemWatcher that react on the Changed event.
I want to open the file, read its content display it in a textbox and hide the popup that has been create
Just wrap extendedNotifyIcon_OnHideWindow(); into a Dispatcher.Invoke()
extendedNotifyIcon_OnHideWindow();
Dispatcher.Invoke()
But I would rather do it (all im XAML) using an Animation and with an EvenTrigger that triggers upon the TimeLine.Completed event.