internal void UpdateFields(BatchFieldsInfo bachFieldsInfo) { Album = bachFieldsInfo.Album; Artist = bachFieldsInfo.Artist; Ganre = bachFieldsInfo.Ganre; YearText = bachFieldsInfo.Year; }
private void FillBachFields() { if (BatchFieldsUpdated != null) { BatchFieldsInfo info = new BatchFieldsInfo(); try { info.Album = GetBestMatch(this.batchCounting_Album); info.Artist = GetBestMatch(this.batchCounting_Artist); info.Year = GetBestMatch(this.batchCounting_Year); info.Ganre = GetBestMatch(this.batchCounting_Ganre); } catch { } BatchFieldsUpdated(this, info); } }
void UserControlTrackList_BatchFieldsUpdated(object sender, BatchFieldsInfo bachFieldsInfo) { m_UserControlBatchRenameFields.UpdateFields(bachFieldsInfo); }