Exemple #1
0
 protected virtual void onMyDel(object o, PrimeEventArgs pe)
 {
     if (MyDel != null)
     {
         MyDel(o, pe);
     }
 }
Exemple #2
0
 public void action2(object sender, PrimeEventArgs pe)
 {
     System.Console.WriteLine("actioned2");
 }
Exemple #3
0
 public void action1(object o, PrimeEventArgs pe)
 {
     System.Console.WriteLine("actioned1");
 }
Exemple #4
0
 public void action(object o, PrimeEventArgs pe)
 {
     System.Console.WriteLine("Prime number found:" + pe.Prime);
 }