Пример #1
0
        /// <summary>
        /// Update Current District Information.
        /// </summary>
        private void UpdateCurrentDistrictInfo()
        {
            var districtName = _selectedDistrict.ToString();

            labelDistrictName.Text        = districtName + " District";
            labelDistrictDescription.Text = _selectedDistrict.Description();
            labelDistrictLevel.Text       = IntegerInRomanLiterals(_selectedDistrict.UpgradeLevel);

            pictureBoxDistrict.Image = (Bitmap)Properties.Resources.ResourceManager.GetObject($"{districtName}Thumbnail{_selectedDistrict.UpgradeLevel}");
        }