Exemplo n.º 1
0
        private void NewBPMDRetProc(Form form, object data)
        {
            BOBP bpBo = (BOBP)data;

            if (bpBo == null)
            {
                return;
            }
            BPMD bpMd = (BPMD)bpBo.GetBOTable();

            objList.AddObject(bpMd);
        }
Exemplo n.º 2
0
        private void UpdateBPMdRetProc(Form form, object data)
        {
            BOBP bpBo = (BOBP)data;

            if (bpBo == null)
            {
                return;
            }
            BPMD  proMd = (BPMD)bpBo.GetBOTable();
            IList list  = (IList)objList.Objects;
            BPMD  md    = (BPMD)list[objList.LastHitInfo.RowIndex];

            md.CopyFrom(proMd);
            objList.RefreshObject(md);
        }