private void CallItemsChanged(object sender, FileInfoCollectionEventArgs e) { if (null != ItemsChanged) { ItemsChanged(sender, e); } }
private void CallItemsAdded(object sender, FileInfoCollectionEventArgs e) { foreach (FileInfo i in e.Items) { md5Tasks.Add(i.md5sumAsync()); } if (null != ItemsAdded) { ItemsAdded(sender, e); } if (null != ItemsChanged) { ItemsChanged(sender, e); } }