void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tabControl = ((System.Windows.Controls.TabControl)(target)); return; case 2: this.tabDisplay = ((System.Windows.Controls.TabItem)(target)); return; case 3: this.displayControl = ((PRAM_Machine.Gui.DisplayControl)(target)); return; case 4: this.tabStatistics = ((System.Windows.Controls.TabItem)(target)); return; case 5: this.statisticsDisplay = ((PRAM_Machine.Gui.StatisticsDisplay)(target)); return; case 6: this.statisticsNextButton = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\..\..\Gui\MainWindow.xaml" this.statisticsNextButton.Click += new System.Windows.RoutedEventHandler(this.statisticsNextButton_Click); #line default #line hidden return; case 7: this.statisticsTickButton = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\..\..\Gui\MainWindow.xaml" this.statisticsTickButton.Click += new System.Windows.RoutedEventHandler(this.statisticsTickButton_Click); #line default #line hidden return; case 8: this.statisticsRunButton = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\..\..\Gui\MainWindow.xaml" this.statisticsRunButton.Click += new System.Windows.RoutedEventHandler(this.statisticsRunButton_Click); #line default #line hidden return; case 9: this.stateTextBLock = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.clockTicksTextBLock = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.readCountTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.writeCountTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MachineUserControl = ((PRAM_Machine.Gui.DisplayControl)(target)); return; case 2: this.paintingArea = ((System.Windows.Controls.Canvas)(target)); return; case 3: this.processorsFrame = ((System.Windows.Shapes.Rectangle)(target)); return; case 4: this.processorsLabel = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.processorsGrid = ((System.Windows.Controls.Grid)(target)); return; case 6: this.memoryFrame = ((System.Windows.Shapes.Rectangle)(target)); return; case 7: this.memoryLabel = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.memoryGrid = ((System.Windows.Controls.Grid)(target)); return; case 9: this.nextButton = ((System.Windows.Controls.Button)(target)); #line 31 "..\..\..\..\Gui\DisplayControl.xaml" this.nextButton.Click += new System.Windows.RoutedEventHandler(this.nextButton_Click); #line default #line hidden return; case 10: this.nextTickButton = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\..\..\Gui\DisplayControl.xaml" this.nextTickButton.Click += new System.Windows.RoutedEventHandler(this.nextTickButton_Click); #line default #line hidden return; case 11: this.runButton = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\..\..\Gui\DisplayControl.xaml" this.runButton.Click += new System.Windows.RoutedEventHandler(this.runButton_Click); #line default #line hidden return; case 12: this.tickCountTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.machineStateTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.arrowPaintingArea = ((System.Windows.Controls.Canvas)(target)); return; } this._contentLoaded = true; }