void exportData(Boolean showTxt)
        {
            try
            {
                checkFolderExist();
                String filename_prefix = path_saveFolder + @"\" + TheTool.getTime();

                if (list_data.Count > 0)
                {
                    String filename1 = filename_prefix + @"_D.csv";
                    TheTool.exportCSV_orTXT(filename1, convertData2(), false);
                }
                if (list_data_msg.Count > 0)
                {
                    String filename1 = filename_prefix + @"_M.csv";
                    TheTool.exportCSV_orTXT(filename1, convertDataMessage(), false);
                }
                if (showTxt)
                {
                    System.Windows.MessageBox.Show(@"Save to '" + path_saveFolder + "'", "Export CSV");
                }

                TheScoreBoard.SaveAll();
            }
            catch (Exception ex) { showError(ex); }
        }
 void exportScoreBoard()
 {
     if (DateTime.Now > nextScoreSave_All)
     {
         TheScoreBoard.SaveAll();
         nextScoreSave_All = DateTime.Now.AddSeconds(scoreSaveInterval_All);
         TheTool.log("Saved ALL");
     }
     if (DateTime.Now > nextScoreUpdate_Top10)
     {
         TheScoreBoard.UpdateTop10();
         nextScoreUpdate_Top10 = DateTime.Now.AddSeconds(scoreUpdateInterval_Top10);
         TheTool.log("Updated TOP10");
     }
 }