public Form1() { InitializeComponent(); dinnerParty = new DinnerParty(); dinnerParty.SetPartyOptions(5, fancyBox.Checked); dinnerParty.CalculateCostOfDecoration(fancyBox.Checked); dinnerParty.SetHealthyOption(healthyBox.Checked); DisplayDinnerPartyCost(); }
private void healthyBox_CheckedChanged_1(object sender, EventArgs e) { dinnerParty.SetHealthyOption(healthyBox.Checked); DisplayDinnerPartyCost(); }