Testing the OutlookBar Control
Testing the final control is a victory that should be savored. The various controls, components, and designers for the OutlookBar control and its related controls demonstrate the basic requirements for creating custom controls for Windows Forms. Figure 9.3 shows the test application displaying a MessageBox indicating which item was clicked on.
Figure 9.3. The OutlookBar client.
To test the OutlookBar control, compile the solution containing all the code developed thus far. This will result in the dll SAMS.ToolKit.dll being created. This dll houses all the components, controls, and designers developed to this point. ...
Get .NET Windows® Forms Custom Controls 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.