Пример #1
0
 private void Main_Option_Sync_QQ_Click(object sender, EventArgs e)
 {
     if (Settings.Default.SyncQQ && Settings.Default.QQuin != "0")
     {
         NotifySystem.ClearText();
     }
 }
Пример #2
0
 public static void Exit()
 {
     NotifySystem.ClearText();
     _player.Dispose();
     if (_renderThread != null)
     {
         _renderThread.Abort();
     }
     if (_needsave)
     {
         DBSupporter.SaveList();
     }
 }
Пример #3
0
 public static void PauseOrResume()
 {
     if (_player.Isplaying)
     {
         _player.Pause();
         NotifySystem.ClearText();
     }
     else
     {
         if (_player.Position == -1.0)
         {
             return;
         }
         _player.Resume();
         NotifySystem.SetText(CurrentBeatmap.NameToString());
     }
 }