Forum

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

C#, WPF NotifyIcon, example

   RSS

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: