private async void Animation3() //冒气泡的动画,用于回答何时收集的问题之后 { Bubble.Visibility = Visibility.Visible; BubbleUp.Begin(); await Task.Delay(3000); QuestionArea.InitWithQuestion(); }
private void Animation4() //收集完毕的动画,用于移走导管的问题后 { BubbleUp.Stop(); Bubble.Visibility = Visibility.Collapsed; Oxygen.Visibility = Visibility.Visible; Air1.Begin(); O2.Begin(); O2.Completed += (s, e1) => showFinal(); }