示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.paymentType = ((MaterialEWpfDemo.PaymmentTypeControl)(target));
                return;

            case 2:
                this.stackpanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 4:
                this.autocomplete = ((System.Windows.Controls.AutoCompleteBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.usercontrol = ((MaterialEWpfDemo.PaymmentTypeControl)(target));
                return;

            case 2:
                this.ckb = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 3:
                this.hidden = ((System.Windows.Controls.RadioButton)(target));

            #line 49 "PaymmentTypeControl.xaml"
                this.hidden.Checked += new System.Windows.RoutedEventHandler(this.HiddenCheckedEvent);

            #line default
            #line hidden
                return;

            case 4:
                this.cash = ((System.Windows.Controls.RadioButton)(target));

            #line 58 "PaymmentTypeControl.xaml"
                this.cash.Click += new System.Windows.RoutedEventHandler(this.PaymentTypeClick);

            #line default
            #line hidden
                return;

            case 5:
                this.wechat = ((System.Windows.Controls.RadioButton)(target));

            #line 64 "PaymmentTypeControl.xaml"
                this.wechat.Click += new System.Windows.RoutedEventHandler(this.PaymentTypeClick);

            #line default
            #line hidden
                return;

            case 6:
                this.alipay = ((System.Windows.Controls.RadioButton)(target));

            #line 71 "PaymmentTypeControl.xaml"
                this.alipay.Click += new System.Windows.RoutedEventHandler(this.PaymentTypeClick);

            #line default
            #line hidden
                return;

            case 7:
                this.unionpay = ((System.Windows.Controls.RadioButton)(target));

            #line 78 "PaymmentTypeControl.xaml"
                this.unionpay.Click += new System.Windows.RoutedEventHandler(this.PaymentTypeClick);

            #line default
            #line hidden
                return;

            case 8:
                this.stored = ((System.Windows.Controls.RadioButton)(target));

            #line 85 "PaymmentTypeControl.xaml"
                this.stored.Click += new System.Windows.RoutedEventHandler(this.PaymentTypeClick);

            #line default
            #line hidden
                return;

            case 9:
                this.transfer = ((System.Windows.Controls.RadioButton)(target));

            #line 92 "PaymmentTypeControl.xaml"
                this.transfer.Click += new System.Windows.RoutedEventHandler(this.PaymentTypeClick);

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