public InvoiceDetailsAdapter(Activity context, int rowResourceID, Library.TransDetList _list)
            : base(context, rowResourceID, _list)
        {
            this.context = context;

            detailsList = _list;
        }
示例#2
0
        public void MarkDetailDeleted(TransDet d)
        {
            d.IsDeleted = true;

            if (d.IsNew)
            {
                TransDetList.Remove(d);
            }
            else
            {
                if (TransDetListDeleted == null)
                {
                    TransDetListDeleted = new TransDetList();
                }
                TransDetListDeleted.Add(d);
            }

            TransDetList.RefreshNumbers();
        }