//假設XAML裡面有一個Storyboard腳本[t1],這邊教大家如何直接使用它
//引用Expression Blend裡面的StoryBoard"t1"物件 //Silverlight使用
         
        //  Storyboard s1 = this.Resources["t1"] as Storyboard;
        //  Storyboard s2 = this.Resources["t2"] as Storyboard;
引用Expression Blend裡面的StoryBoard"t1"物件 //WPF使用
        // s1= FindName("t1") as Storyboard;
        // s2= FindName("t2") as Storyboard;

Barry 發表在 痞客邦 PIXNET 留言(0) 人氣()