Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.svToolBox = ((Ay.Framework.WPF.Controls.AyScrollViewer)(target));
                return;

            case 2:

            #line 149 "..\..\..\..\Views\Home\HomeView.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);

            #line default
            #line hidden
                return;

            case 3:

            #line 161 "..\..\..\..\Views\Home\HomeView.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);

            #line default
            #line hidden
                return;

            case 4:
                this.tbRefreshZuan = ((System.Windows.Controls.TextBlock)(target));

            #line 345 "..\..\..\..\Views\Home\HomeView.xaml"
                this.tbRefreshZuan.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 346 "..\..\..\..\Views\Home\HomeView.xaml"
                this.tbRefreshZuan.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.TextBlock_TouchDown);

            #line default
            #line hidden
                return;

            case 5:
                this.btnUseTen5 = ((Ay.Framework.WPF.Controls.AyImageButton)(target));

            #line 495 "..\..\..\..\Views\Home\HomeView.xaml"
                this.btnUseTen5.Click += new System.Windows.RoutedEventHandler(this.btnUseTen5_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnUseTen10 = ((Ay.Framework.WPF.Controls.AyImageButton)(target));

            #line 553 "..\..\..\..\Views\Home\HomeView.xaml"
                this.btnUseTen10.Click += new System.Windows.RoutedEventHandler(this.btnUseTen10_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnStep1 = ((Ay.Framework.WPF.Controls.AyTextButton)(target));

            #line 743 "..\..\..\..\Views\Home\HomeView.xaml"
                this.btnStep1.Click += new System.Windows.RoutedEventHandler(this.btnStep1_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnStep2 = ((Ay.Framework.WPF.Controls.AyTextButton)(target));

            #line 761 "..\..\..\..\Views\Home\HomeView.xaml"
                this.btnStep2.Click += new System.Windows.RoutedEventHandler(this.btnStep1_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnStep3 = ((Ay.Framework.WPF.Controls.AyTextButton)(target));

            #line 777 "..\..\..\..\Views\Home\HomeView.xaml"
                this.btnStep3.Click += new System.Windows.RoutedEventHandler(this.btnStep1_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnStep4 = ((Ay.Framework.WPF.Controls.AyTextButton)(target));

            #line 794 "..\..\..\..\Views\Home\HomeView.xaml"
                this.btnStep4.Click += new System.Windows.RoutedEventHandler(this.btnStep1_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnStep5 = ((Ay.Framework.WPF.Controls.AyTextButton)(target));

            #line 811 "..\..\..\..\Views\Home\HomeView.xaml"
                this.btnStep5.Click += new System.Windows.RoutedEventHandler(this.btnStep1_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnStep6 = ((Ay.Framework.WPF.Controls.AyTextButton)(target));

            #line 828 "..\..\..\..\Views\Home\HomeView.xaml"
                this.btnStep6.Click += new System.Windows.RoutedEventHandler(this.btnStep1_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnStep7 = ((Ay.Framework.WPF.Controls.AyTextButton)(target));

            #line 845 "..\..\..\..\Views\Home\HomeView.xaml"
                this.btnStep7.Click += new System.Windows.RoutedEventHandler(this.btnStep1_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnStep8 = ((Ay.Framework.WPF.Controls.AyTextButton)(target));

            #line 862 "..\..\..\..\Views\Home\HomeView.xaml"
                this.btnStep8.Click += new System.Windows.RoutedEventHandler(this.btnStep1_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.md_zuanxiaofei = ((LOLSkinGetter.MessageDialog)(target));
                return;

            case 16:
                this.sgc = ((LOLSkinGetter.SkinGetterChou)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 27 "..\..\..\..\Views\ToolBox\ToolBoxView.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 2:

            #line 28 "..\..\..\..\Views\ToolBox\ToolBoxView.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 3:

            #line 29 "..\..\..\..\Views\ToolBox\ToolBoxView.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 4:

            #line 30 "..\..\..\..\Views\ToolBox\ToolBoxView.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 5:

            #line 31 "..\..\..\..\Views\ToolBox\ToolBoxView.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 6:
                this.svToolBox = ((Ay.Framework.WPF.Controls.AyScrollViewer)(target));
                return;

            case 7:
                this.mainContent = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.changyongBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 9:
                this.changyong = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.shangwangBorder = ((System.Windows.Controls.Border)(target));
                return;

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

            case 12:
                this.xitongBorder = ((System.Windows.Controls.Border)(target));
                return;

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

            case 14:
                this.ruanjianBorder = ((System.Windows.Controls.Border)(target));
                return;

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

            case 16:
                this.qitaBorder = ((System.Windows.Controls.Border)(target));
                return;

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

            case 18:
                this.clickLiuYan = ((AYQQMGR2018.Views.Shared.AyHyberTextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }