110,534
社区成员
发帖
与我相关
我的任务
分享
private void Button_Click_1(object sender, RoutedEventArgs e)
{
DoubleAnimation a = new DoubleAnimation();
a.From = 0;
a.To = 200;
a.Duration = new Duration(TimeSpan.Parse("0:0:3"));
this.BeginAnimation(Window1.LeftProperty, a);
}