/// <summary> /// Reads the lyrics from a file without displaying them /// </summary> private void LoadFile(string path) { try { events = GlobalEvent.FromFile(path).ToArray(); } catch (Exception e) { if (MessageBox.Show($"Cannot read file: {e.Message}", "Error", MessageBoxButtons.RetryCancel, MessageBoxIcon.Error) == DialogResult.Retry) { LoadFile(path); } throw; } try { DisplaySongTitle(Metadata.FromFile(path).Title); } catch { DisplaySongTitle(string.Empty); } }