C# Класс RockWeb.Blocks.Core.ScheduleDetail

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

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

Метод Описание
ShowDetail ( int scheduleId ) : void

Shows the detail.

ShowDetail ( int scheduleId, int parentCategoryId ) : void

Shows the detail.

ShowEditDetails ( Schedule schedule ) : void

Shows the edit details.

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

Метод Описание
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.

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

Метод Описание
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.

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

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 scheduleId ) : void
scheduleId int The schedule identifier.
Результат void

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

Shows the detail.
public ShowDetail ( int scheduleId, int parentCategoryId ) : void
scheduleId int The schedule identifier.
parentCategoryId int The parent category id.
Результат void

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

Shows the edit details.
public ShowEditDetails ( Schedule schedule ) : void
schedule Schedule The schedule.
Результат void

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

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.
Результат void

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

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.
Результат void

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

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.
Результат void

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

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.
Результат void

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

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.
Результат void