Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow2 = ((Quizzard.MainMenu)(target));

            #line 8 "..\..\MainMenu.xaml"
                this.MainWindow2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MainWindow2_MouseDown);

            #line default
            #line hidden

            #line 8 "..\..\MainMenu.xaml"
                this.MainWindow2.Loaded += new System.Windows.RoutedEventHandler(this.MainWindow2_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.AnswerExam = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\MainMenu.xaml"
                this.AnswerExam.Click += new System.Windows.RoutedEventHandler(this.AnswerExam_Click);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\MainMenu.xaml"
                this.CreateExam.Click += new System.Windows.RoutedEventHandler(this.CreateExam_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.DeleteExam = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\MainMenu.xaml"
                this.DeleteExam.Click += new System.Windows.RoutedEventHandler(this.DeleteExam_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.LogOut = ((System.Windows.Controls.Button)(target));

            #line 118 "..\..\MainMenu.xaml"
                this.LogOut.Click += new System.Windows.RoutedEventHandler(this.LogOut_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.AQuiz = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.CQuiz = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.DQuiz = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 10:
                this.AQuiz_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }