Writing Your First Add-in
Now that you have a good understanding of what steps make up the code generated by the Add-in Project Wizard, you're going to write some code that interacts with the Toolbox. To get started, follow these steps:
1. | Add a new Windows Form to your FirstAddin project and name it ToolboxTester. Change the Text property of the form to Toolbox Tester, and change the FormBorderStyle property to FixedToolWindow. |
2. | Add a Button to the form. Change the Name property to ShowToolBoxTabs and change the Text property to "Show Toolbox Tabs". |
3. | Add a ListBox control to the form and change its Name property to lb. |
4. | Add a Button to the form and change its Name property to AddToolboxItems. Change its Text property to "Add Toolbox Items" ... |
Get Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days 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.