Hallo ich habe ein Problem mit dem Icon in der Taskleiste.
Momentan verwende ich folgenden Code:
C#-Quelltext
1: 2:
| this.notifyIcontray.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcontray_MouseDoubleClick_1); this.notifyIcontray.MouseClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcontray_MouseClick); |
Bei EINEM Klick auf das Icon wird
notifyIcontray_MouseClick
ausgeführt.
Und bei einem DOPPEl Klick auf das Icon müsste eigentlich
notifyIcontray_MouseDoubleClick_1
ausgefürt werden, allerdings wird dann
notifyIcontray_MouseClick
ausgeführt, sprich als wenn man nur einmal auf das Icon klickt.
Woran kann das liegen oder gibt es da einen Trick?