Beispiel #1
0
 private void Timer_Tick(object sender, EventArgs e)
 {
     if (GlobalVar.button_animation_switch_stat == false)
     {
         Storyboard_1.Begin();
         GlobalVar.button_animation_switch_stat = true;
     }
     else
     {
         Storyboard_2.Begin();
         GlobalVar.button_animation_switch_stat = false;
     }
 }
Beispiel #2
0
 private void Storyboard_Ready_Completed(object sender, EventArgs e)
 {
     Player.Play();
     Storyboard_1.Begin();
 }