C# Class RockWeb.Blocks.Finance.GatewayDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
显示文件 Open project: NewSpring/Rock

Public Methods

Method Description
ShowDetail ( int gatewayId ) : void

Shows the detail.

Protected Methods

Method Description
LoadViewState ( object savedState ) : void
OnLoad ( EventArgs e ) : void

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

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

cpGatewayType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the cpGatewayType control.

Private Methods

Method Description
BuildDynamicControls ( FinancialGateway gateway, bool SetValues ) : void
SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowEditDetails ( FinancialGateway gateway ) : void

Shows the edit details.

ShowReadonlyDetails ( FinancialGateway gateway ) : void

Shows the readonly details.

Method Details

LoadViewState() protected method

protected LoadViewState ( object savedState ) : void
savedState object
return void

OnLoad() protected method

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
return void

ShowDetail() public method

Shows the detail.
public ShowDetail ( int gatewayId ) : void
gatewayId int The gateway identifier.
return void

btnCancel_Click() protected method

Handles the Click event of the btnCancel control.
protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnSave_Click() protected method

Handles the Click event of the btnSave control.
protected btnSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

cpGatewayType_SelectedIndexChanged() protected method

Handles the SelectedIndexChanged event of the cpGatewayType control.
protected cpGatewayType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void