O'Reilly Forums: Party Planner - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Party Planner

#1 User is offline   eaglecoug 

  • New Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 15-January 13

Posted 18 January 2013 - 11:00 AM

I was trying for some time to encapsulate the party planner pg. 182 so it would work. I tried everything used in the Farmer program but nothing.

What I did after that was add a line to the numericupdown:

Before:
private void numericUpDown1_ValueChanged(object sender, EventArgs e)
{
dinnerParty.numberOfPeople = (int)numericUpDown1.Value;
DisplayDinnerPartyCost();

After:
]private void numericUpDown1_ValueChanged(object sender, EventArgs e)
{
dinnerParty.numberOfPeople = (int)numericUpDown1.Value;
dinnerParty.CalculateCostOfDecorations(checkBox1.Checked);
DisplayDinnerPartyCost();


Just wanted to give the fix for the party planner project for those trying to solve it.
0

#2 User is offline   annuverma 

  • New Member
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 03-January 13

Posted 13 February 2013 - 02:29 AM

sorry friend I have no knowledge about this question......................................!

arounddelhi.net/?page_id=3771
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users