public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Microsoft.HealthMonitorPlayer;component/Views/Player.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SettingStates = ((System.Windows.VisualStateGroup)(this.FindName("SettingStates")));
     this.SettingsVisible = ((System.Windows.VisualState)(this.FindName("SettingsVisible")));
     this.SettingsHidden = ((System.Windows.VisualState)(this.FindName("SettingsHidden")));
     this.playerSmooth = ((Microsoft.SilverlightMediaFramework.Core.SMFPlayer)(this.FindName("playerSmooth")));
     this.SettingsPanel = ((System.Windows.Controls.Border)(this.FindName("SettingsPanel")));
     this.SettingsScaler = ((System.Windows.Media.ScaleTransform)(this.FindName("SettingsScaler")));
     this.TraceConfig = ((Microsoft.HealthMonitorPlayer.Views.TraceConfig)(this.FindName("TraceConfig")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Microsoft.HealthMonitorPlayer;component/Views/Player.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SettingStates   = ((System.Windows.VisualStateGroup)(this.FindName("SettingStates")));
     this.SettingsVisible = ((System.Windows.VisualState)(this.FindName("SettingsVisible")));
     this.SettingsHidden  = ((System.Windows.VisualState)(this.FindName("SettingsHidden")));
     this.playerSmooth    = ((Microsoft.SilverlightMediaFramework.Core.SMFPlayer)(this.FindName("playerSmooth")));
     this.SettingsPanel   = ((System.Windows.Controls.Border)(this.FindName("SettingsPanel")));
     this.SettingsScaler  = ((System.Windows.Media.ScaleTransform)(this.FindName("SettingsScaler")));
     this.TraceConfig     = ((Microsoft.HealthMonitorPlayer.Views.TraceConfig)(this.FindName("TraceConfig")));
 }