void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 6 "..\..\AddStockWindow.xaml" ((CitiZen_TradingApp.AddStockWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.addStockListBox = ((System.Windows.Controls.ListBox)(target)); #line 11 "..\..\AddStockWindow.xaml" this.addStockListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.addStockListBox_SelectionChanged); #line default #line hidden return; case 3: this.livedataChartAdd = ((CitiZen_TradingApp.Livedata)(target)); return; case 4: this.tickerLabel = ((System.Windows.Controls.Label)(target)); return; case 5: this.addStockVolumeTextBox = ((System.Windows.Controls.TextBox)(target)); #line 29 "..\..\AddStockWindow.xaml" this.addStockVolumeTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden return; case 6: this.addStockButton = ((System.Windows.Controls.Button)(target)); #line 30 "..\..\AddStockWindow.xaml" this.addStockButton.Click += new System.Windows.RoutedEventHandler(this.addStockButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 9 "..\..\MainWindow.xaml" ((CitiZen_TradingApp.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.mainDockPanel = ((System.Windows.Controls.DockPanel)(target)); return; case 3: this.mainMenu = ((System.Windows.Controls.Menu)(target)); return; case 4: this.File = ((System.Windows.Controls.MenuItem)(target)); return; case 5: this.New = ((System.Windows.Controls.MenuItem)(target)); return; case 6: this.Open = ((System.Windows.Controls.MenuItem)(target)); return; case 7: this.Save = ((System.Windows.Controls.MenuItem)(target)); return; case 8: this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target)); return; case 9: this.mainGrid = ((System.Windows.Controls.Grid)(target)); return; case 10: this.portfolioStackPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 11: this.traderPortfolioStackPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 12: this.startBalanceLabel = ((System.Windows.Controls.Label)(target)); return; case 13: this.profitLossLabel = ((System.Windows.Controls.Label)(target)); return; case 14: this.portfolioButtons = ((System.Windows.Controls.StackPanel)(target)); return; case 15: this.addStockTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.addStockButton = ((System.Windows.Controls.Button)(target)); #line 64 "..\..\MainWindow.xaml" this.addStockButton.Click += new System.Windows.RoutedEventHandler(this.addStockButton_Click); #line default #line hidden return; case 17: this.removeStockButton = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\MainWindow.xaml" this.removeStockButton.Click += new System.Windows.RoutedEventHandler(this.removeStockButton_Click); #line default #line hidden return; case 18: this.portfolioDataGrid = ((System.Windows.Controls.DataGrid)(target)); #line 70 "..\..\MainWindow.xaml" this.portfolioDataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.portfolioDataGrid_SelectionChanged); #line default #line hidden return; case 19: this.livedataStackPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 20: this.livedataHeader = ((System.Windows.Controls.StackPanel)(target)); return; case 21: this.livedataLabel = ((System.Windows.Controls.Label)(target)); return; case 22: this.livedataComboBox = ((System.Windows.Controls.ComboBox)(target)); #line 89 "..\..\MainWindow.xaml" this.livedataComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.livedataComboBox_SelectionChanged); #line default #line hidden return; case 23: this.livedataChart = ((CitiZen_TradingApp.Livedata)(target)); return; case 24: this.liveStockLabel = ((System.Windows.Controls.Label)(target)); return; case 25: this.strategyStackPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 26: this.strategyHeader = ((System.Windows.Controls.StackPanel)(target)); return; case 27: this.strategyStockComboBox = ((System.Windows.Controls.ComboBox)(target)); #line 113 "..\..\MainWindow.xaml" this.strategyStockComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.strategyStockComboBox_SelectionChanged); #line default #line hidden return; case 28: #line 116 "..\..\MainWindow.xaml" ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged); #line default #line hidden return; case 29: this.twoMAStrategyButtons = ((System.Windows.Controls.StackPanel)(target)); return; case 30: this.thresholdTextBox = ((System.Windows.Controls.TextBox)(target)); #line 129 "..\..\MainWindow.xaml" this.thresholdTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden return; case 31: this.volumeTextBox = ((System.Windows.Controls.TextBox)(target)); #line 131 "..\..\MainWindow.xaml" this.volumeTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden return; case 32: this.longMATextBox = ((System.Windows.Controls.TextBox)(target)); #line 133 "..\..\MainWindow.xaml" this.longMATextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden return; case 33: this.shortMATextBox = ((System.Windows.Controls.TextBox)(target)); #line 135 "..\..\MainWindow.xaml" this.shortMATextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden return; case 34: this.strategyStockLabel = ((System.Windows.Controls.Label)(target)); return; case 35: this.activateTwoMAButton = ((System.Windows.Controls.Button)(target)); #line 141 "..\..\MainWindow.xaml" this.activateTwoMAButton.Click += new System.Windows.RoutedEventHandler(this.activateTwoMAButton_Click); #line default #line hidden return; case 36: this.pauseResumeTwoMAButton = ((System.Windows.Controls.Button)(target)); #line 142 "..\..\MainWindow.xaml" this.pauseResumeTwoMAButton.Click += new System.Windows.RoutedEventHandler(this.pauseResumeTwoMAButton_Click); #line default #line hidden return; case 37: this.deactivateTwoMAButton = ((System.Windows.Controls.Button)(target)); #line 143 "..\..\MainWindow.xaml" this.deactivateTwoMAButton.Click += new System.Windows.RoutedEventHandler(this.deactivateTwoMAButton_Click); #line default #line hidden return; case 38: this.bollingerBandsStrategyButtons = ((System.Windows.Controls.StackPanel)(target)); return; case 39: this.thresholdBBTextBox = ((System.Windows.Controls.TextBox)(target)); #line 155 "..\..\MainWindow.xaml" this.thresholdBBTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden return; case 40: this.volumeBBTextBox = ((System.Windows.Controls.TextBox)(target)); #line 157 "..\..\MainWindow.xaml" this.volumeBBTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden return; case 41: this.movingAvgBBTextBox = ((System.Windows.Controls.TextBox)(target)); #line 159 "..\..\MainWindow.xaml" this.movingAvgBBTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden return; case 42: this.stdDevBBTextBox = ((System.Windows.Controls.TextBox)(target)); #line 161 "..\..\MainWindow.xaml" this.stdDevBBTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden return; case 43: this.strategyStockBBLabel = ((System.Windows.Controls.Label)(target)); return; case 44: this.activateBBButton = ((System.Windows.Controls.Button)(target)); #line 167 "..\..\MainWindow.xaml" this.activateBBButton.Click += new System.Windows.RoutedEventHandler(this.activateBBButton_Click); #line default #line hidden return; case 45: this.pauseResumeBBButton = ((System.Windows.Controls.Button)(target)); #line 168 "..\..\MainWindow.xaml" this.pauseResumeBBButton.Click += new System.Windows.RoutedEventHandler(this.pauseResumeBBButton_Click); #line default #line hidden return; case 46: this.deactivateBBButton = ((System.Windows.Controls.Button)(target)); #line 169 "..\..\MainWindow.xaml" this.deactivateBBButton.Click += new System.Windows.RoutedEventHandler(this.deactivateBBButton_Click); #line default #line hidden return; case 47: this.ordersDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 48: this.buySellColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 49: this.twoMACharting = ((System.Windows.Controls.Border)(target)); return; case 50: this.twoMAStrategyComboBox = ((System.Windows.Controls.ComboBox)(target)); #line 215 "..\..\MainWindow.xaml" this.twoMAStrategyComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.twoMAStrategyComboBox_SelectionChanged); #line default #line hidden return; case 51: this.selectedStrategyLabel = ((System.Windows.Controls.Label)(target)); return; case 52: this.longMALabel = ((System.Windows.Controls.Label)(target)); return; case 53: this.shortMALabel = ((System.Windows.Controls.Label)(target)); return; case 54: this.twoMAChart = ((CitiZen_TradingApp.TwoMAView)(target)); return; case 55: this.bollingerBandsCharting = ((System.Windows.Controls.Border)(target)); return; case 56: this.bBStrategyComboBox = ((System.Windows.Controls.ComboBox)(target)); #line 234 "..\..\MainWindow.xaml" this.bBStrategyComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.bBStrategyComboBox_SelectionChanged); #line default #line hidden return; case 57: this.selectedBBStrategyLabel = ((System.Windows.Controls.Label)(target)); return; case 58: this.movingAvgLabel = ((System.Windows.Controls.Label)(target)); return; case 59: this.stdDevLabel = ((System.Windows.Controls.Label)(target)); return; case 60: this.bollingerBandsChart = ((CitiZen_TradingApp.BollingerBandsView)(target)); return; } this._contentLoaded = true; }