Ejemplo n.º 1
0
        private void AddTabMusic()
        {
            //add music section
            Log.Info("add music section");
            if (splashScreen != null)
            {
                splashScreen.SetInformation("Adding music section...");
            }

            SectionSettings music = new Sections.Music();

            AddSection(new ConfigPage(null, music, false));

            Log.Info("  add music shares section");
            AddSection(new ConfigPage(music, new MusicShares(), false));
            Log.Info("  add music database section");
            AddSection(new ConfigPage(music, new MusicDatabase(), false));
            Log.Info("  add music import section");
            AddSection(new ConfigPage(music, new MusicImport(), false));

            Log.Info("  add music extensions section");
            AddSection(new ConfigPage(music, new MusicExtensions(), true));
            Log.Info("  add music views section");
            AddSection(new ConfigPage(music, new MusicViews(), true));
            Log.Info("  add music sort section");
            AddSection(new ConfigPage(music, new MusicSort(), true));
            Log.Info("  add music dsp section");
            AddSection(new ConfigPage(music, new MusicDSP(), true));
            Log.Info("  add music asio section");
            AddSection(new ConfigPage(music, new MusicASIO(), true));
        }
Ejemplo n.º 2
0
    private void AddTabMusic()
    {
      //add music section
      Log.Info("add music section");
      if (splashScreen != null)
      {
        splashScreen.SetInformation("Adding music section...");
      }

      SectionSettings music = new Sections.Music();
      AddSection(new ConfigPage(null, music, false));

      Log.Info("  add music shares section");
      AddSection(new ConfigPage(music, new MusicShares(), false));
      Log.Info("  add music database section");
      AddSection(new ConfigPage(music, new MusicDatabase(), false));
      Log.Info("  add music import section");
      AddSection(new ConfigPage(music, new MusicImport(), false));

      Log.Info("  add music extensions section");
      AddSection(new ConfigPage(music, new MusicExtensions(), true));
      Log.Info("  add music views section");
      AddSection(new ConfigPage(music, new MusicViews(), true));
      Log.Info("  add music sort section");
      AddSection(new ConfigPage(music, new MusicSort(), true));
      Log.Info("  add music dsp section");
      AddSection(new ConfigPage(music, new MusicDSP(), true));
      Log.Info("  add music asio section");
      AddSection(new ConfigPage(music, new MusicASIO(), true));
    }