Monday, October 14, 2013

Custom Shape Control VB. NET

Indonesian Version Available Below (After The English Version)

This time we will try to create a "Custom Shape Area" control. This example is only a small part of the original application, which is a Shopping Mall floor-plan. In the original application, the user can view a map of a floor and click at a shop (the shops are shaped like the original, which is why a custom shape control is required), to view info about the shop.

I found the idea of this "Custom Shape Area" control on an Article in CodeProject that explains about making a VB6 circle shaped control  (in VB. NET, this circle control is no longer provided in the toolbox).

We will start this example by simple shapes such as Ellipse and Rectangle, and after that we will talk about the custom shape control (using polygons).