static void AddToSourceList(Common.AeestStruce fileInfo) { AutoPb.ResourceItem item = new AutoPb.ResourceItem(); item.ID = fileInfo.ID; item.Key = fileInfo.Key; item.Size = fileInfo.Size; item.OriginalSize = fileInfo.OriginalSize; item.Folder = fileInfo.Folder; item.Path = fileInfo.Path; m_lstResourceList.Add(item); }