随笔- 74
文章- 0
评论- 28
阅读-
26万
08 2012 档案
WPF路径动画——C#篇
摘要:在上一篇《WPF路径动画——XAML篇》中,所有的元素都是在XAML中定义的,用了少量的代码让动画运行起来。毕竟C#更灵活和动态,这次就重点用C#代码来完成动画,实现一个方块绕椭圆路径切线转动。 pgeUsingPath2.xaml <Page x:Class="CnblogsDemo.pgeUsingPath2" xmlns="http://schemas.mic...
阅读全文
WPF路径动画——XAML篇
摘要:PageMain.xaml<Page x:Class="CnblogsDemo.PageMain" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="h
阅读全文