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 11) to share Timer events. |
Q2: | What else can I do with an Image List control? |
A2: | 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 a lot of uses, and as you learn more about advanced controls, you'll see additional opportunities for using images from an Image ... |
Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.