public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MarketHarmonics;component/AnalysisSelectionControl.xaml", System.UriKind.Relative));
     this.ViewModel = ((MarketHarmonics.AnalysisSelectionControlViewModel)(this.FindName("ViewModel")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.LabelInstrument = ((System.Windows.Controls.TextBlock)(this.FindName("LabelInstrument")));
     this.Instrument = ((System.Windows.Controls.TextBox)(this.FindName("Instrument")));
     this.LabelIndicator = ((System.Windows.Controls.TextBlock)(this.FindName("LabelIndicator")));
     this.Indicator = ((System.Windows.Controls.ComboBox)(this.FindName("Indicator")));
     this.ButtonApplyIndicator = ((System.Windows.Controls.Button)(this.FindName("ButtonApplyIndicator")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MarketHarmonics;component/AnalysisSelectionControl.xaml", System.UriKind.Relative));
     this.ViewModel            = ((MarketHarmonics.AnalysisSelectionControlViewModel)(this.FindName("ViewModel")));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.LabelInstrument      = ((System.Windows.Controls.TextBlock)(this.FindName("LabelInstrument")));
     this.Instrument           = ((System.Windows.Controls.TextBox)(this.FindName("Instrument")));
     this.LabelIndicator       = ((System.Windows.Controls.TextBlock)(this.FindName("LabelIndicator")));
     this.Indicator            = ((System.Windows.Controls.ComboBox)(this.FindName("Indicator")));
     this.ButtonApplyIndicator = ((System.Windows.Controls.Button)(this.FindName("ButtonApplyIndicator")));
 }