开发者

How do I show a toast notification from a WPF application?

开发者 https://www.devze.com 2023-03-25 18:00 出处:网络
I am building a WPF 4 applicati开发者_如何学编程on and I want to display a message in a nicely formatted box in a separate window in the bottom righthand corner of the screen.

I am building a WPF 4 applicati开发者_如何学编程on and I want to display a message in a nicely formatted box in a separate window in the bottom righthand corner of the screen.

I really like the popup that Evernote has whenever the application syncs with the main server.

How do I do this?

Do I just create a new window in my application and new up window displaying my message and then use a timer to close it, or is there a better way?


I have found this solution to be wonderful for my applications:

http://www.hardcodet.net/projects/wpf-notifyicon

Basically, this guy created a whole system to do what you are asking for and more.

0

精彩评论

暂无评论...
验证码 换一张
取 消