void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Q1 = ((Test1.Question)(target));
                return;

            case 2:
                this.Q2 = ((Test1.Question)(target));
                return;

            case 3:
                this.Q3 = ((Test1.Question)(target));
                return;

            case 4:
                this.Q4 = ((Test1.Question)(target));
                return;

            case 5:
                this.Q5 = ((Test1.Question)(target));
                return;

            case 6:
                this.Q6 = ((Test1.Question)(target));
                return;

            case 7:
                this.Q7 = ((Test1.Question)(target));
                return;

            case 8:
                this.Q8 = ((Test1.Question)(target));
                return;

            case 9:
                this.Q9 = ((Test1.Question)(target));
                return;

            case 10:
                this.Q10 = ((Test1.Question)(target));
                return;

            case 11:

            #line 46 "..\..\Page2 - Copy.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Q51 = ((Test1.Question)(target));
                return;

            case 2:
                this.Q52 = ((Test1.Question)(target));
                return;

            case 3:
                this.Q53 = ((Test1.Question)(target));
                return;

            case 4:
                this.Q54 = ((Test1.Question)(target));
                return;

            case 5:
                this.Q55 = ((Test1.Question)(target));
                return;

            case 6:
                this.Q56 = ((Test1.Question)(target));
                return;

            case 7:
                this.Q57 = ((Test1.Question)(target));
                return;

            case 8:

            #line 38 "..\..\Page7.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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