void Current_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     if (e.PropertyName != "MusicPath")
     {
         return;
     }
     _controller.Dispose();
     _controller = new MciController(GetMusicPath());
 }
 void Current_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     if (e.PropertyName != nameof(MediaConfiguration.TicketSuccessMusicFile))
     {
         return;
     }
     _controller.Dispose();
     _controller = new MciController(GetMusicPath());
 }
 public TicketPromptMusic()
 {
     Configuration.QueryConfiguration.Current.PropertyChanged += Current_PropertyChanged;
     _controller = new MciController(GetMusicPath());
 }
 public TicketMusic4Success()
 {
     MediaConfiguration.Instance.PropertyChanged += Current_PropertyChanged;
     _controller = new MciController(GetMusicPath());
 }