void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((TestUserControl.MediaVideoPlayer)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((TestUserControl.MediaVideoPlayer)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; } this._contentLoaded = true; }