bool LoadData(string file = null) { if (file == null) { file = data_file; } if (file == null) { return(false); } rdat: try { var sw = Stopwatch.StartNew(); data = DataMap.FromFile(file).ToArray(); if (pos >= data.Length) { pos = 0; } sw.Stop(); parse_data = time_last = sw.Elapsed; } catch (IOException) { goto rdat; } return(true); }