public Form1() { InitializeComponent(); dinnerParty = new DinnerParty(); dinnerParty.SetPartyOptions(5, true); dinnerParty.SetHealthyOption(false); dinnerParty.CalculateDecorationCosts(true); DisplayDinnerPartyCost(); }
public Form1() { InitializeComponent(); dinnerParty = new DinnerParty(); dinnerParty.SetPartyOptions(5, true); dinnerParty.SetHealthyOption(false); dinnerParty.CalculateDecorationCosts(true); DisplayDinnerPartyCost(); }
private void checkBox1_CheckedChanged(object sender, EventArgs e) { dinnerParty.CalculateDecorationCosts(checkBox1.Checked); DisplayDinnerPartyCost(); }