C# 클래스 Engage.Dnn.Booking.AppointmentRequest

파일 보기 프로젝트 열기: EngageSoftware/Engage-Booking

보호된 프로퍼티들

프로퍼티 타입 설명
AdditionalAddressInfoTextBox global::System.Web.UI.WebControls.TextBox
AppointmentRequestPanel global::System.Web.UI.WebControls.Panel
AppointmentTypeDropDownList global::System.Web.UI.WebControls.DropDownList
CancelAppointmentButton global::System.Web.UI.WebControls.Button
CityTextBox global::System.Web.UI.WebControls.TextBox
CreateNewAppointmentButton global::System.Web.UI.WebControls.Button
CustomField10TextBox global::System.Web.UI.WebControls.TextBox
CustomField1TextBox global::System.Web.UI.WebControls.TextBox
CustomField2TextBox global::System.Web.UI.WebControls.TextBox
CustomField3TextBox global::System.Web.UI.WebControls.TextBox
CustomField4TextBox global::System.Web.UI.WebControls.TextBox
CustomField5TextBox global::System.Web.UI.WebControls.TextBox
CustomField6TextBox global::System.Web.UI.WebControls.TextBox
CustomField7TextBox global::System.Web.UI.WebControls.TextBox
CustomField8TextBox global::System.Web.UI.WebControls.TextBox
CustomField9TextBox global::System.Web.UI.WebControls.TextBox
DescriptionTextBox global::System.Web.UI.WebControls.TextBox
DurationValidator global::System.Web.UI.WebControls.CustomValidator
EndDateTimePicker global::Telerik.Web.UI.RadDateTimePicker
FooterButtonsMultiview global::System.Web.UI.WebControls.MultiView
GenderDropDownList global::System.Web.UI.WebControls.DropDownList
HomeButton global::System.Web.UI.WebControls.Button
InDaylightTimeCheckBox global::System.Web.UI.WebControls.CheckBox
InstructionsTextBox global::System.Web.UI.WebControls.TextBox
NotesTextBox global::System.Web.UI.WebControls.TextBox
NumberOfSpecialParticipantsTextBox global::System.Web.UI.WebControls.TextBox
OnsiteNameTextBox global::System.Web.UI.WebControls.TextBox
OnsitePhoneTextBox global::System.Web.UI.WebControls.TextBox
PostalCodeTextBox global::System.Web.UI.WebControls.TextBox
PresenterDropDownList global::System.Web.UI.WebControls.DropDownList
RegionDropDownList global::System.Web.UI.WebControls.DropDownList
RequestorAltPhoneTextBox global::System.Web.UI.WebControls.TextBox
RequestorAltPhoneTypeDropDownList global::System.Web.UI.WebControls.DropDownList
RequestorEmailFormatValidator global::System.Web.UI.WebControls.RegularExpressionValidator
RequestorEmailTextBox global::System.Web.UI.WebControls.TextBox
RequestorNameLabel global::System.Web.UI.WebControls.Label
RequestorNameTextBox global::System.Web.UI.WebControls.TextBox
RequestorPhoneTextBox global::System.Web.UI.WebControls.TextBox
RequestorPhoneTypeDropDownList global::System.Web.UI.WebControls.DropDownList
RoomTextBox global::System.Web.UI.WebControls.TextBox
SaveAndCreateNewAppointmentButton global::System.Web.UI.WebControls.Button
SaveAppointmentButton global::System.Web.UI.WebControls.Button
SaveView global::System.Web.UI.WebControls.View
StartDateTimePicker global::Telerik.Web.UI.RadDateTimePicker
StreetTextBox global::System.Web.UI.WebControls.TextBox
SuccessModuleMessage global::Engage.Dnn.Booking.ModuleMessage
SuccessView global::System.Web.UI.WebControls.View
TimeZoneDropDownList global::System.Web.UI.WebControls.DropDownList
TitleTextBox global::System.Web.UI.WebControls.TextBox
TotalNumberParticipantsTextBox global::System.Web.UI.WebControls.TextBox
UniqueTimeslotValidator global::System.Web.UI.WebControls.CustomValidator

Private Properties

프로퍼티 타입 설명
CancelAppointmentButton_OnClick void
CreateNewAppointmentButton_OnClick void
DisplayFinalSuccess void
DurationValidator_ServerValidate void
GetDateFromQueryString DateTime?
GetDefaultAppointmentDuration int
GetNextDuration DateTime
HomeButton_OnClick void
Insert void
KickOutUnauthorizedUsers void
Page_Load void
Save void
SaveAndCreateNewAppointmentButton_OnClick void
SaveAppointmentButton_OnClick void
SetupControl void
UniqueTimeslotValidator_ServerValidate void

보호된 메소드들

메소드 설명
OnInit ( EventArgs e ) : void

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

비공개 메소드들

메소드 설명
CancelAppointmentButton_OnClick ( object sender, EventArgs e ) : void

Handles the OnClick event of the CancelAppointmentButton control.

CreateNewAppointmentButton_OnClick ( object sender, EventArgs e ) : void

Handles the OnClick event of the CreateNewAppointmentButton control.

DisplayFinalSuccess ( ) : void

Displays the final success.

DurationValidator_ServerValidate ( object source, ServerValidateEventArgs args ) : void

Validates that the time requested by the user is greater than or equal to the minimum or less than or equal to the maximum allowed.

GetDateFromQueryString ( string parameterName ) : DateTime?

This method is responsible for updating an Appointment which already exists.

Gets a date from the HttpRequest.QueryString (handling specific formatting requirements).

GetDefaultAppointmentDuration ( ) : int

Gets the default duration of the appointment.

GetNextDuration ( ) : DateTime

Gets the next time that is a full duration (currently half hour) from now (i.e. if the time is currently 4:13, returns 4:30).

HomeButton_OnClick ( object sender, EventArgs e ) : void

Handles the OnClick event of the HomeButton control.

Insert ( ) : void

Based on the values entered by the user for the event, this method will populate an Appointment and save it

KickOutUnauthorizedUsers ( ) : void

Verifies that the current user can submit a request for an appointment. If not, redirects anonymous users to the login page, and other users to the home page of this module

Page_Load ( object sender, EventArgs e ) : void

Handles the Load event of the Page control.

Save ( ) : void

This method will either update or create an Appointment

SaveAndCreateNewAppointmentButton_OnClick ( object sender, EventArgs e ) : void

Handles the ImageButton.Click event of the SaveAndCreateNewAppointmentButton control.

SaveAppointmentButton_OnClick ( object sender, EventArgs e ) : void

Handles the ImageButton.Click event of the SaveAppointmentButton control.

SetupControl ( ) : void

Sets up the controls on the form.

UniqueTimeslotValidator_ServerValidate ( object source, ServerValidateEventArgs args ) : void

Handles the CustomValidator.ServerValidate event of the UniqueTimeslotValidator control.

메소드 상세

OnInit() 보호된 메소드

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e EventArgs An object that contains the event data.
리턴 void

프로퍼티 상세

AdditionalAddressInfoTextBox 보호되어 있는 프로퍼티

AdditionalAddressInfoTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox AdditionalAddressInfoTextBox
리턴 global::System.Web.UI.WebControls.TextBox

AppointmentRequestPanel 보호되어 있는 프로퍼티

AppointmentRequestPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel AppointmentRequestPanel
리턴 global::System.Web.UI.WebControls.Panel

AppointmentTypeDropDownList 보호되어 있는 프로퍼티

AppointmentTypeDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList AppointmentTypeDropDownList
리턴 global::System.Web.UI.WebControls.DropDownList

CancelAppointmentButton 보호되어 있는 프로퍼티

CancelAppointmentButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button CancelAppointmentButton
리턴 global::System.Web.UI.WebControls.Button

CityTextBox 보호되어 있는 프로퍼티

CityTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CityTextBox
리턴 global::System.Web.UI.WebControls.TextBox

CreateNewAppointmentButton 보호되어 있는 프로퍼티

CreateNewAppointmentButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button CreateNewAppointmentButton
리턴 global::System.Web.UI.WebControls.Button

CustomField10TextBox 보호되어 있는 프로퍼티

CustomField10TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField10TextBox
리턴 global::System.Web.UI.WebControls.TextBox

CustomField1TextBox 보호되어 있는 프로퍼티

CustomField1TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField1TextBox
리턴 global::System.Web.UI.WebControls.TextBox

CustomField2TextBox 보호되어 있는 프로퍼티

CustomField2TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField2TextBox
리턴 global::System.Web.UI.WebControls.TextBox

CustomField3TextBox 보호되어 있는 프로퍼티

CustomField3TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField3TextBox
리턴 global::System.Web.UI.WebControls.TextBox

CustomField4TextBox 보호되어 있는 프로퍼티

CustomField4TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField4TextBox
리턴 global::System.Web.UI.WebControls.TextBox

CustomField5TextBox 보호되어 있는 프로퍼티

CustomField5TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField5TextBox
리턴 global::System.Web.UI.WebControls.TextBox

CustomField6TextBox 보호되어 있는 프로퍼티

CustomField6TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField6TextBox
리턴 global::System.Web.UI.WebControls.TextBox

CustomField7TextBox 보호되어 있는 프로퍼티

CustomField7TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField7TextBox
리턴 global::System.Web.UI.WebControls.TextBox

CustomField8TextBox 보호되어 있는 프로퍼티

CustomField8TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField8TextBox
리턴 global::System.Web.UI.WebControls.TextBox

CustomField9TextBox 보호되어 있는 프로퍼티

CustomField9TextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox CustomField9TextBox
리턴 global::System.Web.UI.WebControls.TextBox

DescriptionTextBox 보호되어 있는 프로퍼티

DescriptionTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox DescriptionTextBox
리턴 global::System.Web.UI.WebControls.TextBox

DurationValidator 보호되어 있는 프로퍼티

DurationValidator control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CustomValidator DurationValidator
리턴 global::System.Web.UI.WebControls.CustomValidator

EndDateTimePicker 보호되어 있는 프로퍼티

EndDateTimePicker control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadDateTimePicker EndDateTimePicker
리턴 global::Telerik.Web.UI.RadDateTimePicker

FooterButtonsMultiview 보호되어 있는 프로퍼티

FooterButtonsMultiview control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.MultiView FooterButtonsMultiview
리턴 global::System.Web.UI.WebControls.MultiView

GenderDropDownList 보호되어 있는 프로퍼티

GenderDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList GenderDropDownList
리턴 global::System.Web.UI.WebControls.DropDownList

HomeButton 보호되어 있는 프로퍼티

HomeButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button HomeButton
리턴 global::System.Web.UI.WebControls.Button

InDaylightTimeCheckBox 보호되어 있는 프로퍼티

InDaylightTimeCheckBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CheckBox InDaylightTimeCheckBox
리턴 global::System.Web.UI.WebControls.CheckBox

InstructionsTextBox 보호되어 있는 프로퍼티

InstructionsTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox InstructionsTextBox
리턴 global::System.Web.UI.WebControls.TextBox

NotesTextBox 보호되어 있는 프로퍼티

NotesTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox NotesTextBox
리턴 global::System.Web.UI.WebControls.TextBox

NumberOfSpecialParticipantsTextBox 보호되어 있는 프로퍼티

NumberOfSpecialParticipantsTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox NumberOfSpecialParticipantsTextBox
리턴 global::System.Web.UI.WebControls.TextBox

OnsiteNameTextBox 보호되어 있는 프로퍼티

OnsiteNameTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox OnsiteNameTextBox
리턴 global::System.Web.UI.WebControls.TextBox

OnsitePhoneTextBox 보호되어 있는 프로퍼티

OnsitePhoneTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox OnsitePhoneTextBox
리턴 global::System.Web.UI.WebControls.TextBox

PostalCodeTextBox 보호되어 있는 프로퍼티

PostalCodeTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox PostalCodeTextBox
리턴 global::System.Web.UI.WebControls.TextBox

PresenterDropDownList 보호되어 있는 프로퍼티

PresenterDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList PresenterDropDownList
리턴 global::System.Web.UI.WebControls.DropDownList

RegionDropDownList 보호되어 있는 프로퍼티

RegionDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList RegionDropDownList
리턴 global::System.Web.UI.WebControls.DropDownList

RequestorAltPhoneTextBox 보호되어 있는 프로퍼티

RequestorAltPhoneTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox RequestorAltPhoneTextBox
리턴 global::System.Web.UI.WebControls.TextBox

RequestorAltPhoneTypeDropDownList 보호되어 있는 프로퍼티

RequestorAltPhoneTypeDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList RequestorAltPhoneTypeDropDownList
리턴 global::System.Web.UI.WebControls.DropDownList

RequestorEmailFormatValidator 보호되어 있는 프로퍼티

RequestorEmailFormatValidator control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RegularExpressionValidator RequestorEmailFormatValidator
리턴 global::System.Web.UI.WebControls.RegularExpressionValidator

RequestorEmailTextBox 보호되어 있는 프로퍼티

RequestorEmailTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox RequestorEmailTextBox
리턴 global::System.Web.UI.WebControls.TextBox

RequestorNameLabel 보호되어 있는 프로퍼티

RequestorNameLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label RequestorNameLabel
리턴 global::System.Web.UI.WebControls.Label

RequestorNameTextBox 보호되어 있는 프로퍼티

RequestorNameTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox RequestorNameTextBox
리턴 global::System.Web.UI.WebControls.TextBox

RequestorPhoneTextBox 보호되어 있는 프로퍼티

RequestorPhoneTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox RequestorPhoneTextBox
리턴 global::System.Web.UI.WebControls.TextBox

RequestorPhoneTypeDropDownList 보호되어 있는 프로퍼티

RequestorPhoneTypeDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList RequestorPhoneTypeDropDownList
리턴 global::System.Web.UI.WebControls.DropDownList

RoomTextBox 보호되어 있는 프로퍼티

RoomTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox RoomTextBox
리턴 global::System.Web.UI.WebControls.TextBox

SaveAndCreateNewAppointmentButton 보호되어 있는 프로퍼티

SaveAndCreateNewAppointmentButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button SaveAndCreateNewAppointmentButton
리턴 global::System.Web.UI.WebControls.Button

SaveAppointmentButton 보호되어 있는 프로퍼티

SaveAppointmentButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button SaveAppointmentButton
리턴 global::System.Web.UI.WebControls.Button

SaveView 보호되어 있는 프로퍼티

SaveView control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.View SaveView
리턴 global::System.Web.UI.WebControls.View

StartDateTimePicker 보호되어 있는 프로퍼티

StartDateTimePicker control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadDateTimePicker StartDateTimePicker
리턴 global::Telerik.Web.UI.RadDateTimePicker

StreetTextBox 보호되어 있는 프로퍼티

StreetTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox StreetTextBox
리턴 global::System.Web.UI.WebControls.TextBox

SuccessModuleMessage 보호되어 있는 프로퍼티

SuccessModuleMessage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Engage.Dnn.Booking.ModuleMessage SuccessModuleMessage
리턴 global::Engage.Dnn.Booking.ModuleMessage

SuccessView 보호되어 있는 프로퍼티

SuccessView control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.View SuccessView
리턴 global::System.Web.UI.WebControls.View

TimeZoneDropDownList 보호되어 있는 프로퍼티

TimeZoneDropDownList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList TimeZoneDropDownList
리턴 global::System.Web.UI.WebControls.DropDownList

TitleTextBox 보호되어 있는 프로퍼티

TitleTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox TitleTextBox
리턴 global::System.Web.UI.WebControls.TextBox

TotalNumberParticipantsTextBox 보호되어 있는 프로퍼티

TotalNumberParticipantsTextBox control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox TotalNumberParticipantsTextBox
리턴 global::System.Web.UI.WebControls.TextBox

UniqueTimeslotValidator 보호되어 있는 프로퍼티

UniqueTimeslotValidator control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CustomValidator UniqueTimeslotValidator
리턴 global::System.Web.UI.WebControls.CustomValidator