I've developped a program which runs on a Windows XP computer and it has a
Windows Forms based GUI.
The problem is the following:
I run the program while I'm connected using Remote Desktop.
Everything is fine at this point.
I disconnect from Remote Desktop,without logging out, everything remains
fine.
If I reconnect from the same machine, my application keeps working perfectly
but as soon as I remotely connect from a different computer using Remote
Desktop or when I connect directly using
the Console, I get a 99% CPU usage phenomenon (my application takes up to
99% and remains at this point).

The controls used in my application are:
-ListView
-Button
-System Tray Icon

I'd like to know If someone has ever heard about such a problem.
How can I resolve it?
Thanks in advance.

Jonathan