void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.fullVideo = ((RMP.UserControls.FullScreenVideo)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.FullScreenVideoControl = ((RMP.UserControls.FullScreenVideo)(target)); return; case 2: this.mediaPlayer = ((System.Windows.Controls.MediaElement)(target)); #line 18 "..\..\..\UserControls\FullScreenVideo.xaml" this.mediaPlayer.MediaOpened += new System.Windows.RoutedEventHandler(this.mediaPlayer_MediaOpened); #line default #line hidden #line 19 "..\..\..\UserControls\FullScreenVideo.xaml" this.mediaPlayer.MediaEnded += new System.Windows.RoutedEventHandler(this.mediaPlayer_MediaEnded); #line default #line hidden #line 20 "..\..\..\UserControls\FullScreenVideo.xaml" this.mediaPlayer.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.mediaPlayer_MouseLeftButtonDown); #line default #line hidden return; case 3: #line 32 "..\..\..\UserControls\FullScreenVideo.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDownPlayMedia); #line default #line hidden return; case 4: #line 35 "..\..\..\UserControls\FullScreenVideo.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDownPauseMedia); #line default #line hidden return; case 5: #line 38 "..\..\..\UserControls\FullScreenVideo.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDownStopMedia); #line default #line hidden return; case 6: #line 41 "..\..\..\UserControls\FullScreenVideo.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDownFullScreen); #line default #line hidden return; case 7: this.volumeSlider = ((System.Windows.Controls.Slider)(target)); #line 46 "..\..\..\UserControls\FullScreenVideo.xaml" this.volumeSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ChangeMediaVolume); #line default #line hidden return; case 8: this.speedRatioSlider = ((System.Windows.Controls.Slider)(target)); #line 52 "..\..\..\UserControls\FullScreenVideo.xaml" this.speedRatioSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ChangeMediaSpeedRatio); #line default #line hidden return; case 9: this.timelineSlider = ((System.Windows.Controls.Slider)(target)); #line 58 "..\..\..\UserControls\FullScreenVideo.xaml" this.timelineSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SeekToMediaPosition); #line default #line hidden return; } this._contentLoaded = true; }