« Return to Thread: System.Timer, Thread and notification icon.

System.Timer, Thread and notification icon.

by lordphoenix-3 :: Rate this Message:

Reply to Author | View in Thread

Hi all,
I'm working on an notification application as client for a web
application. I'm using System.Timer to make verification at precise
interval. I would like to change notification icon according to result
of verification but I've some thread problem when I try to get acess to
interface element from Elapsed method of Timer.
According to MSDNĀ documentation I must put an element of interface in
property SynchronizingObject of timer. They give WindowsForm as example
but of course I don't have one as I'm using Gtk.

So I really don't know what to do if someone could have any idea it
would be helpful.
If you want see the code you will find it here
http://svn.codingteam.net/ttnotify/trunk/tt-notify/Main.cs

PSĀ : Sorry for my bad English I'm French and I don't speak it very
often.


_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

signature.asc (204 bytes) Download Attachment

 « Return to Thread: System.Timer, Thread and notification icon.