void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.srcMediaElement = ((MenuTreeComponent.MediaPresenter)(target));
                return;

            case 2:
                this.isCorrectCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 29 "..\..\SingleVideoVisualForm.xaml"
                this.okBtn.Click += new System.Windows.RoutedEventHandler(this.okBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\SingleVideoVisualForm.xaml"
                this.cancelBtn.Click += new System.Windows.RoutedEventHandler(this.cancelBtn_Click);

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

            #line 9 "..\..\..\PreviewForms\PreviewForm3.xaml"
                ((MenuTreeComponent.PreviewForms.PreviewForm3)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.generalQuestionTxt = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.correctnessTxt = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 5:
                this.media = ((MenuTreeComponent.MediaPresenter)(target));
                return;

            case 6:
                this.verdictTree = ((System.Windows.Controls.TreeView)(target));
                return;

            case 8:
                this.questionsListBox = ((System.Windows.Controls.ListBox)(target));

            #line 128 "..\..\..\PreviewForms\PreviewForm3.xaml"
                this.questionsListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.questionsListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.resolversListBox = ((System.Windows.Controls.ListBox)(target));

            #line 135 "..\..\..\PreviewForms\PreviewForm3.xaml"
                this.resolversListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.resolversListBox_SelectionChanged);

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

            #line 9 "..\..\..\PreviewForms\PreviewForm2.xaml"
                ((MenuTreeComponent.PreviewForms.PreviewForm2)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.generalQuestionTxt = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.media = ((MenuTreeComponent.MediaPresenter)(target));
                return;

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

            #line 41 "..\..\..\PreviewForms\PreviewForm2.xaml"
                this.normalBtn.Click += new System.Windows.RoutedEventHandler(this.normalBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\PreviewForms\PreviewForm2.xaml"
                this.problemBtn.Click += new System.Windows.RoutedEventHandler(this.problemBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.questionsListBox = ((System.Windows.Controls.ListBox)(target));

            #line 43 "..\..\..\PreviewForms\PreviewForm2.xaml"
                this.questionsListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.questionsListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.resolversListBox = ((System.Windows.Controls.ListBox)(target));

            #line 50 "..\..\..\PreviewForms\PreviewForm2.xaml"
                this.resolversListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.resolversListBox_SelectionChanged);

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