C# Class RockWeb.Blocks.Core.ScheduleDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
ファイルを表示 Open project: SparkDevNetwork/Rock

Public Methods

Method 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.

Protected Methods

Method 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

Method 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 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 scheduleId ) : void
scheduleId int The schedule identifier.
return void

ShowDetail() public method

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

ShowEditDetails() public method

Shows the edit details.
public ShowEditDetails ( Schedule schedule ) : void
schedule Schedule The schedule.
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

btnDelete_Click() protected method

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.
return void

btnEdit_Click() protected method

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.
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

sbSchedule_SaveSchedule() protected method

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.
return void