Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi! I'm back again, this time with a different problem :(

 

I have recently discovered how to utilize the threading in .NET and I've seen a lot of potentials. I have created a class that fades the from in at when it loads and fades out when it closes. It worked! Then came the timer problem, but I fugured out that form timers are single threaded so they won't work, therefore system timers will be the alternative.

 

Ok... timer control replaced by another timer control worked. But what about user controls? I have created a user control that displays the time of the day, for simplicity first, i used the label control (but I have other design for this.) Now the proble is, once I use the form fading thread, the control won't update :( But if I simply load the form, the control updates :(

 

I there anything that I missed in the creation of a user control to work with multi threads? :(

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...