コード例 #1
0
        private void KWLMDRetProc(Form form, object data)
        {
            BOKWList       kwlBo       = (BOKWList)data;
            KWListDetailMD detailedKwl = new KWListDetailMD((KWListMD)kwlBo.GetBOTable());

            //List<CountryMD> cty = mktBo.GetMktCountry();
            detailedKwl.KeyWords = kwlBo.GetKetWordString();
            OLVListItem olv = objList.GetItem(objList.LastHitInfo.RowIndex);

            olv.RowObject = detailedKwl;
            objList.RefreshItem(olv);
            //objList.AddObject(detailedKwl);
        }
コード例 #2
0
        private void KWListRetProc(Form form, object data)
        {
            BOKWList bo = (BOKWList)data;

            if (bo == null)
            {
                return;
            }
            KWListMD       tb  = (KWListMD)bo.GetBOTable();
            KWListDetailMD dtb = new KWListDetailMD(tb);

            dtb.KeyWords = bo.GetKetWordString();
            objList.AddObject(dtb);
        }