Forum

C#, WPF NotifyIcon,...
 
Notifications
Clear all

C#, WPF NotifyIcon, example

1 Posty
1 Users
0 Reactions
1,237 Widok
0
Topic starter

how to init

1 Answer
0
Topic starter

Add icon to resources (project – properties – resources – add icon )

            TaskbarIcon tb = new TaskbarIcon();
            tb.ToolTipText = "Test test test";
            tb.Icon = (Icon)Properties.Resources.my_icon_from_resources;

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: