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

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

Private Properties

Свойство Тип Описание
BindLocations void
LoadDropDowns void
SetPrinterSettingsVisibility void
SetPrinterVisibility void
VerifyUniqueIpAddress bool

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

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

Shows the edit.

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

Метод Описание
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

OnInit ( EventArgs e ) : void

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

OnLoad ( EventArgs e ) : void

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

btnAddLocation_Click ( object sender, EventArgs e ) : void
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.

cvIpAddress_ServerValidate ( object source, System.Web.UI.WebControls.ServerValidateEventArgs args ) : void

Handles the ServerValidate event of the cvIpAddress control.

ddlDeviceType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles when the device type selection is changed.

ddlPrintTo_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles when the Print To selection is changed.

gLocations_AddClick ( object sender, EventArgs e ) : void
gLocations_Delete ( object sender, Rock e ) : void
gLocations_GridRebind ( object sender, EventArgs e ) : void

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

Метод Описание
BindLocations ( ) : void
LoadDropDowns ( ) : void

Loads the drop downs.

SetPrinterSettingsVisibility ( ) : void

Decide if the printer settings section should be hidden.

SetPrinterVisibility ( ) : void

Decide if the printer drop down list should be hidden.

VerifyUniqueIpAddress ( ) : bool

Verifies the ip address is unique.

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

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

Handles the BlockUpdated event of the control.
protected Block_BlockUpdated ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

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 edit.
public ShowDetail ( int DeviceId ) : void
DeviceId int The device identifier.
Результат void

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

protected btnAddLocation_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат 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

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

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

Handles the ServerValidate event of the cvIpAddress control.
protected cvIpAddress_ServerValidate ( object source, System.Web.UI.WebControls.ServerValidateEventArgs args ) : void
source object The source of the event.
args System.Web.UI.WebControls.ServerValidateEventArgs The instance containing the event data.
Результат void

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

Handles when the device type selection is changed.
protected ddlDeviceType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles when the Print To selection is changed.
protected ddlPrintTo_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

protected gLocations_AddClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

protected gLocations_Delete ( object sender, Rock e ) : void
sender object
e Rock
Результат void

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

protected gLocations_GridRebind ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void