public Form1() { InitializeComponent(); party = new Party(); party.SetPartyOptions((int)personCount.Value, fancyDecorations.Checked); party.SetDrinkCost(healthyOption.Checked); CalculatePartyCost(); }
private void healthyOption_CheckedChanged(object sender, EventArgs e) { party.SetDrinkCost(healthyOption.Checked); CalculatePartyCost(); }