Example #1
0
 public void UpdateLabels()
 {
     if (MyBets == null)
     {
         myLabel.Text = String.Format("{0} hasn't placed any bets", GuyName);
     }
     else
     {
         myLabel.Text = MyBets.GetDescription();
     }
     MyRadioButton.Text = GuyName + " has " + Money + " bucks";
 }
Example #2
0
 //************ Winning or lossing money ************
 public void Collect(int Winner)
 {
     Money += MyBets.PayOut(Winner);
 }