示例#1
0
 public static void Initialize()
 {
     EQS                          = new EqualizerSet();
     bassEng                      = BassEngine.Instance;
     playControl                  = AppPropertys.mainWindow.playControl1;
     sl                           = new SongList();
     bassEng.TrackEnded          += bassPlayer_TrackEnded;
     DT.Interval                  = TimeSpan.FromMilliseconds(100);
     DT.Tick                     += new EventHandler(DT_Tick);
     LrcController.ButtonChanged += new LrcController.ButtonChangedHandle(LrcController_ButtonChanged);
     bassEng.OpenSucceeded       += new EventHandler(StartPlay);
     bassEng.Volume               = AppPropertys.appSetting.Volume;
 }
示例#2
0
 public static void ShowSetEQ()
 {
     EQS.ShowInTaskbar = false;
     if (EQS == null || EQS.IsLoaded)
     {
         EQS = new EqualizerSet();
     }
     if (!isEQShow)
     {
         EQS.Show(); isEQShow = true;
     }
     else
     {
         EQS.Hide(); isEQShow = false;
     }
 }