上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 60 下一页
3) DispatcherTimer The last method is DispatcherTimer, it is also an animation base on UI thread, frame by frame, but it is different from CompositionTarget. Maybe you still remember that in Compositi... Read More
posted @ 2010-02-25 00:25 包建强 Views(1636) Comments(0) Diggs(0)
Tuorial Context (0)Foreword (1)Animate the object (Part I) (2)Animate the object (Part II) (3)Animate the object (Part III) (4)Implement the sprite’s 2D animation (Part I) (5)Implement the sprit... Read More
posted @ 2010-02-24 22:52 包建强 Views(2190) Comments(0) Diggs(1)
2) CompositionTarget The second method to create animation is by CompositionTarget. In official document, CompositionTarget object can create custom animation by each frame’s callback. In other ... Read More
posted @ 2010-02-24 21:47 包建强 Views(1966) Comments(0) Diggs(0)
Now, there are so many articles to introduce how to create animation in XAML by Blend, so I don’t plan to say more on this topic. It make many people puzzled “Silverlight is just Microsoft... Read More
posted @ 2010-02-24 17:02 包建强 Views(3606) Comments(2) Diggs(1)
    有些人,就喜欢把通用的东西再进行一层层的包装。最后搞的人家看N久文档还没有头绪。     string.format 这些通用的东西,其实大家都学过。于是封装后,就转成一个又要去学习的库了。     于是抽象类和基类满天飞,以为提取出几个共同的方法就是重构了,孰不知你把仅有的一次继承用掉了(C#的类... Read More
posted @ 2010-02-22 23:08 包建强 Views(686) Comments(0) Diggs(1)
最近研究深蓝色左手的《C#开发WPF/Silverlight动画及游戏系列教程》 http://www.cnblogs.com/alamiye010/archive/2009/06/17/1505346.html 笔记心得如下: 1.人物移动分成两部分:质心的移动,以及人物自身的移动动画,这不由让我想起了大四最后一门课《刚体力学》。 2.对于Image,在WPF是: spirit.Sou... Read More
posted @ 2010-02-21 23:44 包建强 Views(1613) Comments(0) Diggs(0)
    WOW, Silverlight can also be used in OOMRPG programming, isn’t it?   &#... Read More
posted @ 2010-02-21 19:02 包建强 Views(2333) Comments(1) Diggs(0)
1.关于图片,Resource和Content的区别 2.Clip和WriteableBitmap的适用场合 Read More
posted @ 2010-02-02 23:05 包建强 Views(4591) Comments(13) Diggs(4)
声明,本文所有11道算法题目,覆盖了基本上所有常见的二叉树问题,全都用C#实现,并测试通过,代码下载:BinNode.zip目录:1.二叉树三种周游(traversal)方式:2.怎样从顶部开始逐层打印二叉树结点数据3.如何判断一棵二叉树是否是平衡二叉树4.设计一个算法,找出二叉树上任意两个节点的最近共同父结点,复杂度如果是O(n2)则不得分。 5.如何不用递归实现二叉树的前序/后序/中序遍历?6... Read More
posted @ 2009-12-28 00:00 包建强 Views(28173) Comments(29) Diggs(4)
声明,本文所有9道算法题目,覆盖了基本上所有常见的栈/队列问题,全都用C#实现,并测试通过,代码下载:StackAndQueue.zip 目录: 1.设计含min函数的栈,要求min、push和pop的时间复杂度都是o(1)。 2.设计含min函数的栈的另解 3.用两个栈实现队列 4.用两个队列实现栈 5.栈的push、pop序列是否一致 6.递归反转一个栈,要求不得重新申请一个同样的栈,空间复杂度o(1) 7.给栈排个序 8..如何用一个数组实现两个栈 9..如何用一个数组实现三个栈 Read More
posted @ 2009-12-21 00:35 包建强 Views(11986) Comments(34) Diggs(6)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 60 下一页