C# Class Nettiers.AdventureWorks.Windows.Forms.SalesReasonDataGridViewBase

Inheritance: System.Windows.Forms.UserControl
Show file Open project: netTiers/netTiers

Protected Properties

Property Type Description
uxModifiedDateDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxNameDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxReasonTypeDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxSalesReasonBindingSource System.Windows.Forms.BindingSource
uxSalesReasonDataGridView System.Windows.Forms.DataGridView
uxSalesReasonErrorProvider System.Windows.Forms.ErrorProvider
uxSalesReasonIdDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn

Private Properties

Property Type Description
OnSalesReasonBindingSourceCurrentItemChanged void

Public Methods

Method Description
SalesReasonDataGridViewBase ( )

Initializes a new instance of the SalesReasonDataGridViewBase class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnCurrentEntityChanged ( ) : void

Raised the CurrentEntityChanged event.

OnSalesReasonDataGridViewCellValueNeeded ( object sender, System e ) : void

Handles the CellValueNeeded event of the uxSalesReasonDataGridView control.

OnSalesReasonDataGridViewCellValuePushed ( object sender, System e ) : void

Handles the CellValuePushed event of the uxSalesReasonDataGridView control.

OnSalesReasonDataGridViewDataError ( object sender, System e ) : void

Handles the DataError event of the uxSalesReasonDataGridView control.

Private Methods

Method Description
OnSalesReasonBindingSourceCurrentItemChanged ( object sender, System e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

OnCurrentEntityChanged() protected method

Raised the CurrentEntityChanged event.
protected OnCurrentEntityChanged ( ) : void
return void

OnSalesReasonDataGridViewCellValueNeeded() protected method

Handles the CellValueNeeded event of the uxSalesReasonDataGridView control.
protected OnSalesReasonDataGridViewCellValueNeeded ( object sender, System e ) : void
sender object The source of the event.
e System The instance containing the event data.
return void

OnSalesReasonDataGridViewCellValuePushed() protected method

Handles the CellValuePushed event of the uxSalesReasonDataGridView control.
protected OnSalesReasonDataGridViewCellValuePushed ( object sender, System e ) : void
sender object The source of the event.
e System The instance containing the event data.
return void

OnSalesReasonDataGridViewDataError() protected method

Handles the DataError event of the uxSalesReasonDataGridView control.
protected OnSalesReasonDataGridViewDataError ( object sender, System e ) : void
sender object The source of the event.
e System The instance containing the event data.
return void

SalesReasonDataGridViewBase() public method

Initializes a new instance of the SalesReasonDataGridViewBase class.

Property Details

uxModifiedDateDataGridViewColumn protected property

the DGV column associated with the ModifiedDate property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxModifiedDateDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxNameDataGridViewColumn protected property

the DGV column associated with the Name property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxNameDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxReasonTypeDataGridViewColumn protected property

the DGV column associated with the ReasonType property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxReasonTypeDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxSalesReasonBindingSource protected property

the bindingsource
protected System.Windows.Forms.BindingSource uxSalesReasonBindingSource
return System.Windows.Forms.BindingSource

uxSalesReasonDataGridView protected property

the datagridview instance
protected System.Windows.Forms.DataGridView uxSalesReasonDataGridView
return System.Windows.Forms.DataGridView

uxSalesReasonErrorProvider protected property

the errorprovider
protected System.Windows.Forms.ErrorProvider uxSalesReasonErrorProvider
return System.Windows.Forms.ErrorProvider

uxSalesReasonIdDataGridViewColumn protected property

the DGV column associated with the SalesReasonId property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxSalesReasonIdDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn