private void CustomerSelected(CustomerModel customer) { EditableItem.CustomerID = customer.CustomerID; EditableItem.Customer = customer; EditableItem.NotifyChanges(); }
private void ProductSelected(ProductModel product) { EditableItem.ProductID = product.ProductID; EditableItem.UnitPrice = product.ListPrice; EditableItem.Product = product; EditableItem.NotifyChanges(); }
private void PlaceSelected(PlaceModel place) { EditableItem.PlaceID = place.PlaceID; EditableItem.ShipAddress = place.Address; EditableItem.ShipCity = place.City; EditableItem.ShipRegion = place.Region; EditableItem.ShipCountryCode = place.CountryCode; EditableItem.ShipPostalCode = place.PostalCode; EditableItem.Place = place; EditableItem.NotifyChanges(); }
private void CustomerSelected(CustomerModel customer) { EditableItem.CustomerID = customer.CustomerID; EditableItem.ShipAddress = customer.AddressLine1; EditableItem.ShipCity = customer.City; EditableItem.ShipRegion = customer.Region; EditableItem.ShipCountryCode = customer.CountryCode; EditableItem.ShipPostalCode = customer.PostalCode; EditableItem.Customer = customer; EditableItem.NotifyChanges(); }