QA


Q&A

Q.

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

A.

When possible, use a single timer for multiple duties. This is easy when two events occur at the same intervalwhy 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 11) to share Timer events.

Q.

What else can I do with an Image List control?

A.

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




Sams Teach Yourself Microsoft Visual C# 2005 in 24 Hours, Complete Starter Kit
Sams Teach Yourself Visual C# 2005 in 24 Hours, Complete Starter Kit
ISBN: 0672327406
EAN: 2147483647
Year: N/A
Pages: 248
Authors: James Foxall

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