摘要:1、mp3文件作为项目资源添加到Resources文件夹2、 StreamResourceInfo resourceStream =Application.GetResourceStream(new Uri ("/SilverlightApplication1;component/Resources/u.mp3", UriKind.Relative)); MediaElement me = new MediaElement(); me.SetSource(resourceStream.Stream); LayoutRoot.Children.Add(me);/Silverl
阅读全文
随笔分类 - Silverlight