Ejemplo n.º 1
0
 void f_FuncEventHandler(object sender, FuncEventArgs e)
 {
     if (e.WorkStatus == WorkStatus.Stop)
     {
         btnStop_Click(sender, e);
     }
 }
Ejemplo n.º 2
0
 public static void OnFuncAfter(FuncEventArgs args)
 {
     Console.WriteLine(":" + "ExecuteSuccess");
 }
Ejemplo n.º 3
0
 public static ExceptionCategory OnException(FuncEventArgs args)
 {
     Console.WriteLine(":" + "Exceptioned");
     return(ExceptionCategory.Handle);
 }
Ejemplo n.º 4
0
 public static bool OnFuncBefore(FuncEventArgs args)
 {
     Console.WriteLine(":" + "Executeing");
     return(true);
 }