public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Views/Shell/OnDemandShellView.xaml", UriKind.Relative));
         this.userControl = (UserControl) base.FindName("userControl");
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.AssetInfoStates = (VisualStateGroup) base.FindName("AssetInfoStates");
         this.ShowAssetInfo = (VisualState) base.FindName("ShowAssetInfo");
         this.InfoPanelIn = (Storyboard) base.FindName("InfoPanelIn");
         this.HideAssetInfo = (VisualState) base.FindName("HideAssetInfo");
         this.ShowSmallAssetInfoPopupBubble = (VisualState) base.FindName("ShowSmallAssetInfoPopupBubble");
         this.CaptionSettingsStates = (VisualStateGroup) base.FindName("CaptionSettingsStates");
         this.ShowCaptionSettings = (VisualState) base.FindName("ShowCaptionSettings");
         this.HideCaptionSettings = (VisualState) base.FindName("HideCaptionSettings");
         this.CaptionSettingsPopupStates = (VisualStateGroup) base.FindName("CaptionSettingsPopupStates");
         this.ShowSettingsBubble = (VisualState) base.FindName("ShowSettingsBubble");
         this.HideSettingsBubble = (VisualState) base.FindName("HideSettingsBubble");
         this.BackgroundRectangle = (Rectangle) base.FindName("BackgroundRectangle");
         this.AssetViewer = (ContentControl) base.FindName("AssetViewer");
         this.ClickToggleControlBarAction = (ActionMessage) base.FindName("ClickToggleControlBarAction");
         this.controller = (OnDemandController) base.FindName("controller");
         this.assetInfoContentControl = (BubbleContentControl) base.FindName("assetInfoContentControl");
         this.captionBubble = (BubbleContentControl) base.FindName("captionBubble");
         this.CaptionSettings = (ContentControl) base.FindName("CaptionSettings");
         this.Interaction = (ContentControl) base.FindName("Interaction");
     }
 }
 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Views/LiveAssetInfoView.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.AssetInfoLoadingStates = (VisualStateGroup) base.FindName("AssetInfoLoadingStates");
         this.Loading = (VisualState) base.FindName("Loading");
         this.LoadedState = (VisualState) base.FindName("LoadedState");
         this.LoadedGrid = (Grid) base.FindName("LoadedGrid");
         this.assetInfoPanel = (BubbleContentControl) base.FindName("assetInfoPanel");
         this.LoadingGrid = (Grid) base.FindName("LoadingGrid");
         this.assetInfoPanel_Copy = (BubbleContentControl) base.FindName("assetInfoPanel_Copy");
         this.Spinner = (LoadSpinnerControl) base.FindName("Spinner");
     }
 }