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; } }
private void Storyboard_1_Completed(object sender, EventArgs e) { Storyboard_2.Begin(); }