This sample program demonstrates how to subclass a form using VB’s AddressOf operator.