Summary

We started this chapter with a look at adding buttons to Word and Excel toolbars and menus, and we showed you how to add your own custom graphics to be used on the buttons. Next, you learned about the controls that are available on the Toolbox when a Windows Form is the designer and when a document or worksheet is the designer, and which controls are filtered from use on a document at design time.

We then looked at adding controls to a Windows Form so that you can display a UI in the form of a dialog box, and you saw how you can reuse the controls on the task pane. Finally, we explored the use of controls on a Word document or Excel worksheet, and you learned how to add these controls at design time, bind them to data, and create them dynamically at run time.

0 0

Post a comment