Example #1
0
        private void OnAddStarted()
        {
            EventHandler <AddProgressEventArgs> ap = AddProgress;

            if (ap != null)
            {
                var e = AddProgressEventArgs.Started(ArchiveNameForEvent);
                ap(this, e);
                if (e.Cancel)                 // workitem 13371
                {
                    _addOperationCanceled = true;
                }
            }
        }