void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((WpfApplication2.pawnControl)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.redPawnBG = ((System.Windows.Shapes.Rectangle)(target)); #line 42 "..\..\pawnControl.xaml" this.redPawnBG.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.redPawnBG_MouseLeftButtonDown); #line default #line hidden return; case 4: this.redPawnReflectionBG = ((System.Windows.Shapes.Rectangle)(target)); #line 50 "..\..\pawnControl.xaml" this.redPawnReflectionBG.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.redPawnBG_MouseLeftButtonDown); #line default #line hidden return; case 5: this.redPawn = ((WpfApplication2.RedPawn)(target)); return; case 6: this.redPawnRadioButton = ((System.Windows.Controls.RadioButton)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.sbRowsTextBoxFirefly_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target)); return; case 2: this.sbColumnsFirefly_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target)); return; case 3: this.sbColumnsFirefly_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target)); return; case 4: #line 206 "..\..\BoardSettingsWindow.xaml" ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown); #line default #line hidden #line 206 "..\..\BoardSettingsWindow.xaml" ((System.Windows.Controls.Image)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonUp); #line default #line hidden #line 206 "..\..\BoardSettingsWindow.xaml" ((System.Windows.Controls.Image)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Image_MouseMove); #line default #line hidden return; case 5: this.rowsColumnsBGRectangle = ((System.Windows.Shapes.Rectangle)(target)); #line 207 "..\..\BoardSettingsWindow.xaml" this.rowsColumnsBGRectangle.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown); #line default #line hidden #line 207 "..\..\BoardSettingsWindow.xaml" this.rowsColumnsBGRectangle.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonUp); #line default #line hidden #line 207 "..\..\BoardSettingsWindow.xaml" this.rowsColumnsBGRectangle.MouseMove += new System.Windows.Input.MouseEventHandler(this.Image_MouseMove); #line default #line hidden return; case 6: this.reflectionOfRowsTextBox = ((System.Windows.Shapes.Ellipse)(target)); return; case 7: this.rowsTextBox = ((System.Windows.Controls.TextBox)(target)); #line 233 "..\..\BoardSettingsWindow.xaml" this.rowsTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.rowsTextBox_TextChanged); #line default #line hidden return; case 8: this.reflectionOfRowsTextBox_Copy = ((System.Windows.Shapes.Ellipse)(target)); return; case 9: this.columnsTextBox = ((System.Windows.Controls.TextBox)(target)); #line 258 "..\..\BoardSettingsWindow.xaml" this.columnsTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.columnsTextBox_TextChanged); #line default #line hidden return; case 10: this.rowsTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.columnsTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.boardInfoMessage = ((System.Windows.Controls.TextBlock)(target)); #line 267 "..\..\BoardSettingsWindow.xaml" this.boardInfoMessage.MouseMove += new System.Windows.Input.MouseEventHandler(this.Image_MouseMove); #line default #line hidden #line 267 "..\..\BoardSettingsWindow.xaml" this.boardInfoMessage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown); #line default #line hidden #line 267 "..\..\BoardSettingsWindow.xaml" this.boardInfoMessage.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonUp); #line default #line hidden return; case 13: this.leftFirefly = ((System.Windows.Shapes.Ellipse)(target)); return; case 14: this.redPawnBG = ((System.Windows.Shapes.Rectangle)(target)); #line 288 "..\..\BoardSettingsWindow.xaml" this.redPawnBG.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.redPawnBG_MouseLeftButtonDown); #line default #line hidden return; case 15: this.redPawnReflectionBG = ((System.Windows.Shapes.Rectangle)(target)); #line 296 "..\..\BoardSettingsWindow.xaml" this.redPawnReflectionBG.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.redPawnBG_MouseLeftButtonDown); #line default #line hidden return; case 16: this.redPawn = ((WpfApplication2.RedPawn)(target)); return; case 17: this.greenPawnBG = ((System.Windows.Shapes.Rectangle)(target)); #line 306 "..\..\BoardSettingsWindow.xaml" this.greenPawnBG.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.greenPawnBG_MouseLeftButtonDown); #line default #line hidden return; case 18: this.greenPawn = ((WpfApplication2.GreenPawn)(target)); return; case 19: this.greenPawnRadioButton = ((System.Windows.Controls.RadioButton)(target)); return; case 20: this.redPawnRadioButton = ((System.Windows.Controls.RadioButton)(target)); return; case 21: this.boardInfoMessage_Copy = ((System.Windows.Controls.TextBlock)(target)); #line 317 "..\..\BoardSettingsWindow.xaml" this.boardInfoMessage_Copy.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown); #line default #line hidden #line 317 "..\..\BoardSettingsWindow.xaml" this.boardInfoMessage_Copy.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonUp); #line default #line hidden #line 317 "..\..\BoardSettingsWindow.xaml" this.boardInfoMessage_Copy.MouseMove += new System.Windows.Input.MouseEventHandler(this.Image_MouseMove); #line default #line hidden return; case 22: this.rowsBoundsTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 23: this.greenPawnReflectionBG = ((System.Windows.Shapes.Rectangle)(target)); #line 326 "..\..\BoardSettingsWindow.xaml" this.greenPawnReflectionBG.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.greenPawnBG_MouseLeftButtonDown); #line default #line hidden return; case 24: this.rightFirefly = ((System.Windows.Shapes.Ellipse)(target)); return; case 25: this.columnsBoundsTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 26: this.startButton = ((System.Windows.Controls.Button)(target)); #line 355 "..\..\BoardSettingsWindow.xaml" this.startButton.Click += new System.Windows.RoutedEventHandler(this.startButton_Click); #line default #line hidden return; case 27: this.backButton = ((System.Windows.Controls.Button)(target)); #line 435 "..\..\BoardSettingsWindow.xaml" this.backButton.Click += new System.Windows.RoutedEventHandler(this.backButton_Click); #line default #line hidden return; } this._contentLoaded = true; }