Пример #1
0
 /// <summary>
 /// returns true if new song
 /// </summary>
 /// <returns></returns>
 public bool saveSong()
 {
     //make sure the "Just Lyrics" are recreated
     _justLyrics = null;
     if (this.title == "")
     {
         throw new Exception("Song title cannot be blank");
     }
     return(XmlReaderWriter.writeSong(Settings.GlobalApplicationSettings.SongsFolder, this));
 }
Пример #2
0
 internal void saveSong(string destination)
 {
     XmlReaderWriter.writeSong(destination, this);
 }
Пример #3
0
 internal void saveSong(string destination)
 {
     _dictionaryOfAllSongs[this.SongSubFolder + @"\" + this.title] = this;
     XmlReaderWriter.writeSong(destination, this);
 }