void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.BoardWindow = ((WhiteBoard.WhiteConvas)(target)); #line 9 "..\..\Window1.xaml" this.BoardWindow.Loaded += new System.Windows.RoutedEventHandler(this.BoardWindow_Loaded); #line default #line hidden #line 9 "..\..\Window1.xaml" this.BoardWindow.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.BoardWindow_MouseLeftButtonDown); #line default #line hidden #line 9 "..\..\Window1.xaml" this.BoardWindow.Drop += new System.Windows.DragEventHandler(this.ImageDrop); #line default #line hidden #line 9 "..\..\Window1.xaml" this.BoardWindow.DragEnter += new System.Windows.DragEventHandler(this.ImageDragEnter); #line default #line hidden return; case 2: this.ContentPanel = ((System.Windows.Controls.WrapPanel)(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 = ((WhiteBoard.WhiteConvas)(target)); #line 9 "..\..\WhiteConvas.xaml" this.BoardWindow.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.BoardWindow_MouseLeftButtonDown); #line default #line hidden return; case 2: this.LeftGrid = ((System.Windows.Controls.ColumnDefinition)(target)); return; case 3: this.CenterGrid = ((System.Windows.Controls.ColumnDefinition)(target)); return; case 4: this.RightGrid = ((System.Windows.Controls.ColumnDefinition)(target)); return; case 5: this.InkCovasBorder = ((System.Windows.Controls.Border)(target)); return; case 6: this.MainConvas = ((System.Windows.Controls.Canvas)(target)); return; case 7: this.ContentPanel = ((System.Windows.Controls.WrapPanel)(target)); #line 47 "..\..\WhiteConvas.xaml" this.ContentPanel.ManipulationStarting += new System.EventHandler <System.Windows.Input.ManipulationStartingEventArgs>(this.touchGrid_ManipulationStarting); #line default #line hidden #line 48 "..\..\WhiteConvas.xaml" this.ContentPanel.ManipulationDelta += new System.EventHandler <System.Windows.Input.ManipulationDeltaEventArgs>(this.touchGrid_ManipulationDelta); #line default #line hidden #line 49 "..\..\WhiteConvas.xaml" this.ContentPanel.ManipulationCompleted += new System.EventHandler <System.Windows.Input.ManipulationCompletedEventArgs>(this.touchGride_ManipulationCompleted); #line default #line hidden return; case 8: this.LeftPage = ((System.Windows.Controls.Image)(target)); #line 65 "..\..\WhiteConvas.xaml" this.LeftPage.MouseEnter += new System.Windows.Input.MouseEventHandler(this.imageLeft_MouseEnter); #line default #line hidden #line 65 "..\..\WhiteConvas.xaml" this.LeftPage.MouseLeave += new System.Windows.Input.MouseEventHandler(this.imageLeft_MouseLeave); #line default #line hidden #line 66 "..\..\WhiteConvas.xaml" this.LeftPage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.imageLeft_MouseLeftButtonDown); #line default #line hidden return; case 9: this.RightPage = ((System.Windows.Controls.Image)(target)); #line 77 "..\..\WhiteConvas.xaml" this.RightPage.MouseEnter += new System.Windows.Input.MouseEventHandler(this.imageRight_MouseEnter); #line default #line hidden #line 77 "..\..\WhiteConvas.xaml" this.RightPage.MouseLeave += new System.Windows.Input.MouseEventHandler(this.imageRight_MouseLeave); #line default #line hidden #line 78 "..\..\WhiteConvas.xaml" this.RightPage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.imageRight_MouseLeftButtonDown); #line default #line hidden return; case 10: this.pageBar = ((WhiteBoard.PageBar)(target)); return; } this._contentLoaded = true; }