开发者

C# - Tray Notification Windows

开发者 https://www.devze.com 2023-03-15 23:08 出处:网络
Could someone point me in the right direction, for Tray Notification Windows, similar to the example 开发者_StackOverflow中文版below:

Could someone point me in the right direction, for Tray Notification Windows, similar to the example 开发者_StackOverflow中文版below:

C# - Tray Notification Windows


There's a simple interface to the notification tray called NotifyIcon in WinForms.

Once you can grab its events (Clicked, DoubleClicked, etc.) you can pick whether you want to show a context-menu or a form.

As noted by schlingel, in the example you provided is a custom form without a window border, drawn right next to the notification tray.


Do you use Winforms? If so use a standard form without border (FormBorderStyle None) and draw it yourself.

0

精彩评论

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