Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnInfo = ((ZdfFlatUI.FlatButton)(target));

            #line 12 "..\..\..\UITest\UCTNoticeTest.xaml"
                this.btnInfo.Click += new System.Windows.RoutedEventHandler(this.btnInfo_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.btnSuccess = ((ZdfFlatUI.FlatButton)(target));

            #line 14 "..\..\..\UITest\UCTNoticeTest.xaml"
                this.btnSuccess.Click += new System.Windows.RoutedEventHandler(this.btnSuccess_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnError = ((ZdfFlatUI.FlatButton)(target));

            #line 23 "..\..\..\UITest\UCTNoticeTest.xaml"
                this.btnError.Click += new System.Windows.RoutedEventHandler(this.btnError_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnWarn = ((ZdfFlatUI.FlatButton)(target));

            #line 25 "..\..\..\UITest\UCTNoticeTest.xaml"
                this.btnWarn.Click += new System.Windows.RoutedEventHandler(this.btnWarn_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnShowNoticeMessage = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:
                this.aa = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.button = ((ZdfFlatUI.FlatButton)(target));

            #line 20 "..\..\..\UITest\UCTBadgeTest.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.FlatButton_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.button1 = ((ZdfFlatUI.FlatButton)(target));

            #line 25 "..\..\..\UITest\UCTBadgeTest.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.FlatButton_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.text = ((ZdfFlatUI.ZTextBox)(target));
                return;

            case 4:
                this.btnChangeAdornerType = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 46 "..\..\..\UITest\UCTBadgeTest.xaml"
                this.btnChangeAdornerType.Click += new System.Windows.RoutedEventHandler(this.btnChangeAdornerType_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btn1 = ((ZdfFlatUI.FlatButton)(target));

            #line 114 "..\..\..\UITest\UCTToolTipTest.xaml"
                this.btn1.Click += new System.Windows.RoutedEventHandler(this.btn1_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.btn2 = ((ZdfFlatUI.FlatButton)(target));
                return;

            case 3:
                this.text = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }