public Song() { ID3v1 = new TAGID3v1(); ID3v2 = new TAGID3v2(); FileName = null; Index = 0; }
private void FillFrames(TAGID3v2 TAG2) { if (_framesTreeViewData.Columns.Count == 0) { _framesTreeViewData.AppendStringColumn(MainWin.Lng.Translate("Name"), null, false); _framesTreeViewData.AppendStringColumn(MainWin.Lng.Translate("Value"), null, false); _framesTreeViewData.CreateTreeViewColumns(); } _framesTreeViewData.Data.Clear(); foreach (var frame in TAG2.Frames) { _framesTreeViewData.AppendData( new List<object> {frame.Name,frame.Value} ); } treeViewFrames.Model = _framesTreeViewData.CreateTreeViewListStore(); }