private void saveLyricsToolStripMenuItem_Click(object sender, EventArgs e) { if (OFD.FileName != null) { foundationReader.Dispose(); foundationReader.Flush(); foundationReader.Close(); TagLib.File f = TagLib.File.Create(OFD.FileName); f.Tag.Lyrics = Lyrics_richtextbox.Text.Remove(0, f.Tag.Title.Length); f.Save(); foundationReader = new MediaFoundationReader(OFD.FileName); } }