private void click1(object sender, StylusDownEventArgs e) { Storyboard monkyspin = (Storyboard)FindResource("monkyspin"); Storyboard catspin = (Storyboard)FindResource("catspin"); monkyspin.Begin(); catspin.Completed +=if_cat_cop_stop;
private void if_cat_cop_stop(object sender, EventArgs e) { Storyboard monkyspin = (Storyboard)FindResource("monkyspin"); monkyspin.Stop(); monkyspin = new Storyboard(); Storyboard catspin = (Storyboard)FindResource("catspin"); catspin.Stop(); catspin = new Storyboard(); }and i do the same but the other way round for button 2 any ideas ? thaks paul