The given solution on page 214 works (of course), but setting all the fields private works well too.
private const int CostOfFoodPerPerson = 25;
private decimal CostOfBeveragesPerPerson;
private decimal CostOfDecorations = 0;
private int numberOfPeople;
private bool fancyDecorations;
My question is if this would not be preferable? (Since this disallows changes from Form1)
Thanks!
This post has been edited by Mike684: 16 November 2012 - 04:38 AM











