private string getBarcodeMoney(decimal money) { DateTime dt = DateTime.Now; ClassMoney m = new ClassMoney(money); //01-12-08-09-30-4500-22-16-00 return(ClassGlobalVar.numberTicket.ToString("00") + "-" + dt.ToString("MM-dd-HH-mm-ss-") + m.Euro.ToString("00-00-00") + m.Cent.ToString("-00")); }
public W_TypePay() { InitializeComponent(); gridLoad("c", ClassGridGroup.gridTypePay); ClassMoney m = new ClassMoney(Class.ClassCheck.getTotalPrice()); lblTotal.Content = m.Euro.ToString() + " euro(s) et " + m.Cent.ToString() + " centime(s)"; dataGrid1.DataContext = ClassBond.x.Element("MoneySum"); }