上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 45 下一页
摘要: 几天发现MediaElement播放不了wav格式的音频文件,在网上找到一篇解决的文章:http://www.cnblogs.com/rupeng/archive/2011/02/20/1959360.html本节学习Silverlight音频和视频,其中视频的时间线标记个人觉得很有用,我们可以在播放视频前,想在视频某个地方加入自己的东西(文本或动画、视频。。。)。可以用到TimelineMarker,加入时间线,当播放放到时间线时利用OnMarkerReached时间获取时间线来触发我们需要的操作(文本或动画、视频。。)(1)前台代码<UserControl x:Class=" 阅读全文
posted @ 2011-06-01 14:48 焦涛 阅读(828) 评论(0) 推荐(0)
摘要: <UserControl x:Class="SharpStudy.GeometryDemo" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schema 阅读全文
posted @ 2011-05-31 12:53 焦涛 阅读(412) 评论(0) 推荐(0)
摘要: <UserControl x:Class="ImageDemo.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.ope 阅读全文
posted @ 2011-05-29 23:19 焦涛 阅读(369) 评论(0) 推荐(0)
摘要: <UserControl x:Class="_3DDemo.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openx 阅读全文
posted @ 2011-05-28 01:13 焦涛 阅读(241) 评论(0) 推荐(1)
摘要: <UserControl x:Class="GeometryStudy.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas 阅读全文
posted @ 2011-05-26 00:01 焦涛 阅读(426) 评论(0) 推荐(0)
摘要: <UserControl x:Class="SharpStudy.BrushDemo" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.o 阅读全文
posted @ 2011-05-24 14:30 焦涛 阅读(1028) 评论(0) 推荐(0)
摘要: <UserControl x:Class="SharpStudy.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.op 阅读全文
posted @ 2011-05-24 11:07 焦涛 阅读(353) 评论(0) 推荐(0)
摘要: 一直想把自己做的silverlight程序嵌入到我的博客园页面中,今天尝试了下,终于弄成功了,开始用TinyMCE编辑器,因为博客园中推荐用这个编辑器,但一直不能成功,查看源代码是因为总是加了flash方面的东西。后来改CuteEditor就可以了。下面把整个步骤写一下:(1)准备好silverlight程序,这里以一个动画作为例子(2)上传*.xap文件(这里为http://files.cnblogs.com/Joetao/AnimationStudy.xap)(3)在HTML编辑器中加入如下代码:<object width="300" height="3 阅读全文
posted @ 2011-05-23 18:27 焦涛 阅读(271) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2011-05-23 17:48 焦涛 阅读(100) 评论(0) 推荐(0)
摘要: (一)通过名称访问动画(1)命名该动画对象,然后在代码中通过该名称引用它(2)以使用集合来访问动画或动画的关键帧 a)访问动画集合:Storyboard 具有 Children 属性,该属性允许您访问指定 Storyboard 中的所有动画对象 b)访问关键帧集合:关键帧动画名称.KeyFrames[i] 实例讲解: <Canvas MouseLeftButtonDown="Handle_MouseDown" Width="600" Height="500" Background="Gray"> < 阅读全文
posted @ 2011-05-23 14:47 焦涛 阅读(434) 评论(0) 推荐(2)
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 45 下一页