示例#1
0
        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);
        }
示例#2
0
        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();
        }