Esempio n. 1
0
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2:
            {
                global::Windows.UI.Xaml.Controls.Grid element2 = (global::Windows.UI.Xaml.Controls.Grid)(target);
                    #line 19 "..\..\..\Views\ItemDetail.xaml"
                ((global::Windows.UI.Xaml.Controls.Grid)element2).Loaded += this.Grid_Loaded;
                    #line default
            }
            break;

            case 3:
            {
                this.background = (global::Windows.UI.Xaml.Controls.Grid)(target);
            }
            break;

            case 4:
            {
                this.fileWebView = (global::Windows.UI.Xaml.Controls.WebView)(target);
            }
            break;

            case 5:
            {
                this.infoWebView = (global::Windows.UI.Xaml.Controls.WebView)(target);
            }
            break;

            case 6:
            {
                this.time = (global::Windows.UI.Xaml.Controls.TextBlock)(target);
            }
            break;

            case 7:
            {
                this.seedDownload = (global::LoveAnim.Controls.HAppBarButton)(target);
            }
            break;

            case 8:
            {
                global::LoveAnim.Controls.HAppBarButton element8 = (global::LoveAnim.Controls.HAppBarButton)(target);
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 7:
                    this.obj7 = (global::LoveAnim.Controls.HAppBarButton)target;
                    ((global::LoveAnim.Controls.HAppBarButton)target).Click += (global::System.Object param0, global::Windows.UI.Xaml.RoutedEventArgs param1) =>
                    {
                        this.dataRoot.Model.CopySeedDownloadUrl();
                    };
                    break;

                case 8:
                    this.obj8 = (global::LoveAnim.Controls.HAppBarButton)target;
                    ((global::LoveAnim.Controls.HAppBarButton)target).Click += (global::System.Object param0, global::Windows.UI.Xaml.RoutedEventArgs param1) =>
                    {
                        this.dataRoot.Model.CopyMagnetDownloadUrl();
                    };
                    break;

                default:
                    break;
                }
            }