Foodolini.Activities.EditFoodItemDialog Class Reference

Dialog for editing a FoodItem. More...

Collaboration diagram for Foodolini.Activities.EditFoodItemDialog:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 EditFoodItemDialog (FoodItem food)
 Setup the dialog to reflect the given FoodItem.
void DontSave ()
 return the fooditem to previus settings

Protected Member Functions

virtual void OnBntIngreClicked (object sender, System.EventArgs e)
 Opens a dialog to select an Ingredient.
virtual void OnChOpenToggled (object sender, System.EventArgs e)
 Opens or close the FoodItem based on the Toggled.
virtual void Build ()

Properties

FoodItem Food [get]

Detailed Description

Dialog for editing a FoodItem.

Definition at line 13 of file EditFoodItemDialog.cs.


Constructor & Destructor Documentation

Foodolini.Activities.EditFoodItemDialog.EditFoodItemDialog ( FoodItem  food  ) 

Setup the dialog to reflect the given FoodItem.

Parameters:
food A FoodItem to edit.

Definition at line 27 of file EditFoodItemDialog.cs.


Member Function Documentation

virtual void Foodolini.Activities.EditFoodItemDialog.Build (  )  [protected, virtual]

Definition at line 42 of file Foodolini.Activities.EditFoodItemDialog.cs.

void Foodolini.Activities.EditFoodItemDialog.DontSave (  ) 

return the fooditem to previus settings

Definition at line 63 of file EditFoodItemDialog.cs.

virtual void Foodolini.Activities.EditFoodItemDialog.OnBntIngreClicked ( object  sender,
System.EventArgs  e 
) [protected, virtual]

Opens a dialog to select an Ingredient.

Parameters:
sender A System.Object
e A System.EventArgs

Definition at line 80 of file EditFoodItemDialog.cs.

virtual void Foodolini.Activities.EditFoodItemDialog.OnChOpenToggled ( object  sender,
System.EventArgs  e 
) [protected, virtual]

Opens or close the FoodItem based on the Toggled.

Parameters:
sender A System.Object
e A System.EventArgs

Definition at line 100 of file EditFoodItemDialog.cs.


Property Documentation

FoodItem Foodolini.Activities.EditFoodItemDialog.Food [get]

returns the FoodItem based on the dialog controllers

Definition at line 48 of file EditFoodItemDialog.cs.


The documentation for this class was generated from the following files:

Generated on Thu Dec 10 14:04:05 2009 for Foodolini by  doxygen 1.6.1