C# Class RockWeb.Blocks.Core.ScheduleDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Afficher le fichier Open project: SparkDevNetwork/Rock

Méthodes publiques

Méthode Description
ShowDetail ( int scheduleId ) : void

Shows the detail.

ShowDetail ( int scheduleId, int parentCategoryId ) : void

Shows the detail.

ShowEditDetails ( Schedule schedule ) : void

Shows the edit details.

Méthodes protégées

Méthode Description
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.

btnDelete_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDelete control.

btnEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnEdit control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

sbSchedule_SaveSchedule ( object sender, EventArgs e ) : void

Handles the SaveSchedule event of the sbSchedule control.

Private Methods

Méthode Description
GetOccurrenceText ( Occurrence occurrence ) : string

Gets the occurrence text.

SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowReadonlyDetails ( Schedule schedule ) : void

Shows the readonly details.

UpdateHelpText ( ) : void

Updates the help text.

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

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( int scheduleId ) : void
scheduleId int The schedule identifier.
Résultat void

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( int scheduleId, int parentCategoryId ) : void
scheduleId int The schedule identifier.
parentCategoryId int The parent category id.
Résultat void

ShowEditDetails() public méthode

Shows the edit details.
public ShowEditDetails ( Schedule schedule ) : void
schedule Schedule The schedule.
Résultat void

btnCancel_Click() protected méthode

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

btnDelete_Click() protected méthode

Handles the Click event of the btnDelete control.
protected btnDelete_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

btnEdit_Click() protected méthode

Handles the Click event of the btnEdit control.
protected btnEdit_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

sbSchedule_SaveSchedule() protected méthode

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