After you’ve added code to the different events, you are then ready to connect the Property Page to your control. This is done by double-clicking the UserDocument in the Project window. Doing this will bring up the properties for the UserDocument in the Properties window. In the Properties window, select the PropertyPages property, and then click the button (with an ellipsis) that appears. This will bring up the Connect Property Pages dialog box.