Now that we have developed all the code required to open the Transfer Cost window, we can now launch this functionality. But first, we have to add a few lines to the application import file, which can be seen in Figure 22-11.
When the import file has been changed to include the new classes shown in Figure 22-11, we can run the VMS Motors application to see how the new Transfer Cost window would appear. Figure 22-12 shows the appearance of the Transfer Cost window after the user has selected the Transfer Cost MenuItem from the Stock menu.
Figure 22-10. Additional code required for VMSSheetManager.open-sheet.
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| || Method: open-sheet || Purpose: This opens all application sheets ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ...