C# Класс HBM.Reservation.Reservation

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
ASPxPageControl1 global::DevExpress.Web.ASPxTabControl.ASPxPageControl
aspxLoadingPanel global::DevExpress.Web.ASPxLoadingPanel.ASPxLoadingPanel
btnAdd global::DevExpress.Web.ASPxEditors.ASPxButton
btnCreate global::DevExpress.Web.ASPxEditors.ASPxButton
btnNew global::DevExpress.Web.ASPxEditors.ASPxButton
btnPrint global::DevExpress.Web.ASPxEditors.ASPxButton
btnSave global::DevExpress.Web.ASPxEditors.ASPxButton
btnSearch global::DevExpress.Web.ASPxEditors.ASPxButton
cmbCustomer global::DevExpress.Web.ASPxEditors.ASPxComboBox
cmbRatePlan global::DevExpress.Web.ASPxEditors.ASPxComboBox
cmbResStatus global::DevExpress.Web.ASPxEditors.ASPxComboBox
cmbRoom global::DevExpress.Web.ASPxEditors.ASPxComboBox
cmbSource global::DevExpress.Web.ASPxEditors.ASPxComboBox
cmbTax global::DevExpress.Web.ASPxEditors.ASPxComboBox
ddlShareNames global::DevExpress.Web.ASPxEditors.ASPxDropDownEdit
dtCheckOutDate global::DevExpress.Web.ASPxEditors.ASPxDateEdit
dtCheckingDate global::DevExpress.Web.ASPxEditors.ASPxDateEdit
gvPaymentInformation global::DevExpress.Web.ASPxGridView.ASPxGridView
gvRoomInfo global::DevExpress.Web.ASPxGridView.ASPxGridView
gvServiceInformation global::DevExpress.Web.ASPxGridView.ASPxGridView
hdnMaxAdult global::System.Web.UI.WebControls.HiddenField
hdnMaxChildren global::System.Web.UI.WebControls.HiddenField
hdnMaxInfant global::System.Web.UI.WebControls.HiddenField
hdnRate global::System.Web.UI.WebControls.HiddenField
hdnReservationId global::System.Web.UI.WebControls.HiddenField
hdnRoom global::System.Web.UI.WebControls.HiddenField
hdnTaxPercent global::System.Web.UI.WebControls.HiddenField
ltlReservationCode global::System.Web.UI.WebControls.Literal
ppPrintPreview global::DevExpress.Web.ASPxPopupControl.ASPxPopupControl
seAdults global::DevExpress.Web.ASPxEditors.ASPxSpinEdit
seChildren global::DevExpress.Web.ASPxEditors.ASPxSpinEdit
seInfants global::DevExpress.Web.ASPxEditors.ASPxSpinEdit
trButtonSection global::System.Web.UI.HtmlControls.HtmlTableRow
trReservationSection global::System.Web.UI.HtmlControls.HtmlTableRow
trStatusSection global::System.Web.UI.HtmlControls.HtmlTableRow
trSummarySection global::System.Web.UI.HtmlControls.HtmlTableRow
txtBalance global::DevExpress.Web.ASPxEditors.ASPxTextBox
txtDiscount global::DevExpress.Web.ASPxEditors.ASPxSpinEdit
txtNetTotal global::DevExpress.Web.ASPxEditors.ASPxTextBox
txtPaidAmount global::DevExpress.Web.ASPxEditors.ASPxTextBox
txtRoomTotal global::DevExpress.Web.ASPxEditors.ASPxTextBox
txtServiceTotal global::DevExpress.Web.ASPxEditors.ASPxTextBox
txtTaxTotal global::DevExpress.Web.ASPxEditors.ASPxTextBox
txtTotal global::DevExpress.Web.ASPxEditors.ASPxTextBox

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

Метод Описание
Page_Init ( object sender, EventArgs e ) : void
Page_PreRender ( object sender, EventArgs e ) : void
btnAdd_Click ( object sender, EventArgs e ) : void
btnCreate_Click ( object sender, EventArgs e ) : void
btnNew_Click ( object sender, EventArgs e ) : void
btnPrint_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
btnSearch_Click ( object sender, EventArgs e ) : void
cmbRatePlan_Callback ( object sender, DevExpress e ) : void
cmbRatePlan_SelectedIndexChanged ( object sender, EventArgs e ) : void
cmbRoom_SelectedIndexChanged ( object sender, EventArgs e ) : void
cmbTax_SelectedIndexChanged ( object sender, EventArgs e ) : void
gvPaymentInformation_CellEditorInitialize ( object sender, ASPxGridViewEditorEventArgs e ) : void
gvPaymentInformation_DataBound ( object sender, EventArgs e ) : void
gvPaymentInformation_RowDeleting ( object sender, DevExpress e ) : void
gvPaymentInformation_RowInserting ( object sender, DevExpress e ) : void
gvPaymentInformation_RowUpdating ( object sender, DevExpress e ) : void
gvRoomInfo_CellEditorInitialize ( object sender, ASPxGridViewEditorEventArgs e ) : void
gvRoomInfo_DataBound ( object sender, EventArgs e ) : void
gvRoomInfo_RowDeleting ( object sender, DevExpress e ) : void
gvRoomInfo_RowInserting ( object sender, DevExpress e ) : void
gvRoomInfo_RowUpdating ( object sender, DevExpress e ) : void
gvServiceInformation_CellEditorInitialize ( object sender, ASPxGridViewEditorEventArgs e ) : void
gvServiceInformation_DataBound ( object sender, EventArgs e ) : void
gvServiceInformation_RowDeleting ( object sender, DevExpress e ) : void
gvServiceInformation_RowInserting ( object sender, DevExpress e ) : void
gvServiceInformation_RowUpdating ( object sender, DevExpress e ) : void
txtDiscount_ValueChanged ( object sender, EventArgs e ) : void

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

Метод Описание
Calculate ( ) : void
ClearFormFields ( ) : void
ClearRoomInfoSection ( ) : void
DisplayData ( Int64 reservationId ) : bool
LoadAddiotnalService ( Int64 reservationId ) : void
LoadCardInformationByCustomer ( int customerID ) : void
LoadInitialData ( ) : void
LoadPaymentInformation ( Int64 reservationId ) : void
LoadRatePlans ( ) : void
LoadRoomInformation ( Int64 reservationId ) : void
LoadRoomList ( ) : void
LoadSharesList ( int customerID ) : void
SaveData ( Int64 reservationId ) : bool
ValidateReservation ( ) : void
ValidateRooms ( ) : bool

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Описание свойств

ASPxPageControl1 защищенное свойство

ASPxPageControl1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxTabControl.ASPxPageControl ASPxPageControl1
Результат global::DevExpress.Web.ASPxTabControl.ASPxPageControl

aspxLoadingPanel защищенное свойство

aspxLoadingPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxLoadingPanel.ASPxLoadingPanel aspxLoadingPanel
Результат global::DevExpress.Web.ASPxLoadingPanel.ASPxLoadingPanel

btnAdd защищенное свойство

btnAdd control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxButton btnAdd
Результат global::DevExpress.Web.ASPxEditors.ASPxButton

btnCreate защищенное свойство

btnCreate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxButton btnCreate
Результат global::DevExpress.Web.ASPxEditors.ASPxButton

btnNew защищенное свойство

btnNew control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxButton btnNew
Результат global::DevExpress.Web.ASPxEditors.ASPxButton

btnPrint защищенное свойство

btnPrint control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxButton btnPrint
Результат global::DevExpress.Web.ASPxEditors.ASPxButton

btnSave защищенное свойство

btnSave control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxButton btnSave
Результат global::DevExpress.Web.ASPxEditors.ASPxButton

btnSearch защищенное свойство

btnSearch control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxButton btnSearch
Результат global::DevExpress.Web.ASPxEditors.ASPxButton

cmbCustomer защищенное свойство

cmbCustomer control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxComboBox cmbCustomer
Результат global::DevExpress.Web.ASPxEditors.ASPxComboBox

cmbRatePlan защищенное свойство

cmbRatePlan control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxComboBox cmbRatePlan
Результат global::DevExpress.Web.ASPxEditors.ASPxComboBox

cmbResStatus защищенное свойство

cmbResStatus control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxComboBox cmbResStatus
Результат global::DevExpress.Web.ASPxEditors.ASPxComboBox

cmbRoom защищенное свойство

cmbRoom control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxComboBox cmbRoom
Результат global::DevExpress.Web.ASPxEditors.ASPxComboBox

cmbSource защищенное свойство

cmbSource control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxComboBox cmbSource
Результат global::DevExpress.Web.ASPxEditors.ASPxComboBox

cmbTax защищенное свойство

cmbTax control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxComboBox cmbTax
Результат global::DevExpress.Web.ASPxEditors.ASPxComboBox

ddlShareNames защищенное свойство

ddlShareNames control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxDropDownEdit ddlShareNames
Результат global::DevExpress.Web.ASPxEditors.ASPxDropDownEdit

dtCheckOutDate защищенное свойство

dtCheckOutDate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxDateEdit dtCheckOutDate
Результат global::DevExpress.Web.ASPxEditors.ASPxDateEdit

dtCheckingDate защищенное свойство

dtCheckingDate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxDateEdit dtCheckingDate
Результат global::DevExpress.Web.ASPxEditors.ASPxDateEdit

gvPaymentInformation защищенное свойство

gvPaymentInformation control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxGridView.ASPxGridView gvPaymentInformation
Результат global::DevExpress.Web.ASPxGridView.ASPxGridView

gvRoomInfo защищенное свойство

gvRoomInfo control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxGridView.ASPxGridView gvRoomInfo
Результат global::DevExpress.Web.ASPxGridView.ASPxGridView

gvServiceInformation защищенное свойство

gvServiceInformation control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxGridView.ASPxGridView gvServiceInformation
Результат global::DevExpress.Web.ASPxGridView.ASPxGridView

hdnMaxAdult защищенное свойство

hdnMaxAdult control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HiddenField hdnMaxAdult
Результат global::System.Web.UI.WebControls.HiddenField

hdnMaxChildren защищенное свойство

hdnMaxChildren control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HiddenField hdnMaxChildren
Результат global::System.Web.UI.WebControls.HiddenField

hdnMaxInfant защищенное свойство

hdnMaxInfant control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HiddenField hdnMaxInfant
Результат global::System.Web.UI.WebControls.HiddenField

hdnRate защищенное свойство

hdnRate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HiddenField hdnRate
Результат global::System.Web.UI.WebControls.HiddenField

hdnReservationId защищенное свойство

hdnReservationId control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HiddenField hdnReservationId
Результат global::System.Web.UI.WebControls.HiddenField

hdnRoom защищенное свойство

hdnRoom control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HiddenField hdnRoom
Результат global::System.Web.UI.WebControls.HiddenField

hdnTaxPercent защищенное свойство

hdnTaxPercent control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HiddenField hdnTaxPercent
Результат global::System.Web.UI.WebControls.HiddenField

ltlReservationCode защищенное свойство

ltlReservationCode control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal ltlReservationCode
Результат global::System.Web.UI.WebControls.Literal

ppPrintPreview защищенное свойство

ppPrintPreview control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxPopupControl.ASPxPopupControl ppPrintPreview
Результат global::DevExpress.Web.ASPxPopupControl.ASPxPopupControl

seAdults защищенное свойство

seAdults control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxSpinEdit seAdults
Результат global::DevExpress.Web.ASPxEditors.ASPxSpinEdit

seChildren защищенное свойство

seChildren control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxSpinEdit seChildren
Результат global::DevExpress.Web.ASPxEditors.ASPxSpinEdit

seInfants защищенное свойство

seInfants control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxSpinEdit seInfants
Результат global::DevExpress.Web.ASPxEditors.ASPxSpinEdit

trButtonSection защищенное свойство

trButtonSection control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlTableRow trButtonSection
Результат global::System.Web.UI.HtmlControls.HtmlTableRow

trReservationSection защищенное свойство

trReservationSection control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlTableRow trReservationSection
Результат global::System.Web.UI.HtmlControls.HtmlTableRow

trStatusSection защищенное свойство

trStatusSection control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlTableRow trStatusSection
Результат global::System.Web.UI.HtmlControls.HtmlTableRow

trSummarySection защищенное свойство

trSummarySection control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlTableRow trSummarySection
Результат global::System.Web.UI.HtmlControls.HtmlTableRow

txtBalance защищенное свойство

txtBalance control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxTextBox txtBalance
Результат global::DevExpress.Web.ASPxEditors.ASPxTextBox

txtDiscount защищенное свойство

txtDiscount control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxSpinEdit txtDiscount
Результат global::DevExpress.Web.ASPxEditors.ASPxSpinEdit

txtNetTotal защищенное свойство

txtNetTotal control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxTextBox txtNetTotal
Результат global::DevExpress.Web.ASPxEditors.ASPxTextBox

txtPaidAmount защищенное свойство

txtPaidAmount control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxTextBox txtPaidAmount
Результат global::DevExpress.Web.ASPxEditors.ASPxTextBox

txtRoomTotal защищенное свойство

txtRoomTotal control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxTextBox txtRoomTotal
Результат global::DevExpress.Web.ASPxEditors.ASPxTextBox

txtServiceTotal защищенное свойство

txtServiceTotal control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxTextBox txtServiceTotal
Результат global::DevExpress.Web.ASPxEditors.ASPxTextBox

txtTaxTotal защищенное свойство

txtTaxTotal control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxTextBox txtTaxTotal
Результат global::DevExpress.Web.ASPxEditors.ASPxTextBox

txtTotal защищенное свойство

txtTotal control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DevExpress.Web.ASPxEditors.ASPxTextBox txtTotal
Результат global::DevExpress.Web.ASPxEditors.ASPxTextBox