C# Class RockWeb.Blocks.Finance.CreatePledge

Inheritance: Rock.Web.UI.RockBlock
Afficher le fichier Open project: CentralAZ/Rockit-CentralAZ

Private Properties

Свойство Type Description
FindPerson Person
GetPledges IEnumerable
ShowForm void
ShowReceipt void

Méthodes protégées

Méthode Description
OnLoad ( EventArgs e ) : void

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

btnConfirmNo_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnConfirmNo control.

btnConfirmYes_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnConfirmYes control.

btnGivingProfile_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnGivingProfile control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

rptAccounts_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void

Handles the ItemDataBound event of the rptAccounts control.

rptCompletedPledges_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void

Handles the ItemDataBound event of the rptCompletedPledges control.

Private Methods

Méthode Description
FindPerson ( RockContext rockContext ) : Person

Finds the person if they're logged in, or by email and name. If not found, creates a new person.

GetPledges ( Person person ) : IEnumerable

Finds the pledge.

ShowForm ( ) : void

Shows the view.

ShowReceipt ( IEnumerable ids ) : void

Shows the receipt.

Method Details

OnLoad() protected méthode

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

btnConfirmNo_Click() protected méthode

Handles the Click event of the btnConfirmNo control.
protected btnConfirmNo_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnConfirmYes_Click() protected méthode

Handles the Click event of the btnConfirmYes control.
protected btnConfirmYes_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnGivingProfile_Click() protected méthode

Handles the Click event of the btnGivingProfile control.
protected btnGivingProfile_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnSave_Click() protected méthode

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.
Résultat void

rptAccounts_ItemDataBound() protected méthode

Handles the ItemDataBound event of the rptAccounts control.
protected rptAccounts_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.RepeaterItemEventArgs The instance containing the event data.
Résultat void

rptCompletedPledges_ItemDataBound() protected méthode

Handles the ItemDataBound event of the rptCompletedPledges control.
protected rptCompletedPledges_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.RepeaterItemEventArgs The instance containing the event data.
Résultat void