コード例 #1
0
ファイル: PrintBase.cs プロジェクト: ClemensT/WPF-Samples
 public PrintBase(BitmapSource photo, string description, double cost)
 {
     Photo = photo;
     PrintType = new PrintType(description, cost);
     Quantity = 0;
 }
コード例 #2
0
ファイル: PrintBase.cs プロジェクト: ClemensT/WPF-Samples
 public PrintBase(BitmapSource photo, PrintType printtype, int quantity)
 {
     Photo = photo;
     PrintType = printtype;
     Quantity = quantity;
 }
コード例 #3
0
 public PrintBase(BitmapSource photo, string description, double cost)
 {
     Photo     = photo;
     PrintType = new PrintType(description, cost);
     Quantity  = 0;
 }
コード例 #4
0
 public override string ToString() => PrintType.ToString();
コード例 #5
0
 public PrintBase(BitmapSource photo, PrintType printtype, int quantity)
 {
     Photo     = photo;
     PrintType = printtype;
     Quantity  = quantity;
 }