Esempio n. 1
0
        public Сountry(Сountry country)
        {
            this.name       = country.name;
            this.president  = country.president;
            this.population = country.population;
            this.square     = country.square;

            UpdateSummaryStaticFields();
        }
Esempio n. 2
0
 private ListViewItem GetListViewItemFormFlight(Сountry country)
 {
     return(new ListViewItem(new string[] {
         country.Name,
         country.President,
         country.Population.ToString(),
         country.Square.ToString(),
         country.Density.ToString()
     }));
 }