예제 #1
0
        public void RemoveAssetCall(object sender)
        {
            ExportAsset asset = sender as ExportAsset;

            AssetEventArgs eventArgs = new AssetEventArgs()
            {
                Object = asset
            };

            RemoveAssetHandler?.Invoke(this, eventArgs);

            AssetList.Remove(asset);
        }
예제 #2
0
 public void AddExportAsset(ExportAsset asset)
 {
     AssetList.Add(asset);
     asset.DateCreated = DateTime.Now;
     AssetListViewSource.View.Refresh();
 }