コード例 #1
0
 void MapToLibrary(LibraryManager library)
 {
     TaskUtil.PerformForegroundTask(this, library.MapAsync(scrobbles),
         result => ChooseFuzzyMatches(library, result),
         error => MessageBox.Show("An error occured when updating the library." +
                                  Environment.NewLine + Environment.NewLine +
                                  "Details : " + error.Message, "Error!",
                                  MessageBoxButtons.OK, MessageBoxIcon.Error));
 }