Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.winMainMenu = ((Group5.MainWindow)(target));
                return;

            case 2:
                this.txtTitle = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.txtGreeting = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.txtCurrentDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.txtCurrentTime = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.btnNewReservation = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.btnRoomManagement = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.imgRoomManagement = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.btnReservationsReport = ((System.Windows.Controls.Button)(target));
                return;

            case 10:
                this.btnNearbyHoosierHotels = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.imgNearbyHoosierHotels = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.imgReservationReport = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.imgNewReservation = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.winQuotePreview = ((Group5.MainWindow)(target));
                return;

            case 2:
                this.cbbRoomType = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            case 5:
                this.txtNumberOfRooms = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.lblTitle = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.lblInstructions = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.dtpCheckInDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:
                this.dtpCheckOutDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 10:
                this.txtQuoteResult = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.btnCalculateQuote = ((System.Windows.Controls.Button)(target));
                return;

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

            case 13:
                this.btnReturnToMainMenu = ((System.Windows.Controls.Button)(target));
                return;

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

            case 15:
                this.lblCheckOutDate = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.btnClear = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.winMainMenu = ((Group5.MainWindow)(target));
                return;

            case 2:
                this.img_background = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.lblTitle = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 6:
                this.lblCurrentTime = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.btnNewReservation = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.btnNewReservation.Click += new System.Windows.RoutedEventHandler(this.btnNewReservation_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnRoomManagement = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\MainWindow.xaml"
                this.btnRoomManagement.Click += new System.Windows.RoutedEventHandler(this.btnRoomManagement_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.imgRoomManagement = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.btnReservationsReport = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.btnReservationsReport.Click += new System.Windows.RoutedEventHandler(this.btnReservationsReport_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnHotelesMargaritas = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\MainWindow.xaml"
                this.btnHotelesMargaritas.Click += new System.Windows.RoutedEventHandler(this.btnHotelesMargaritas_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.imgNearbyHoosierHotels = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.imgReservationReport = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.imgNewReservation = ((System.Windows.Controls.Image)(target));
                return;

            case 15:
                this.btnExit = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\MainWindow.xaml"
                this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }