示例#1
0
 protected virtual void OnNewFileProcessed(NewFileProcessedEventArgs e)
 {
     if (NewFileProcessed != null) { NewFileProcessed(e); }
 }
 void fileProcessor_NewFileProcessed(NewFileProcessedEventArgs e)
 {
     Dispatcher.BeginInvoke(
                DispatcherPriority.SystemIdle,
                new MyDelegate(updateLabel),
                e.NewFile);
 }