Exemple #1
0
        private void btnReservReport_Click(object sender, RoutedEventArgs e)
        {
            ReservationsReport ReservRepWindow = new ReservationsReport();

            ReservRepWindow.Show();
            this.Close();
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.winReservReport = ((Hotel_Reservations.ReservationsReport)(target));
                return;

            case 2:
                this.recBackground = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 3:
                this.imgRRIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.lblReserveReport = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.lblCheckInDate = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.dpCheckInDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 7:
                this.dpCheckOutDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.lblLastName = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.txtLastName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.lblRoomType = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.txtReserveReportTbl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.btnBack = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\ReservationsReport.xaml"
                this.btnBack.Click += new System.Windows.RoutedEventHandler(this.btnBack_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.cmbRoomType = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }