Beispiel #1
0
 public FezItem(FezSize fez_size, FezStyle fez_style)
 {
     fez_size_  = fez_size;
     fez_style_ = fez_style;
     price      = Convert.ToDouble(fez_style_.basePrice) * Convert.ToDouble(fez_size_.priceModifier);
 }
Beispiel #2
0
 public void Add(FezSize size, FezStyle style)
 {
     shopping_basket.Add(new FezItem(size, style));
     AddedItem(this, new EventArgs());
 }