C# Class Controls.Food

Inheritance: Item
显示文件 Open project: paigedr/swipenserve Class Usage Examples

Protected Properties

Property Type Description
amounts ItemList
options ItemList
sizes ItemList

Public Methods

Method Description
Amount ( ) : double
AmountDown ( ) : void
AmountUp ( ) : void
Amounts ( ) : ItemList
DisplayAmounts ( Image img, int displaytype ) : void
DisplayAmounts ( System.Windows.Controls.Label labels ) : void
DisplayOptions ( Image img, int displaytype ) : void
DisplayOptions ( System.Windows.Controls.Label labels ) : void
DisplaySizes ( Image img, int displaytype ) : void
DisplaySizes ( System.Windows.Controls.Label labels ) : void
Food ( Food f ) : System
Food ( string n, string i, ItemList s, ItemList a, ItemList o, double p, string alt = "" ) : System
Option ( ) : Item
OptionDown ( ) : void
OptionNames ( ) : string[]
OptionToggle ( ) : void
OptionUp ( ) : void
Options ( System.Boolean onlyselected = false ) : ItemList
SizeDown ( ) : void
SizeName ( ) : string
SizeUp ( ) : void
Sizes ( ) : ItemList
TotalPrice ( ) : double

Method Details

Amount() public method

public Amount ( ) : double
return double

AmountDown() public method

public AmountDown ( ) : void
return void

AmountUp() public method

public AmountUp ( ) : void
return void

Amounts() public method

public Amounts ( ) : ItemList
return ItemList

DisplayAmounts() public method

public DisplayAmounts ( Image img, int displaytype ) : void
img Image
displaytype int
return void

DisplayAmounts() public method

public DisplayAmounts ( System.Windows.Controls.Label labels ) : void
labels System.Windows.Controls.Label
return void

DisplayOptions() public method

public DisplayOptions ( Image img, int displaytype ) : void
img Image
displaytype int
return void

DisplayOptions() public method

public DisplayOptions ( System.Windows.Controls.Label labels ) : void
labels System.Windows.Controls.Label
return void

DisplaySizes() public method

public DisplaySizes ( Image img, int displaytype ) : void
img Image
displaytype int
return void

DisplaySizes() public method

public DisplaySizes ( System.Windows.Controls.Label labels ) : void
labels System.Windows.Controls.Label
return void

Food() public method

public Food ( Food f ) : System
f Food
return System

Food() public method

public Food ( string n, string i, ItemList s, ItemList a, ItemList o, double p, string alt = "" ) : System
n string
i string
s ItemList
a ItemList
o ItemList
p double
alt string
return System

Option() public method

public Option ( ) : Item
return Item

OptionDown() public method

public OptionDown ( ) : void
return void

OptionNames() public method

public OptionNames ( ) : string[]
return string[]

OptionToggle() public method

public OptionToggle ( ) : void
return void

OptionUp() public method

public OptionUp ( ) : void
return void

Options() public method

public Options ( System.Boolean onlyselected = false ) : ItemList
onlyselected System.Boolean
return ItemList

SizeDown() public method

public SizeDown ( ) : void
return void

SizeName() public method

public SizeName ( ) : string
return string

SizeUp() public method

public SizeUp ( ) : void
return void

Sizes() public method

public Sizes ( ) : ItemList
return ItemList

TotalPrice() public method

public TotalPrice ( ) : double
return double

Property Details

amounts protected_oe property

protected ItemList,Controls amounts
return ItemList

options protected_oe property

protected ItemList,Controls options
return ItemList

sizes protected_oe property

protected ItemList,Controls sizes
return ItemList