private RegionRR GetRegionRR()
        {
            int idRegionRR;

            int.TryParse(cbRegions.SelectedValue.ToString(), out idRegionRR);
            return(_regionRRList.GetItem(idRegionRR) as RegionRR);
        }
示例#2
0
        public RealRegion(DataRow row)
            : base(row)
        {
            int idRegionRR;

            int.TryParse(row[2].ToString(), out idRegionRR);
            RegionRRList regionRRList = RegionRRList.GetUniqueInstance();

            _regionRR = regionRRList.GetItem(idRegionRR) as RegionRR;
        }