05 2011 档案

摘要:<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 焦涛 阅读(394) 评论(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 焦涛 阅读(358) 评论(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 焦涛 阅读(233) 评论(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 焦涛 阅读(418) 评论(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 焦涛 阅读(1021) 评论(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 焦涛 阅读(342) 评论(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 焦涛 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2011-05-23 17:48 焦涛 阅读(91) 评论(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 焦涛 阅读(425) 评论(0) 推荐(2) 编辑
摘要:(一)定义: 缓动函数:可以将自定义算术公式应用于动画(二)为什么要用缓动函数: 您可能希望某一对象逼真地弹回或其行为像弹簧一样。您可以使用关键帧动画甚至 From/To/By 动画来大致模拟这些效果,但可能需要执行大量的工作,并且与使用算术公式相比动画的精确性将降低。(三)实例讲解:<UserControl x:Class="AnimationStudy.EasingFunctionAnimation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns: 阅读全文
posted @ 2011-05-23 13:01 焦涛 阅读(880) 评论(0) 推荐(0) 编辑
摘要:(一)关键帧动画:动画形式显示了目标属性的值,单个关键帧动画可以创建任意数量的目标值之间的过渡.(二)关键帧动画的优点:(1)使用关键帧对象描述关键帧动画的目标值(2)单个关键帧动画可以创建任意数量的目标值之间的过渡(3)某些关键帧方法除支持多个目标值外,还支持多个内插方法(三)内插方法:定义了从某个值过渡到下一个值的方式 (1)离散 (2)线性 (3)样条(四)创建关键帧动画(1)步骤: a、 按照对 From/To/By 动画使用的方法声明动画并指定其 Duration。 b、 对于每一个目标值,创建相应类型的关键帧,设置其值和 KeyTime,并将其添加到动画的 KeyFrames 集合 阅读全文
posted @ 2011-05-23 08:36 焦涛 阅读(836) 评论(0) 推荐(0) 编辑
摘要:基础知识(一)动画:是快速播放一系列图像(其中每个图像与下一个图像略微不同)给人造成的一种幻觉(二)动画类型:两类 (1)From/To/By动画:在起始值和结束值之间进行动画处理。 (2)关键帧动画:在使用关键帧对象指定的一系列值之间播放动画 (三)动画是时间线:所有动画均继承自 Timeline 对象,因此所有动画都是专用类型的时间线.有以下重要属性: (1)TargetName:指定要进行动画处理的对象(2)TargetProperty:指定要进行动画处理的属性(3)Duration:(时间线)整个动画单次播放持续的时间(格式为 小时 : 分钟 : 秒 或者Forever 或者 Aut 阅读全文
posted @ 2011-05-19 15:37 焦涛 阅读(531) 评论(0) 推荐(0) 编辑
摘要:1将一个表的字段插入另一个表中--例句insert into Region(RegionID,RegionName,RegionParentID, ElementID) select Region.RegionID ,Region.RegionName ,Region.RegionParentID,Region.ElementID from WaterManage.dbo.Region --例句insert into Element select *from WaterManage.dbo.Element where Element.LayerID=1 阅读全文
posted @ 2011-05-17 19:10 焦涛 阅读(195) 评论(0) 推荐(0) 编辑
摘要:今天在使用VS2010时候,不小心按了几个键,代码里出现了虚线,在网上查了下只需要用快捷键:Ctrl+E+S三个组合键就可以让其取消或显示了。 阅读全文
posted @ 2011-05-16 09:43 焦涛 阅读(306) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示