Review Questions

1. Why should you create a variable for a CommandBarButton at the class level?

2. How do you add a bitmap to a CommandBarButton?

3. How do you create a mask for your bitmap, and what functionality does the mask provide?

4. What advantages are there in creating a user control when you're designing your solution's UI?

5. What are some reasons you might choose to add controls to a document at run time instead of design time?

6. How do controls that are created dynamically at run time get persisted with a document?

7. How does the AddControl helper method differ from all the other helper methods available for adding Windows Forms controls to a document?

0 0

Post a comment