public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Views/InteractionView.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.ErrorStates = (VisualStateGroup) base.FindName("ErrorStates");
         this.ErrorMessageShown = (VisualState) base.FindName("ErrorMessageShown");
         this.ErrorMessageNotShown = (VisualState) base.FindName("ErrorMessageNotShown");
         this.ErrorMessage = (ErrorMessageBox) base.FindName("ErrorMessage");
     }
 }
 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Views/AssetViewerView.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.ErrorStates = (VisualStateGroup) base.FindName("ErrorStates");
         this.ErrorMessageShown = (VisualState) base.FindName("ErrorMessageShown");
         this.ErrorMessageNotShown = (VisualState) base.FindName("ErrorMessageNotShown");
         this.LoadingStates = (VisualStateGroup) base.FindName("LoadingStates");
         this.Loading = (VisualState) base.FindName("Loading");
         this.NotLoading = (VisualState) base.FindName("NotLoading");
         this.Player = (ContentControl) base.FindName("Player");
         this.assetLoadingControl = (LoadingPanelControl) base.FindName("assetLoadingControl");
         this.ErrorMessage = (ErrorMessageBox) base.FindName("ErrorMessage");
     }
 }