Ejemplo n.º 1
0
        public string GetLocationForList()
        {
            string result = Location;

            if (result != "")
            {
                result += " - ";
            }
            result += CountriesManager.GetNameFromCode(CountryCode);
            return(result);
        }
Ejemplo n.º 2
0
        public string GetNameWithLocation()
        {
            string country = CountriesManager.GetNameFromCode(CountryCode);
            string result  = DisplayName;

            if ((country != "") || (Location != ""))
            {
                result += " (";
                if (country != "")
                {
                    result += country;
                }
                if (Location != "")
                {
                    if (country != "")
                    {
                        result += ", ";
                    }
                    result += Location;
                }
                result += ")";
            }
            return(result);
        }
Ejemplo n.º 3
0
        public string GetLocationForOrdering()
        {
            string result = CountriesManager.GetNameFromCode(CountryCode) + " - " + Location;

            return(result);
        }