Log in

View Full Version : Update labels


Libero
10-24-2005, 12:04 PM
Hello,

I 'm working with C# in the .net Compact framework and I'm working on a PDA application. I would like to update a windows forms label at runtime, but when I do this, my PDA freezes... How can I solve this problem?

Thx

Maarten

GSmith
10-24-2005, 11:35 PM
Are you using any Timers or Threads?

Libero
10-25-2005, 07:36 AM
Yes, I've in my mainform a thread running which processes events, and one specific type of events causes the labels to update.

Strider
10-25-2005, 09:28 AM
have you read this http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dntake/html/yctiwy_multithreadingandui.asp

Libero
10-25-2005, 12:04 PM
Thx Strider for your double post (here and at www.pocketpcdn.com :D ), this solved my problem!