Пример #1
0
        private void RaiseCompletedEvent(string path)
        {
            FileCompletedEventArgs args = new FileCompletedEventArgs();

            args.FileName = path;

            OnFileCompleted(args);
        }
Пример #2
0
        protected virtual void OnFileCompleted(FileCompletedEventArgs e)
        {
            EventHandler <FileCompletedEventArgs> handler = FileCompleted;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Пример #3
0
        private void RaiseCompletedEvent(string path)
        {
            FileCompletedEventArgs args = new FileCompletedEventArgs();
            args.FileName = path;

            OnFileCompleted(args);
        }
Пример #4
0
 protected virtual void OnFileCompleted(FileCompletedEventArgs e)
 {
     EventHandler<FileCompletedEventArgs> handler = FileCompleted;
     if (handler != null)
     {
         handler(this, e);
     }
 }