void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.BoardWindow = ((WhiteBoardTest.MainWindow)(target)); #line 5 "..\..\..\MainWindow.xaml" this.BoardWindow.Loaded += new System.Windows.RoutedEventHandler(this.BoardWindow_Loaded); #line default #line hidden #line 5 "..\..\..\MainWindow.xaml" this.BoardWindow.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.BoardWindow_MouseLeftButtonDown); #line default #line hidden #line 5 "..\..\..\MainWindow.xaml" this.BoardWindow.Drop += new System.Windows.DragEventHandler(this.ImageDrop); #line default #line hidden #line 5 "..\..\..\MainWindow.xaml" this.BoardWindow.DragEnter += new System.Windows.DragEventHandler(this.ImageDragEnter); #line default #line hidden return; case 2: this.ContentPanel = ((System.Windows.Controls.DockPanel)(target)); return; case 3: this.inkContent = ((System.Windows.Controls.InkCanvas)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.BoardWindow = ((WhiteBoardTest.MainWindow)(target)); #line 4 "..\..\..\MainWindow.xaml" this.BoardWindow.Loaded += new System.Windows.RoutedEventHandler(this.BoardWindow_Loaded); #line default #line hidden #line 4 "..\..\..\MainWindow.xaml" this.BoardWindow.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.BoardWindow_MouseLeftButtonDown); #line default #line hidden #line 4 "..\..\..\MainWindow.xaml" this.BoardWindow.Drop += new System.Windows.DragEventHandler(this.ImageDrop); #line default #line hidden #line 4 "..\..\..\MainWindow.xaml" this.BoardWindow.DragEnter += new System.Windows.DragEventHandler(this.ImageDragEnter); #line default #line hidden return; case 2: this.ContentPanel = ((System.Windows.Controls.DockPanel)(target)); return; case 3: this.Color_2 = ((System.Windows.Controls.Button)(target)); #line 209 "..\..\..\MainWindow.xaml" this.Color_2.Click += new System.Windows.RoutedEventHandler(this.Color_2_Click); #line default #line hidden return; case 4: this.Color_3 = ((System.Windows.Controls.Button)(target)); #line 210 "..\..\..\MainWindow.xaml" this.Color_3.Click += new System.Windows.RoutedEventHandler(this.Color_2_Click); #line default #line hidden return; case 5: this.Color_4 = ((System.Windows.Controls.Button)(target)); #line 211 "..\..\..\MainWindow.xaml" this.Color_4.Click += new System.Windows.RoutedEventHandler(this.Color_2_Click); #line default #line hidden return; case 6: this.Color_5 = ((System.Windows.Controls.Button)(target)); #line 212 "..\..\..\MainWindow.xaml" this.Color_5.Click += new System.Windows.RoutedEventHandler(this.Color_2_Click); #line default #line hidden return; case 7: this.Size_2 = ((System.Windows.Controls.Button)(target)); #line 217 "..\..\..\MainWindow.xaml" this.Size_2.Click += new System.Windows.RoutedEventHandler(this.Size_2_Click); #line default #line hidden return; case 8: this.Size_3 = ((System.Windows.Controls.Button)(target)); #line 222 "..\..\..\MainWindow.xaml" this.Size_3.Click += new System.Windows.RoutedEventHandler(this.Size_2_Click); #line default #line hidden return; case 9: this.Size_4 = ((System.Windows.Controls.Button)(target)); #line 227 "..\..\..\MainWindow.xaml" this.Size_4.Click += new System.Windows.RoutedEventHandler(this.Size_2_Click); #line default #line hidden return; case 10: this.Size_5 = ((System.Windows.Controls.Button)(target)); #line 232 "..\..\..\MainWindow.xaml" this.Size_5.Click += new System.Windows.RoutedEventHandler(this.Size_2_Click); #line default #line hidden return; case 11: this.shape1 = ((System.Windows.Controls.Button)(target)); #line 241 "..\..\..\MainWindow.xaml" this.shape1.Click += new System.Windows.RoutedEventHandler(this.shape_Click); #line default #line hidden return; case 12: this.shape2 = ((System.Windows.Controls.Button)(target)); #line 246 "..\..\..\MainWindow.xaml" this.shape2.Click += new System.Windows.RoutedEventHandler(this.shape_Click); #line default #line hidden return; case 13: this.shape3 = ((System.Windows.Controls.Button)(target)); #line 251 "..\..\..\MainWindow.xaml" this.shape3.Click += new System.Windows.RoutedEventHandler(this.shape_Click); #line default #line hidden return; case 14: this.sldstyle = ((System.Windows.Controls.Slider)(target)); return; case 15: this.inkContent = ((System.Windows.Controls.InkCanvas)(target)); return; } this._contentLoaded = true; }