In this step, you will complete and run the Scheduler for Silverlight application.
- Right-click on the application name and select Add | New Folder from the list. Name the new folder Images.
- Right-click on the Images folder and select Add | Existing Item from the list. Locate the images you would like to use for the Save and Close Button and the Cancel Appointment Button and add them to the folder.
- Select the Image control on the Save and Close Button. In the Properties window, locate the Source property. Click the ellipsis button to open the Choose Image dialog and select the image you would like to use for the Save and Close Button. Repeat this step to set the image for the Cancel Appointment Button.
- Press F5 or start debugging to run the application. The application should initially appear as follows:
- Double-click on an appointment time to open the Edit Appointment dialog box:
What You've Accomplished:
You created a C1Scheduler control and a custom Edit Appointment dialog box. You created data bindings for the Edit Appointment dialog box fields and added images to the dialog buttons.