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

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