Ejemplo n.º 1
0
 public MainForm()
 {
     InitializeComponent();
     weatherInfo = new WeatherInfo(15);
     timeComboBox.SelectedIndex = 0;
     ampmComboBox.SelectedIndex = 0;
 }
Ejemplo n.º 2
0
        public WeatherHistoryForm(WeatherInfo weatherInfo, string date)
        {
            InitializeComponent();

            totalHours       = 0;
            this.weatherInfo = weatherInfo;
            this.date        = date;
        }
Ejemplo n.º 3
0
 private void PassData(object sender)
 {
     weatherInfo = (WeatherInfo)sender;
     Action();
 }