C# Класс RockWeb.Blocks.Finance.TransactionDetail

Наследование: Rock.Web.UI.RockBlock, IDetailBlock
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
BindAccounts void
BindDropdowns void
BindImages void
GetTransaction FinancialTransaction
HideDialog void
SetCreditCardVisibility void
SetEditMode void
SetHeadingInfo void
ShowAccountDialog void
ShowDialog void
ShowDialog void
ShowEditDetails void
ShowNextButton void
ShowReadOnlyDetails void
ShowRefundDialog void
gAccountsEdit_AddClick void
gAccountsEdit_GridRebind void
gAccountsEdit_RowDataBound void

Открытые методы

Метод Описание
ShowDetail ( int transactionId ) : void

Shows the detail.

ShowDetail ( int transactionId, int batchId ) : void

Shows the detail.

Защищенные методы

Метод Описание
AccountName ( int accountId ) : string

Accounts the name.

Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the Block control.

GetDefinedValue ( int definedValueId ) : string

Gets the defined value.

GetFinancialGatewayName ( int gatewayId, RockContext rockContext ) : string

Gets the name of the financial gateway.

ImageUrl ( int binaryFileId, int maxWidth = null, int maxHeight = null ) : string

Images the URL.

LoadViewState ( object savedState ) : void

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

OnPreRender ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.PreRender event.

SaveViewState ( ) : object

Saves any user control view-state changes that have occurred since the last page postback.

cbIsRefund_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the cbIsRefund control.

ddlCurrencyType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlCurrencyType control.

dlImages_ItemDataBound ( object sender, System.Web.UI.WebControls.DataListItemEventArgs e ) : void

Handles the ItemDataBound event of the dlImages control.

gAccountsEdit_DeleteClick ( object sender, RowEventArgs e ) : void

Handles the DeleteClick event of the gAccountsEdit control.

gAccountsEdit_EditClick ( object sender, RowEventArgs e ) : void

Handles the EditClick event of the gAccountsEdit control.

imgupImage_ImageRemoved ( object sender, ImageUploaderEventArgs e ) : void

Handles the ImageRemoved event of the imgupImage control.

imgupImage_ImageUploaded ( object sender, ImageUploaderEventArgs e ) : void

Handles the ImageUploaded event of the imgupImage control.

lbAddTransaction_Click ( object sender, EventArgs e ) : void
lbCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCancel control.

lbEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbEdit control.

lbRefundTransaction_Click ( object sender, EventArgs e ) : void
lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

lbShowMore_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbShowMore control.

mdAccount_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the mdAccount control.

mdRefund_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the mdRefund control.

ppAuthorizedPerson_SelectPerson ( object sender, EventArgs e ) : void

Handles the SelectPerson event of the ppAuthorizedPerson control.

Приватные методы

Метод Описание
BindAccounts ( ) : void

Binds the transaction details.

BindDropdowns ( RockContext rockContext ) : void

Binds the dropdowns.

BindImages ( ) : void
GetTransaction ( int transactionId, RockContext rockContext = null ) : FinancialTransaction

Gets the transaction.

HideDialog ( ) : void

Hides the dialog.

SetCreditCardVisibility ( ) : void

Sets the credit card visibility.

SetEditMode ( bool editable ) : void

Sets the edit mode.

SetHeadingInfo ( FinancialTransaction txn ) : void

Sets the heading information.

ShowAccountDialog ( System.Guid guid ) : void

Shows the account dialog.

ShowDialog ( ) : void

Shows the dialog.

ShowDialog ( string dialog ) : void

Shows the dialog.

ShowEditDetails ( FinancialTransaction txn, RockContext rockContext ) : void

Shows the edit details.

ShowNextButton ( int transactionId, int batchId ) : void

Navigates to the next transaction in the list.

ShowReadOnlyDetails ( FinancialTransaction txn ) : void

Shows the read only details.

ShowRefundDialog ( ) : void

Shows the refund dialog.

gAccountsEdit_AddClick ( object sender, EventArgs e ) : void

Handles the AddClick event of the gAccountsEdit control.

gAccountsEdit_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gAccountsEdit control.

gAccountsEdit_RowDataBound ( object sender, System.Web.UI.WebControls.GridViewRowEventArgs e ) : void

Handles the RowDataBound event of the gAccountsEdit control.

Описание методов

AccountName() защищенный Метод

Accounts the name.
protected AccountName ( int accountId ) : string
accountId int The account identifier.
Результат string

Block_BlockUpdated() защищенный Метод

Handles the BlockUpdated event of the Block control.
protected Block_BlockUpdated ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

GetDefinedValue() защищенный Метод

Gets the defined value.
protected GetDefinedValue ( int definedValueId ) : string
definedValueId int The defined value identifier.
Результат string

GetFinancialGatewayName() защищенный Метод

Gets the name of the financial gateway.
protected GetFinancialGatewayName ( int gatewayId, RockContext rockContext ) : string
gatewayId int The gateway identifier.
rockContext Rock.Data.RockContext The rock context.
Результат string

ImageUrl() защищенный Метод

Images the URL.
protected ImageUrl ( int binaryFileId, int maxWidth = null, int maxHeight = null ) : string
binaryFileId int The binary file identifier.
maxWidth int The maximum width.
maxHeight int The maximum height.
Результат string

LoadViewState() защищенный Метод

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.
protected LoadViewState ( object savedState ) : void
savedState object An that represents the user control state to be restored.
Результат void

OnInit() защищенный Метод

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

OnLoad() защищенный Метод

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Результат void

OnPreRender() защищенный Метод

Raises the E:System.Web.UI.Control.PreRender event.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

SaveViewState() защищенный Метод

Saves any user control view-state changes that have occurred since the last page postback.
protected SaveViewState ( ) : object
Результат object

ShowDetail() публичный Метод

Shows the detail.
public ShowDetail ( int transactionId ) : void
transactionId int The transaction identifier.
Результат void

ShowDetail() публичный Метод

Shows the detail.
public ShowDetail ( int transactionId, int batchId ) : void
transactionId int The transaction identifier.
batchId int
Результат void

cbIsRefund_CheckedChanged() защищенный Метод

Handles the CheckedChanged event of the cbIsRefund control.
protected cbIsRefund_CheckedChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

ddlCurrencyType_SelectedIndexChanged() защищенный Метод

Handles the SelectedIndexChanged event of the ddlCurrencyType control.
protected ddlCurrencyType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

dlImages_ItemDataBound() защищенный Метод

Handles the ItemDataBound event of the dlImages control.
protected dlImages_ItemDataBound ( object sender, System.Web.UI.WebControls.DataListItemEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.DataListItemEventArgs The instance containing the event data.
Результат void

gAccountsEdit_DeleteClick() защищенный Метод

Handles the DeleteClick event of the gAccountsEdit control.
protected gAccountsEdit_DeleteClick ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
Результат void

gAccountsEdit_EditClick() защищенный Метод

Handles the EditClick event of the gAccountsEdit control.
protected gAccountsEdit_EditClick ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
Результат void

imgupImage_ImageRemoved() защищенный Метод

Handles the ImageRemoved event of the imgupImage control.
protected imgupImage_ImageRemoved ( object sender, ImageUploaderEventArgs e ) : void
sender object The source of the event.
e ImageUploaderEventArgs The instance containing the event data.
Результат void

imgupImage_ImageUploaded() защищенный Метод

Handles the ImageUploaded event of the imgupImage control.
protected imgupImage_ImageUploaded ( object sender, ImageUploaderEventArgs e ) : void
sender object The source of the event.
e ImageUploaderEventArgs The instance containing the event data.
Результат void

lbAddTransaction_Click() защищенный Метод

protected lbAddTransaction_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

lbCancel_Click() защищенный Метод

Handles the Click event of the lbCancel control.
protected lbCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

lbEdit_Click() защищенный Метод

Handles the Click event of the lbEdit control.
protected lbEdit_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

lbRefundTransaction_Click() защищенный Метод

protected lbRefundTransaction_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

lbSave_Click() защищенный Метод

Handles the Click event of the lbSave control.
protected lbSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

lbShowMore_Click() защищенный Метод

Handles the Click event of the lbShowMore control.
protected lbShowMore_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

mdAccount_SaveClick() защищенный Метод

Handles the SaveClick event of the mdAccount control.
protected mdAccount_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

mdRefund_SaveClick() защищенный Метод

Handles the SaveClick event of the mdRefund control.
protected mdRefund_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

ppAuthorizedPerson_SelectPerson() защищенный Метод

Handles the SelectPerson event of the ppAuthorizedPerson control.
protected ppAuthorizedPerson_SelectPerson ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void