Visual Studio Development Bookmark and Share   
 index > Visual C# Express Edition > timer with picturebox
 

timer with picturebox

hi 
i want to change image in picturebox every 20 sec what can i do  ? use backgroundworker or timer ? 
Daniel_Programmer  Saturday, October 10, 2009 9:09 AM
Since the load time of the image will (should) be very fast, especially compared to the wait time of 20 seconds, a System.Windows.Forms.Timer should work well and be easy to use.

The BackgroundWorker is geared for doing activity in the background is going to consume a lot of time.  When a task is very fast, such as loading an image, the user is not going to be able to tell that it is not really running in the background with the Timer.
BinaryCoder  Saturday, October 10, 2009 1:38 PM
Since the load time of the image will (should) be very fast, especially compared to the wait time of 20 seconds, a System.Windows.Forms.Timer should work well and be easy to use.

The BackgroundWorker is geared for doing activity in the background is going to consume a lot of time.  When a task is very fast, such as loading an image, the user is not going to be able to tell that it is not really running in the background with the Timer.
BinaryCoder  Saturday, October 10, 2009 1:38 PM

You can use google to search for other answers

Custom Search

More Threads

• How do you change the window icon in VS2008 express?
• Help with arraylist?
• Creating Open - Save File menu
• How do I delete a program in Visual C# Express Edition?
• Crystal Reports: Formatting ITextObject; specifically angle rotation
• Flash Movie
• need to know
• about directories
• Complete Newb Question - PLEASE HELP!!
• Can I pull part of the subject of an e-mail from a textbox?