Exemple #1
0
 public PackageBase(BitmapSource photo, string description, double cost)
 {
     Photo       = photo;
     PackageType = new PackageType(description, cost);
     Value       = 0;
 }
Exemple #2
0
 public override string ToString()
 {
     return(PackageType.ToString());
 }
Exemple #3
0
 public PackageBase(BitmapSource photo, PackageType packagetype, int value)
 {
     Photo       = photo;
     PackageType = packagetype;
     Value       = value;
 }