摘要: Storyboard storyboard = new Storyboard();//创建故事板 DoubleAnimation doubleAnimation = new DoubleAnimation();//实例化一个Double类型的动画 RotateTransform rotate = n 阅读全文
posted @ 2018-03-07 21:41 pengde 阅读(1157) 评论(0) 推荐(0) 编辑
摘要: System.Windows.Point pp = Mouse.GetPosition(e.Source as FrameworkElement);//WPF方法 //pp.X = 0; pp.Y= 0; System.Windows.Point ppp = (e.Source as Framewo 阅读全文
posted @ 2018-03-07 17:16 pengde 阅读(4277) 评论(0) 推荐(2) 编辑