Пример #1
0
 protected static void OnWorkList(object sender, WorkListEventArgs e)
 {
     if (!GetIsMuted((sender as IWork).ID))
     {
         if (WorkList != null)
         {
             WorkList(sender, e);
         }
     }
 }
Пример #2
0
 protected bool ReportWorkList(FileSystemInfoEx itemList)
 {
     if (WorkList != null)
     {
         WorkListEventArgs args = new WorkListEventArgs(ID, itemList);
         WorkList(this, args);
         if (args.Cancel)
         {
             Abort();
         }
         return(!args.Cancel);
     }
     else
     {
         return(true);
     }
 }
Пример #3
0
 void OnWorkList(object sender, WorkListEventArgs e)
 {
     ReportWorkList(e.ListedEntry);
 }
Пример #4
0
 protected bool ReportWorkList(FileSystemInfoEx itemList)
 {
     if (WorkList != null)
     {
         WorkListEventArgs args = new WorkListEventArgs(ID, itemList);
         WorkList(this, args);
         if (args.Cancel)
             Abort();
         return !args.Cancel;
     }
     else return true;
 }
Пример #5
0
 protected static void OnWorkList(object sender, WorkListEventArgs e)
 {
     if (!GetIsMuted((sender as IWork).ID))
         if (WorkList != null)
             WorkList(sender, e);
 }
Пример #6
0
 void OnWorkList(object sender, WorkListEventArgs e)
 {
     ReportWorkList(e.ListedEntry);
 }