void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mediaElement = ((System.Windows.Controls.MediaElement)(target));

            #line 74 "..\..\..\Control\ControlMediaElement.xaml"
                this.mediaElement.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.mediaElement_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 2:
                this.gridControl = ((System.Windows.Controls.Grid)(target));

            #line 78 "..\..\..\Control\ControlMediaElement.xaml"
                this.gridControl.MouseEnter += new System.Windows.Input.MouseEventHandler(this.progressBar_MouseEnter);

            #line default
            #line hidden

            #line 79 "..\..\..\Control\ControlMediaElement.xaml"
                this.gridControl.MouseLeave += new System.Windows.Input.MouseEventHandler(this.progressBar_MouseLeave);

            #line default
            #line hidden
                return;

            case 3:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 4:
                this.slider = ((jg.Editor.Library.Control.ControlSlider)(target));
                return;

            case 5:
                this.btnZoom = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 105 "..\..\..\Control\ControlMediaElement.xaml"
                this.btnZoom.Click += new System.Windows.RoutedEventHandler(this.btnZoom_Click);

            #line default
            #line hidden
                return;

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

            #line 157 "..\..\..\Control\ControlMediaElement.xaml"
                this.btnPlay.Click += new System.Windows.RoutedEventHandler(this.btnPlay_Click);

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

            #line 551 "..\..\..\Control\ControlPlay.xaml"
                this.progressBar.MouseEnter += new System.Windows.Input.MouseEventHandler(this.progressBar_MouseEnter);

            #line default
            #line hidden

            #line 552 "..\..\..\Control\ControlPlay.xaml"
                this.progressBar.MouseLeave += new System.Windows.Input.MouseEventHandler(this.progressBar_MouseLeave);

            #line default
            #line hidden
                return;

            case 2:
                this.slider = ((jg.Editor.Library.Control.ControlSlider)(target));
                return;

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

            #line 572 "..\..\..\Control\ControlPlay.xaml"
                this.btnPrevious.Click += new System.Windows.RoutedEventHandler(this.btnPrevious_Click);

            #line default
            #line hidden
                return;

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

            #line 594 "..\..\..\Control\ControlPlay.xaml"
                this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnMenu = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 609 "..\..\..\Control\ControlPlay.xaml"
                this.btnMenu.Click += new System.Windows.RoutedEventHandler(this.btnMenu_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.tbPlay = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 621 "..\..\..\Control\ControlPlay.xaml"
                this.tbPlay.Checked += new System.Windows.RoutedEventHandler(this.tbPlay_Checked);

            #line default
            #line hidden

            #line 622 "..\..\..\Control\ControlPlay.xaml"
                this.tbPlay.Unchecked += new System.Windows.RoutedEventHandler(this.tbPlay_Unchecked);

            #line default
            #line hidden
                return;

            case 7:
                this.toggleButtonShrink = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 645 "..\..\..\Control\ControlPlay.xaml"
                this.toggleButtonShrink.Click += new System.Windows.RoutedEventHandler(this.toggleButtonShrink_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.controlSound = ((jg.Editor.Library.Control.ControlSound)(target));
                return;
            }
            this._contentLoaded = true;
        }