Vb net validating close form
In the previous sections, you learned how to combine Windows controls, components, and code into reusable composite controls.
Your composite control can now be used as a base upon which other controls can be built.
This visual interface is implemented by the addition of one or more Windows controls to the designer surface.
In the following demonstration, you will incorporate Windows controls into your composite control and write code to implement functionality.
Composite controls can be placed on Windows Forms in the same manner as other controls.In the first part of this walkthrough, you create a simple composite control called Note The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition.