Пример #1
0
 public SettingsView(WeatherModel m)
 {
     model = m;
     InitializeComponent();
     currentCities = model.GetAllCitiesNames();
     foreach (var c in currentCities)
     {
         listBoxCities.Items.Add(c);
     }
 }
Пример #2
0
        public WeatherView()
        {
            InitializeComponent();

            model = new WeatherModel(this);
        }