Beispiel #1
0
 /// <summary>
 /// adds startup s to the list
 /// </summary>
 /// <param name="s"></param>
 public void addStartup(StartUp s)
 {
     this.startups.Add(s);
 }
Beispiel #2
0
 /// <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;
 }