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

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