public void init_music() { BGMPlayer.getInstance(); backG.Children.Add(BGMPlayer.MusicPlayer); backG.Children.Add(BGMPlayer.BgmPlayer); BGMPlayer.MusicPlayer.Visibility = Visibility.Collapsed; BGMPlayer.BgmPlayer.Visibility = Visibility.Collapsed; BGMPlayer.PlayBgm(); }