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

            case 2:
                this.thumb1 = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.thumb3 = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.thumb2 = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.scroll = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.home = ((View.User_Control.Home)(target));
                return;

            case 2:
                this.thumb1 = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.thumb3 = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.thumb2 = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.scroll = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.btnSale1 = ((System.Windows.Controls.Button)(target));

            #line 119 "..\..\..\User Control\Home.xaml"
                this.btnSale1.Click += new System.Windows.RoutedEventHandler(this.btnSale1_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnSale2 = ((System.Windows.Controls.Button)(target));

            #line 126 "..\..\..\User Control\Home.xaml"
                this.btnSale2.Click += new System.Windows.RoutedEventHandler(this.btnSale2_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnSale3 = ((System.Windows.Controls.Button)(target));

            #line 134 "..\..\..\User Control\Home.xaml"
                this.btnSale3.Click += new System.Windows.RoutedEventHandler(this.btnSale3_Click);

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