/// <summary> /// adds startup s to the list /// </summary> /// <param name="s"></param> public void addStartup(StartUp s) { this.startups.Add(s); }
/// <summary> /// shows information about startup st in the red bar at the bottom on the window /// </summary> /// <param name="st"></param> public void congratulations(StartUp st) { this.label7.Text = "congrats " + st.Name; this.label8.Text = "your donations: " + st.getTotalOfDonations(); this.label9.Text = "your threshold: " + st.Threshold; }