private void Rain_Click(object sender, EventArgs e) { if (Rain.Text == "Start Rain") { RainTimer.Start(); Rain.Text = "Stop"; } else { RainTimer.Stop(); Rain.Text = "Start Rain"; } }
public void AddRainTimer(RainTimer rt) { rt.ResetTime(); this.m_listRainTimer.Add(rt); }