Exemple #1
0
 protected void OnPromotionTypeChanged(Product product)
 {
     if (Promotion != null)
     {
         Console.WriteLine("Product {0} is in promotion: {1}", product.name, product.isPromotion);
         InPromotionEventArgs args = new InPromotionEventArgs(product.name);
         Promotion(this, args);
     }
 }
Exemple #2
0
 public static void Product_OnPromotionTypeChanged(object sender, InPromotionEventArgs eventArgs)
 {
 }