private void NewMarketRetProc(Form form, object data) { BOMarket mktBo = (BOMarket)data; MarketDetaiedlMD detailedMkt = new MarketDetaiedlMD((MarketMD)mktBo.GetBOTable()); List <CountryMD> cty = mktBo.GetMktCountry(); detailedMkt.Countries = mktBo.GetCountryString(); objList.AddObject(detailedMkt); }
private void MarketMDUpdateProc(Form form, object data) { BOMarket mktBo = (BOMarket)data; MarketDetaiedlMD detailedMkt = new MarketDetaiedlMD((MarketMD)mktBo.GetBOTable()); List <CountryMD> cty = mktBo.GetMktCountry(); detailedMkt.Countries = mktBo.GetCountryString(); if (objList.FocusedItem != null) { objList.GetItem(objList.FocusedItem.Index).RowObject = detailedMkt; } objList.RefreshSelectedObjects(); }