示例#1
0
文件: Product.cs 项目: pawlo601/Bazy
        public override string ToString()
        {
            string a = String.Format("Produkt: {0}{4}{4}Typ: {1}{4}{4}Cena:{4}{2}{4}{4}Komentarz:{4}{3}",
                                     NameOfProduct, Type, PriceOfProduct.ToString(), Comments, Environment.NewLine);

            return(a);
        }
示例#2
0
文件: Product.cs 项目: pawlo601/Bazy
 public void ChangeCurrency(Waluta a)
 {
     PriceOfProduct.ChangeCurrency(a);
 }