This exercise will guide you through the process of creating the Payment application that's described in this chapter. To make that easier for you, you'll start from an application that contains the Customer form.
Generate the event handlers for the Load event of the Customer form, for the Closing event of the form, and for the Click event of all three buttons. Then, add the global isDataSaved variable, and add the code for these events as shown in figure 10-17.