C# Class InterfaceLayer.BrettProductPanel

Inheritance: System.Windows.Forms.Panel
Datei anzeigen Open project: larryslack/OrderingProject Class Usage Examples

Public Properties

Property Type Description
cmbProducts System.Windows.Forms.ComboBox

Public Methods

Method Description
BrettProductPanel ( List panelList, List productList, int containerWidth, int containerHeight, int containerLeft ) : System
BrettProductPanel ( List panelList, List productList, int containerWidth, int containerHeight, int containerLeft, int selectedProductID, short quantity, float discount, decimal price ) : System
FoundSameProduct ( bool blnFoundSame ) : void
WowSelectedIndexIsAnnoying ( ) : void

For some reason selected index doesnt want to play nice, so I call it again at the end of it all.

Private Methods

Method Description
AddContols ( ) : void
CalcPrice ( int index ) : void
LoadPanel ( ) : void
PrepForCalculation ( ) : void
SetupComboBox ( ) : void
SetupControls ( ) : void
SetupPanel ( List panelList, List productList, int containerWidth, int containerHeight, int containerLeft ) : void
cmbProductsProductsSelected ( object sender, EventArgs e ) : void

Method Details

BrettProductPanel() public method

public BrettProductPanel ( List panelList, List productList, int containerWidth, int containerHeight, int containerLeft ) : System
panelList List
productList List
containerWidth int
containerHeight int
containerLeft int
return System

BrettProductPanel() public method

public BrettProductPanel ( List panelList, List productList, int containerWidth, int containerHeight, int containerLeft, int selectedProductID, short quantity, float discount, decimal price ) : System
panelList List
productList List
containerWidth int
containerHeight int
containerLeft int
selectedProductID int
quantity short
discount float
price decimal
return System

FoundSameProduct() public method

public FoundSameProduct ( bool blnFoundSame ) : void
blnFoundSame bool
return void

WowSelectedIndexIsAnnoying() public method

For some reason selected index doesnt want to play nice, so I call it again at the end of it all.
public WowSelectedIndexIsAnnoying ( ) : void
return void

Property Details

cmbProducts public_oe property

public ComboBox,System.Windows.Forms cmbProducts
return System.Windows.Forms.ComboBox