コード例 #1
0
        private void SendSelectedProductToParent()
        {
            var simpleSaleLine = new SimpleSaleLineViewModel
            {
                ProductBaseId = selectedProduct.ProductBaseId,
                ProductName   = selectedProduct.Name,
                Unit          = Unit,
                Quantity      = Quantity,
                UnitPrice     = UnitPrice,
                LinePrice     = LineOrderPrice
            };

            PropagateMessage(simpleSaleLine, Constants.Token8);
        }
コード例 #2
0
 protected void PropagateMessage(SimpleSaleLineViewModel message, string token)
 {
     Messenger.Default.Send(message, token);
 }
コード例 #3
0
 private void AddProductToSaleList(SimpleSaleLineViewModel simpleSaleLineViewModel)
 {
     SaleList.Add(simpleSaleLineViewModel);
 }