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

            case 2:
                this.segmentButton1 = ((ZdfFlatUI.SegmentButton)(target));
                return;

            case 3:

            #line 55 "..\..\..\..\UITest\UCTButtonTest.xaml"
                ((ZdfFlatUI.FlatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.FlatButton_Click_1);

            #line default
            #line hidden
                return;

            case 4:

            #line 77 "..\..\..\..\UITest\UCTButtonTest.xaml"
                ((ZdfFlatUI.FlatButton)(target)).Click += new System.Windows.RoutedEventHandler(this.FlatButton_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.segmentButton = ((ZdfFlatUI.SegmentButton)(target));
                return;

            case 2:
                this.segmentButton2 = ((ZdfFlatUI.SegmentButton)(target));
                return;

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

            #line 40 "..\..\MainWindow.xaml"
                this.Show.Click += new System.Windows.RoutedEventHandler(this.Show_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.noticeMessage = ((ZdfFlatUI.NoticeMessage)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.segmentButton = ((ZdfFlatUI.SegmentButton)(target));
                return;

            case 2:
                this.segmentButton2 = ((ZdfFlatUI.SegmentButton)(target));
                return;

            case 3:

            #line 34 "..\..\..\MainWindow.xaml"
                ((ZdfFlatUI.IconTextBox)(target)).EnterKeyClick += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.IconTextBox_EnterKeyClick);

            #line default
            #line hidden
                return;

            case 4:
                this.TagTextBox = ((ZdfFlatUI.TagTextBox)(target));

            #line 55 "..\..\..\MainWindow.xaml"
                this.TagTextBox.AddItem += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.TagTextBox_AddItem);

            #line default
            #line hidden
                return;

            case 5:
                this.validateTextBox1 = ((ZdfFlatUI.ValidateTextBox)(target));
                return;

            case 6:
                this.validateTextBox4 = ((ZdfFlatUI.ValidateTextBox)(target));
                return;

            case 7:
                this.validateTextBox2 = ((ZdfFlatUI.ValidateTextBox)(target));
                return;

            case 8:
                this.validateTextBox3 = ((ZdfFlatUI.ValidateTextBox)(target));
                return;

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

            #line 83 "..\..\..\MainWindow.xaml"
                this.beginValidate.Click += new System.Windows.RoutedEventHandler(this.beginValidate_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 84 "..\..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.ShowInfo = ((System.Windows.Controls.Button)(target));

            #line 88 "..\..\..\MainWindow.xaml"
                this.ShowInfo.Click += new System.Windows.RoutedEventHandler(this.Show_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.ShowWarn = ((System.Windows.Controls.Button)(target));

            #line 90 "..\..\..\MainWindow.xaml"
                this.ShowWarn.Click += new System.Windows.RoutedEventHandler(this.Show_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.ShowError = ((System.Windows.Controls.Button)(target));

            #line 92 "..\..\..\MainWindow.xaml"
                this.ShowError.Click += new System.Windows.RoutedEventHandler(this.Show_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.ShowSuccess = ((System.Windows.Controls.Button)(target));

            #line 94 "..\..\..\MainWindow.xaml"
                this.ShowSuccess.Click += new System.Windows.RoutedEventHandler(this.Show_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.noticeMessage = ((ZdfFlatUI.NoticeMessage)(target));
                return;
            }
            this._contentLoaded = true;
        }