Ejemplo n.º 1
0
 public SongData()
 {
     InitializeComponent();
     _fullscreen = new FsVisual();
     if (DesignerProperties.GetIsInDesignMode(this))
     {
         return;
     }
     _player              = Player.Instance;
     _player.MetaChanged += _player_MetaChanged;
     WaveForm.RegisterSoundPlayer(_player);
     _fullscreen.RegisterSoundPlayer(_player);
 }
Ejemplo n.º 2
0
 private void SongDat_Loaded(object sender, RoutedEventArgs e)
 {
     WaveForm.RegisterSoundPlayer(_player);
     Spectrum.RegisterSoundPlayer(_player);
     DisplayVisual(Properties.Settings.Default.Visualization);
 }