/// <summary> /// Called when [basetitlechanged]. Frody automatically wires this up. /// </summary> private void OnBaseTitleChanged() { if (!(BaseTitle == null)) { BaseTitle = CommonRoutines.ReplaceLineSeperators(BaseTitle); BaseTitle = BaseTitle.Substring(0, BaseTitle.Length > 50 ? 50 : BaseTitle.Length); } }
public OrderView(BaseTitle orderList) { OrderList = orderList; OwnerName = OrderList.OwnerName; OwnerNumber = OrderList.OwnerNumber; OrderNumber = OrderList.OrderNumber; DateCreate = OrderList.DateCreate; CustomerName = OrderList.CustomerName; Membership = OrderList.Membership; ProductSerial = OrderList.ProductSerial; ProductName = OrderList.ProductName; productQuantity = OrderList.ProductQuantity; }