//loads user controls and trails list private void Form1_Load(object sender, EventArgs e) { RandomFactsManager.LoadRandomFactsList(); LoadPictures(); AddControls(); LoadTrailList(); }
//sets label text to next random fact, and resets the timer private void ChangeRandomFactText() { randomFactsLabel.Text = RandomFactsManager.GetRandomFact(); timer1.Stop(); timer1.Start(); }