Beispiel #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;
 }