storyborad code behind not working

Jul 6, 2009 at 6:30 PM

I tried to attach the storyboard in code behind, the animation work when it apps starts. but inside the code behind, it hings, very simple std code behind



//* ***************************************

<font size="2">




Storyboard sb = new System.Windows.Media.Animation.Storyboard();

sb = this.FindResource("Storyboard1");<font size="2">





any idea?

Thanks in advance

Jul 7, 2009 at 12:56 AM

Thanks, find the solution