/// <summary> /// Initialize current instance /// </summary> /// <param name="window">Owner window</param> /// <param name="purchase">Pruchase to do payment</param> /// <param name="model">Data model</param> public PaymentsPurchase(Window window, Purchase purchase, LeposWPFModel model) { this.Model = model; this.Purchase = purchase; this.Owner = window; InitializeComponent(); }
/// <summary> /// Initialize current instance /// </summary> /// <param name="window">Owner window</param> /// <param name="purchase">Purchase to display values</param> public PurchaseDetail(Window window, Purchase purchase) { this.Owner = window; this.purchase = purchase; InitializeComponent(); }