Esempio n. 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window = ((NicoTrola.Reproduction)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window = ((NicoTrola.Reproduction)(target));
     return;
     case 2:
     this.mediaElement = ((System.Windows.Controls.MediaElement)(target));
     
     #line 9 "..\..\..\Reproduction.xaml"
     this.mediaElement.MediaEnded += new System.Windows.RoutedEventHandler(this.mediaElement_MediaEnded);
     
     #line default
     #line hidden
     
     #line 9 "..\..\..\Reproduction.xaml"
     this.mediaElement.MediaFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.mediaElement_MediaFailed);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }