Unit Testing


To execute the Cover Designer application:

  1. Execute the CoverDesigner.exe file. This file is located in the /bin folder of the CoverDesigner project. The Cover Designer window appears, as shown in Figure 6-5:

    click to expand: this figure shows the cover designer window when the end user executes the coverdesigner.exe file.
    Figure 6-5: The Cover Designer Window

  1. Select an image category from the Select Image Category drop-down list box. The picture boxes populate with the images corresponding to the selected image category in the Cover Designer window.

  2. Double-click an image to add the image onto the drawing control. The image drops on the lower left side of Visio drawing control, as shown in Figure 6-6:

    click to expand: this figure shows the added image on the lower-left side of the drawing control. the image counter shows the number of images on the drawing control.
    Figure 6-6: Added Image on the Drawing Control

  1. Double-click the image to add text. The image enlarges and the text area appears as, shown in Figure 6-7:

    click to expand: this figure shows the text area to add text for an image on the drawing control.
    Figure 6-7: The Text Area on the Image

  1. Right-click the image to view its information. The Image Details window appears and displays the information about the image, as shown in Figure 6-8:

    click to expand: this figure shows the information about the selected image. the information includes the image id, image category, image name, image description, and source of the image.
    Figure 6-8: The Image Details Window

  1. Press the left mouse button, draw a rectangle, and then release the mouse button to enter text anywhere in the drawing control. A rectangle, appears as shown in Figure 6-9:

    click to expand: this figure shows the text area to enter text on the drawing control.
    Figure 6-9: The Text Area

  1. Click File->Save to save the cover. The Save As dialog box appears, as shown in Figure 6-10:

    click to expand: the figure shows the save as dialog box to save the designed cover as a visio drawing with a .vsd extension.
    Figure 6-10: The Save As Dialog Box

  1. Click File->New to open a new drawing to design a new cover. The application prompts the end user to save the previous cover on the drawing control.

  2. Click File->Open to open an existing cover in the drawing control. The Open visio document dialog box appears, as shown in Figure 6-11:

    click to expand: this figure shows the open visio document dialog box to open an existing cover as a visio drawing.
    Figure 6-11: The Open Visio Document Dialog Box

  1. Click File->Print Preview to see the print preview of the designed cover. The Print preview dialog box appears, as shown in Figure 6-12:

    click to expand: the figure shows the print preview dialog box displaying the current cover along with the print options.
    Figure 6-12: The Print Preview Dialog Box

  1. Click File->Close. The application prompts the user to save the current cover menu option to close the cover.

  2. Click File->Exit to exit the application.




NET InstantCode. UML with Visio and Visual Studio .NET
NET InstantCode. UML with Visio and Visual Studio .NET
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 49

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net