Beispiel #1
0
 private void Start()
 {
     RainCombo.SelectedItem = Cell.Statechange.ToString();
     LocalRainText.Text     = Cell.LocalRain.ToString();
     OutgoingText.Text      = Cell.OutgoingRain.ToString();
     IncomingText.Text      = Cell.IncomingRain.ToString();
     TotalText.Text         = Cell.TotalRain.ToString();
     RainLL.Text            = ConditionsSystem.RainCondition(Cell.LocalRain);
     CloudcoverLL.Text      = ConditionsSystem.CloudDirection(Cell);
     TempLL.Text            = Cell.CurrentTemp.ToString();
     //WindSpeedLL.Text = ConditionsSystem.WindCondition(Cell.TempRange);
     if (Cell.Statechange.Equals(WeatherState.Rain))
     {
         this.BackColor = Color.Navy;
     }
 }
Beispiel #2
0
 private void TempLL_MouseHover(object sender, EventArgs e)
 {
     ToolInfo.Show(ConditionsSystem.TempCondition(Cell.CurrentTemp), TempLL);
 }
Beispiel #3
0
 private void RainLL_MouseHover(object sender, EventArgs e)
 {
     ToolInfo.Show(ConditionsSystem.RainCondition(Cell.LocalRain), RainLL);
 }