Creating Image References

Drag and drop an image from your workspace onto controls that support image references, or use the Images dialog to create new, user-defined image references to associate with controls.

  1. Right-click in any page (except Introduction) of the Device Application Designer and select Image References.
  2. In the Image References dialog, click New.
  3. In the Images dialog, select the location of the image, and click Browse:
    • Workspace – brings up a file selection dialog that shows only the projects and folders of your current workspace. This is useful for source code control versions since the images always have the same relative path in the same projects as the Device Application Designer.
      Note: This option is not supported for the Windows Mobile platform.
    • Desktop – brings up the desktop file selection so you can select any file on your machine.

    The File field is filled in automatically based on the file you select. This name is the reference point for the image from the code.

  4. In Name, the name of the image file you selected is filled in by default. You can enter a different name to be used internally for the image.
    Note: Image names must be unique.
  5. (Optional) In Description, enter a description for the image.
  6. Click OK.