Hello,
Help!
J'ai un service windows et je veux que pendant son fonctionement il s'affiche une icône dans la barre des tâches.
Donc, j'ai écrit le code suivant:
mais je ne vois rien dans la barre des tâches quand je reprends mon service
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 protected override void OnContinue() { NotifyIcon notifyIcon1 = new NotifyIcon(); notifyIcon1.Icon = new System.Drawing.Icon (@"C:\service\service.ico"); notifyIcon1.Visible = true; notifyIcon1.Text = "Service icône"; //...........![]()
si qqn pourrait m'aider, je serais très![]()
Partager