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

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

Protected Properties

Property Type Description
uxEmployeeIdDataGridViewColumn System.Windows.Forms.DataGridViewComboBoxColumn
uxFreightDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxModifiedDateDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxOrderDateDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxPurchaseOrderHeaderBindingSource System.Windows.Forms.BindingSource
uxPurchaseOrderHeaderDataGridView System.Windows.Forms.DataGridView
uxPurchaseOrderHeaderErrorProvider System.Windows.Forms.ErrorProvider
uxPurchaseOrderIdDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxRevisionNumberDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxShipDateDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxShipMethodIdDataGridViewColumn System.Windows.Forms.DataGridViewComboBoxColumn
uxStatusDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxSubTotalDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxTaxAmtDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxTotalDueDataGridViewColumn System.Windows.Forms.DataGridViewTextBoxColumn
uxVendorIdDataGridViewColumn System.Windows.Forms.DataGridViewComboBoxColumn

Private Properties

Property Type Description
OnPurchaseOrderHeaderBindingSourceCurrentItemChanged void

Public Methods

Method Description
PurchaseOrderHeaderDataGridViewBase ( )

Initializes a new instance of the PurchaseOrderHeaderDataGridViewBase class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnCurrentEntityChanged ( ) : void

Raised the CurrentEntityChanged event.

OnPurchaseOrderHeaderDataGridViewCellValueNeeded ( object sender, System e ) : void

Handles the CellValueNeeded event of the uxPurchaseOrderHeaderDataGridView control.

OnPurchaseOrderHeaderDataGridViewCellValuePushed ( object sender, System e ) : void

Handles the CellValuePushed event of the uxPurchaseOrderHeaderDataGridView control.

OnPurchaseOrderHeaderDataGridViewDataError ( object sender, System e ) : void

Handles the DataError event of the uxPurchaseOrderHeaderDataGridView control.

Private Methods

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

OnPurchaseOrderHeaderDataGridViewCellValueNeeded() protected method

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

OnPurchaseOrderHeaderDataGridViewCellValuePushed() protected method

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

OnPurchaseOrderHeaderDataGridViewDataError() protected method

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

PurchaseOrderHeaderDataGridViewBase() public method

Initializes a new instance of the PurchaseOrderHeaderDataGridViewBase class.

Property Details

uxEmployeeIdDataGridViewColumn protected_oe property

the DGV column associated with the EmployeeId property
protected System.Windows.Forms.DataGridViewComboBoxColumn uxEmployeeIdDataGridViewColumn
return System.Windows.Forms.DataGridViewComboBoxColumn

uxFreightDataGridViewColumn protected_oe property

the DGV column associated with the Freight property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxFreightDataGridViewColumn
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

uxOrderDateDataGridViewColumn protected_oe property

the DGV column associated with the OrderDate property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxOrderDateDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxPurchaseOrderHeaderBindingSource protected_oe property

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

uxPurchaseOrderHeaderDataGridView protected_oe property

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

uxPurchaseOrderHeaderErrorProvider protected_oe property

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

uxPurchaseOrderIdDataGridViewColumn protected_oe property

the DGV column associated with the PurchaseOrderId property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxPurchaseOrderIdDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxRevisionNumberDataGridViewColumn protected_oe property

the DGV column associated with the RevisionNumber property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxRevisionNumberDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxShipDateDataGridViewColumn protected_oe property

the DGV column associated with the ShipDate property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxShipDateDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxShipMethodIdDataGridViewColumn protected_oe property

the DGV column associated with the ShipMethodId property
protected System.Windows.Forms.DataGridViewComboBoxColumn uxShipMethodIdDataGridViewColumn
return System.Windows.Forms.DataGridViewComboBoxColumn

uxStatusDataGridViewColumn protected_oe property

the DGV column associated with the Status property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxStatusDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxSubTotalDataGridViewColumn protected_oe property

the DGV column associated with the SubTotal property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxSubTotalDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxTaxAmtDataGridViewColumn protected_oe property

the DGV column associated with the TaxAmt property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxTaxAmtDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxTotalDueDataGridViewColumn protected_oe property

the DGV column associated with the TotalDue property
protected System.Windows.Forms.DataGridViewTextBoxColumn uxTotalDueDataGridViewColumn
return System.Windows.Forms.DataGridViewTextBoxColumn

uxVendorIdDataGridViewColumn protected_oe property

the DGV column associated with the VendorId property
protected System.Windows.Forms.DataGridViewComboBoxColumn uxVendorIdDataGridViewColumn
return System.Windows.Forms.DataGridViewComboBoxColumn