Replies: 2 comments 4 replies
-
You can create a NotifyIcon by // Configure and show a notification icon in the system tray
_notifyIcon = new NotifyIcon
{
BalloonTipText = "Text",
Text = "Text",
Icon = new Icon("Path/To/Your/Icon.ico"),
Visible = true
};
_notifyIcon.ShowBalloonTip(1000); |
Beta Was this translation helpful? Give feedback.
4 replies
-
But i think this is the only way to implement a tray icon on wpf.
在 2022年6月10日,01:34,Pomian ***@***.***> 写道:
This requires UseWindowsForms to be present, it is not a WPF solution.
—
Reply to this email directly, view it on GitHub<#150 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGEGOBQBNNB7UPIFJVHWYYTVOL42TANCNFSM5UX2VPEA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does anyone know how to implement the function that minimizes the window to the tray after clicking the close icon?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions