欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

讓Silverlight 2.0動(dòng)畫動(dòng)起來(lái)Making Silverlight 2.0 animation Start(不能運(yùn)動(dòng)原因)

 更新時(shí)間:2008年11月26日 12:26:28   作者:  
Microsoft Expression Blend 2 制作動(dòng)畫個(gè)人感覺(jué)倒像3DMAX 可以自動(dòng)捕捉關(guān)鍵幀
問(wèn)題又來(lái)了
Microsoft Expression Blend 2制作的動(dòng)畫 無(wú)法動(dòng)起來(lái)
現(xiàn)在大師教 大家怎么讓Silverlight.2.0動(dòng)畫動(dòng)起來(lái)
很簡(jiǎn)單
你制作了動(dòng)畫
但是沒(méi)有觸發(fā)點(diǎn)
或者說(shuō)沒(méi)有告訴什么時(shí)候開(kāi)始
Microsoft Visual Web Developer 2008 Express Edition或者VS2008
然后打上Silverlight Tools 補(bǔ)丁
這樣要方便
當(dāng)然記事本也可以
打開(kāi) 代碼部分 比如我的就是Page.xaml.cs
比如我要讓 我制作的動(dòng)畫 ballmove (Microsoft Expression Blend故事板的名字)
要在啟動(dòng)時(shí)候運(yùn)行動(dòng)畫:
如果你看不懂這些代碼
建議找本書 比如WROX紅皮書 C#入門經(jīng)典
復(fù)制代碼 代碼如下:

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace feiruwenzi
{
public partial class Page : UserControl
{
public Page()
{
// Required to initialize variables
InitializeComponent();
this.Loaded += new RoutedEventHandler(Page_Loaded);
//委托掛鉤注冊(cè),這樣才有效,建議用VS或者VWD時(shí)候,用TAB鍵操作
}
void Page_Loaded(object sender, RoutedEventArgs e)
{
ballmove.Begin();//動(dòng)起來(lái)
}
}
}

相關(guān)文章

最新評(píng)論