Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.winPaymentInfo = ((Hotel_Reservations.PaymentInfo)(target));
                return;

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

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

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

            case 5:
                this.txbPIDescrip = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 7:
                this.txbFirstName = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

            case 11:
                this.cmbCCType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.lblCCNumber = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

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

            case 17:
                this.txbEmail = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 50 "..\..\PaymentInfo.xaml"
                this.btnPISubmit.Click += new System.Windows.RoutedEventHandler(this.btnPISubmit_Click);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\PaymentInfo.xaml"
                this.btnReturnToHome.Click += new System.Windows.RoutedEventHandler(this.btnReturnToHome_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.btnPIBack = ((System.Windows.Controls.Button)(target));

            #line 52 "..\..\PaymentInfo.xaml"
                this.btnPIBack.Click += new System.Windows.RoutedEventHandler(this.btnPIBack_Click);

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