Пример #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;
     }
 }
Пример #2
0
 private void Storyboard_1_Completed(object sender, EventArgs e)
 {
     Storyboard_2.Begin();
 }