
Chapter 10: Designing Silverlight Applications | 291 |
5.The MediaElement control has a Source property that you can set with the URL of a movie. Set the Source property of the MediaElement control to http://mschnlnine
.vo.llnwd.net/d1/ch9/8/3/7/0/7/4/OfficeVS10SC1_2MB_ch9.wmv, which is a video that introduces VS 2010.
6.Drag a Button from the Toolbox to the bottom row of the Window in the designer.
7.Set the Name property of the Button to StartStopButton and set the Content property of the Button to Start.
In Figure