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

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

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

Метод Описание
GetBreadCrumbs ( PageReference pageReference ) : List

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs.

ShowDetail ( int batchId ) : void

Shows the detail.

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

Метод Описание
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

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.

ShowEditDetails ( FinancialBatch batch ) : void

Shows the edit details.

lbCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCancelFinancialBatch control.

lbEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbEdit control.

lbHistory_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbHistory control.

lbMatch_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbMatch control.

lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

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

Метод Описание
GetBatch ( int batchId, RockContext rockContext = null ) : FinancialBatch

Gets the batch.

SetEditMode ( bool editable ) : void

Sets the edit mode.

SetHeadingInfo ( FinancialBatch batch, string title ) : void

Sets the heading information.

ShowReadonlyDetails ( FinancialBatch batch ) : void

Shows the financial batch summary.

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

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

Handles the BlockUpdated event of the 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

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

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs.
public GetBreadCrumbs ( PageReference pageReference ) : List
pageReference PageReference The .
Результат List

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

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

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

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

Shows the edit details.
protected ShowEditDetails ( FinancialBatch batch ) : void
batch FinancialBatch The financial batch.
Результат void

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

Handles the Click event of the lbCancelFinancialBatch 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

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

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

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

Handles the Click event of the lbMatch control.
protected lbMatch_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат 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