예제 #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);
     }
 }