C# Class InterfaceLayer.ProductPanel

Inheritance: System.Windows.Forms.Panel
Show file Open project: larryslack/OrderingProject Class Usage Examples

Public Properties

Property Type Description
btnDelete System.Windows.Forms.Button
comboProduct System.Windows.Forms.ComboBox
productListInternal List
txtDiscount System.Windows.Forms.TextBox
txtPrice System.Windows.Forms.TextBox
txtQuantity System.Windows.Forms.TextBox

Protected Properties

Property Type Description
Addto System.Windows.Forms.Panel

Public Methods

Method Description
ProductPanel ( Panel add2, int locationy, List productlist ) : System
txtDiscount_Leave ( object sender, EventArgs e ) : void
txtDiscount_TextChanged ( object sender, EventArgs e ) : void
txtPrice_TextChanged ( object sender, EventArgs e ) : void
txtQuantity_TextChanged ( object sender, EventArgs e ) : void
updatePrice ( ) : void

Method Details

ProductPanel() public method

public ProductPanel ( Panel add2, int locationy, List productlist ) : System
add2 System.Windows.Forms.Panel
locationy int
productlist List
return System

txtDiscount_Leave() public method

public txtDiscount_Leave ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

txtDiscount_TextChanged() public method

public txtDiscount_TextChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

txtPrice_TextChanged() public method

public txtPrice_TextChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

txtQuantity_TextChanged() public method

public txtQuantity_TextChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

updatePrice() public method

public updatePrice ( ) : void
return void

Property Details

Addto protected property

protected Panel,System.Windows.Forms Addto
return System.Windows.Forms.Panel

btnDelete public property

public Button,System.Windows.Forms btnDelete
return System.Windows.Forms.Button

comboProduct public property

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

productListInternal public property

public List productListInternal
return List

txtDiscount public property

public TextBox,System.Windows.Forms txtDiscount
return System.Windows.Forms.TextBox

txtPrice public property

public TextBox,System.Windows.Forms txtPrice
return System.Windows.Forms.TextBox

txtQuantity public property

public TextBox,System.Windows.Forms txtQuantity
return System.Windows.Forms.TextBox