Example #1
0
        /// <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);
            }
        }
Example #2
0
        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;
        }