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

Inheritance: System.Windows.Forms.UserControl
显示文件 Open project: netTiers/netTiers

Protected Properties

Property Type Description
uxAvailabilityDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxCostRateDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxLocationBindingSource System.Windows.Forms.BindingSource
uxLocationDataGridView System.Windows.Forms.DataGridView
uxLocationErrorProvider System.Windows.Forms.ErrorProvider
uxLocationIdDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxModifiedDateDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxNameDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn

Private Properties

Property Type Description
OnLocationBindingSourceCurrentItemChanged void

Public Methods

Method Description
LocationDataGridViewBase ( )

Initializes a new instance of the LocationDataGridViewBase class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnCurrentEntityChanged ( ) : void

Raised the CurrentEntityChanged event.

OnLocationDataGridViewCellValueNeeded ( object sender, System e ) : void

Handles the CellValueNeeded event of the uxLocationDataGridView control.

OnLocationDataGridViewCellValuePushed ( object sender, System e ) : void

Handles the CellValuePushed event of the uxLocationDataGridView control.

OnLocationDataGridViewDataError ( object sender, System e ) : void

Handles the DataError event of the uxLocationDataGridView control.

Private Methods

Method Description
OnLocationBindingSourceCurrentItemChanged ( 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

LocationDataGridViewBase() public method

Initializes a new instance of the LocationDataGridViewBase class.

OnCurrentEntityChanged() protected method

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

OnLocationDataGridViewCellValueNeeded() protected method

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

OnLocationDataGridViewCellValuePushed() protected method

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

OnLocationDataGridViewDataError() protected method

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

Property Details

uxAvailabilityDataGridViewColumn protected_oe property

the DGV column associated with the Availability property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxAvailabilityDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxCostRateDataGridViewColumn protected_oe property

the DGV column associated with the CostRate property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxCostRateDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxLocationBindingSource protected_oe property

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

uxLocationDataGridView protected_oe property

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

uxLocationErrorProvider protected_oe property

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

uxLocationIdDataGridViewColumn protected_oe property

the DGV column associated with the LocationId property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxLocationIdDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxModifiedDateDataGridViewColumn protected_oe property

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

uxNameDataGridViewColumn protected_oe property

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