QA

   

Q&A

Q1:

What if I need a lot of timers, but I'm concerned about system resources?

A1:

When possible, use a single timer for multiple duties . This is extremely easy when two events occur at the same interval ”why bother creating a second timer? When two events occur at different intervals, you can use some decision skills along with static variables (discussed in Hour 12) to share Timer events.

Q2:

What else can I do with an Image List?

A2:

You can assign a unique picture to a node in a Tree View when the node is selected. You can also display an image in the tab of a tab page in a Tab control. There are a lot of uses, and as you learn more about advanced controls, you'll see additional opportunities for using images from an Image List.


   
Top


Sams Teach Yourself C# in 24 Hours
Sams Teach Yourself Visual Basic 2010 in 24 Hours Complete Starter Kit (Sams Teach Yourself -- Hours)
ISBN: 0672331136
EAN: 2147483647
Year: 2002
Pages: 253
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net