Example #1
0
 private void DisplayDinnerPartyCost()
 {
     lblDinnerCost.Text = dinnerParty.CalculateCost(chkHealthyOption.Checked).ToString("c");
 }
Example #2
0
        private void DisplayDinnerPartyCost()
        {
            decimal Cost = dinnerParty.CalculateCost(Healthy.Checked);

            costLabel.Text = Cost.ToString("c");
        }