示例#1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Button_CloseTableForm = ((System.Windows.Controls.Button)(target));
     
     #line 34 "..\..\Form_Payment.xaml"
     this.Button_CloseTableForm.Click += new System.Windows.RoutedEventHandler(this.Button_Close_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Button_PaymentMethod = ((System.Windows.Controls.Button)(target));
     
     #line 49 "..\..\Form_Payment.xaml"
     this.Button_PaymentMethod.Click += new System.Windows.RoutedEventHandler(this.Button_PaymentMethod_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.TextBlock_PaymentMethod = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.Polygon_DropDown_Indicator = ((System.Windows.Shapes.Polygon)(target));
     return;
     case 5:
     this.StackPanel_PaymentMethodList = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.Button_Cash = ((System.Windows.Controls.Button)(target));
     
     #line 71 "..\..\Form_Payment.xaml"
     this.Button_Cash.Click += new System.Windows.RoutedEventHandler(this.Button_PaymentMethodList_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.Button_CreditCard = ((System.Windows.Controls.Button)(target));
     
     #line 72 "..\..\Form_Payment.xaml"
     this.Button_CreditCard.Click += new System.Windows.RoutedEventHandler(this.Button_PaymentMethodList_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Button_DebitCard = ((System.Windows.Controls.Button)(target));
     
     #line 73 "..\..\Form_Payment.xaml"
     this.Button_DebitCard.Click += new System.Windows.RoutedEventHandler(this.Button_PaymentMethodList_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.Button_Nets = ((System.Windows.Controls.Button)(target));
     
     #line 74 "..\..\Form_Payment.xaml"
     this.Button_Nets.Click += new System.Windows.RoutedEventHandler(this.Button_PaymentMethodList_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.TextBlock_DueNum = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.TextBlock_PayWith = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.Rectangle_Change = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 13:
     this.TextBlock_PayNum = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.TextBlock_Change = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.TextBlock_ChangeNum = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.ContentControl_NumPad = ((ICTProjectPOS.NumPad_Cash)(target));
     return;
     case 17:
     this.TextBlock_Error = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 18:
     this.Button_Confirm = ((System.Windows.Controls.Button)(target));
     
     #line 161 "..\..\Form_Payment.xaml"
     this.Button_Confirm.Click += new System.Windows.RoutedEventHandler(this.Button_Confirm_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Button_CloseTableForm = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\Form_Payment.xaml"
                this.Button_CloseTableForm.Click += new System.Windows.RoutedEventHandler(this.Button_Close_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.Button_PaymentMethod = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\Form_Payment.xaml"
                this.Button_PaymentMethod.Click += new System.Windows.RoutedEventHandler(this.Button_PaymentMethod_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.TextBlock_PaymentMethod = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.Polygon_DropDown_Indicator = ((System.Windows.Shapes.Polygon)(target));
                return;

            case 5:
                this.StackPanel_PaymentMethodList = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 71 "..\..\Form_Payment.xaml"
                this.Button_Cash.Click += new System.Windows.RoutedEventHandler(this.Button_PaymentMethodList_Click);

            #line default
            #line hidden
                return;

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

            #line 72 "..\..\Form_Payment.xaml"
                this.Button_CreditCard.Click += new System.Windows.RoutedEventHandler(this.Button_PaymentMethodList_Click);

            #line default
            #line hidden
                return;

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

            #line 73 "..\..\Form_Payment.xaml"
                this.Button_DebitCard.Click += new System.Windows.RoutedEventHandler(this.Button_PaymentMethodList_Click);

            #line default
            #line hidden
                return;

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

            #line 74 "..\..\Form_Payment.xaml"
                this.Button_Nets.Click += new System.Windows.RoutedEventHandler(this.Button_PaymentMethodList_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.TextBlock_DueNum = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 12:
                this.Rectangle_Change = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 13:
                this.TextBlock_PayNum = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.TextBlock_Change = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.TextBlock_ChangeNum = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.ContentControl_NumPad = ((ICTProjectPOS.NumPad_Cash)(target));
                return;

            case 17:
                this.TextBlock_Error = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 161 "..\..\Form_Payment.xaml"
                this.Button_Confirm.Click += new System.Windows.RoutedEventHandler(this.Button_Confirm_Click);

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