Exemple #1
0
        private void btnContinue_Click(object sender, RoutedEventArgs e)
        {
            MakeReservation demoWindow = new MakeReservation();

            demoWindow.Show();
            this.Close();
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.winMakeReservation = ((Group01.MakeReservation)(target));
                return;

            case 2:
                this.lblRoomQuote = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 14 "..\..\MakeReservation.xaml"
                this.btnMakeReservation.Click += new System.Windows.RoutedEventHandler(this.btnMakeReservation_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 9:
                this.lblCreditCardNumber = ((System.Windows.Controls.Label)(target));
                return;

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

            case 11:
                this.txtRequiredInstructions = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.txtFirstName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.txtEmail = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.txtPhoneNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.txtCreditCard = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 17:
                this.btnClear = ((System.Windows.Controls.Button)(target));

            #line 52 "..\..\MakeReservation.xaml"
                this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btnReturnToMainWindow = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\MakeReservation.xaml"
                this.btnReturnToMainWindow.Click += new System.Windows.RoutedEventHandler(this.btnReturnToMainWindow_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.btnReturnToNewReservation = ((System.Windows.Controls.Button)(target));

            #line 65 "..\..\MakeReservation.xaml"
                this.btnReturnToNewReservation.Click += new System.Windows.RoutedEventHandler(this.btnReturnToNewReservation_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.imgCard = ((System.Windows.Controls.Image)(target));
                return;

            case 21:
                this.txtRoomQuote = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.lblResult = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }