private void ChangeSalesDistrict()
        {
            int idRealRegion;

            int.TryParse(cbRealRegion.SelectedValue.ToString(), out idRealRegion);
            RealRegion realRegion = _realRegionList.GetItem(idRealRegion) as RealRegion;
        }
Example #2
0
        public LpuCompetitors(DataRow row)
            : base(row)
        {
            _inn = row[2].ToString();

            int idRealRegion;

            int.TryParse(row[3].ToString(), out idRealRegion);

            RealRegionList realRegionList = RealRegionList.GetUniqueInstance();

            _realRegion = realRegionList.GetItem(idRealRegion) as RealRegion;

            _kpp = row[4].ToString();
        }