コード例 #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);
 }
コード例 #2
0
 public FezItem(FezSize fez_size, FezStyle fez_style)
 {
     fez_size_  = fez_size;
     fez_style_ = fez_style;
 }
コード例 #3
0
ファイル: BasketList.cs プロジェクト: mig-l-f/CSharpCourse
 public void Add(FezSize size, FezStyle style)
 {
     shopping_basket.Add(new FezItem(size, style));
     AddedItem(this, new EventArgs());
 }