Create a Shaped 3D Control with GDI+, Page 6
Create Shaped Controls and Forms
GDI+ permits you to extend the .NET Framework to develop some interesting graphics and controls. One still has to do some legwork, but creating shaped controls and shaped forms is significantly easier. In the future, I expect to see many more interesting applications that deviate from the standard rectilinear style.
In this article, you learned about surfacing constituent properties, using control attributes, creating custom controls and shaped controls, and how to associate a bitmap with your custom controls using the ToolboxBitmap attribute. (You may have also learned that everyone writes a few bugs, so testing is critical.) I hope you enjoy creating shaped controls and forms.
Paul Kimmel is the VB Today columnist, has written several books on .NET programming, and is a software architect. You may contact him at email@example.com if you need assistance developing software or are interested in joining the Lansing Area .NET Users Group (glugnet.org).
Copyright © 2004 by Paul Kimmel. All Rights Reserved.