void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 11 "..\..\MainWindow.xaml" ((KinectDrawing.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.camera = ((System.Windows.Controls.Image)(target)); return; case 3: this.canvas = ((System.Windows.Controls.Canvas)(target)); return; case 4: this.brush = ((KinectDrawing.DrawingBrush)(target)); return; case 5: this.trail = ((System.Windows.Shapes.Polyline)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 11 "..\..\MainWindow.xaml" ((KinectDrawing.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.camera = ((System.Windows.Controls.Image)(target)); return; case 3: this.canvas = ((System.Windows.Controls.Canvas)(target)); return; case 4: this.button1 = ((System.Windows.Controls.Button)(target)); return; case 5: this.brush = ((KinectDrawing.DrawingBrush)(target)); return; case 6: this.trail1 = ((System.Windows.Shapes.Polyline)(target)); return; case 7: this.trail2 = ((System.Windows.Shapes.Polyline)(target)); return; case 8: this.trail3 = ((System.Windows.Shapes.Polyline)(target)); return; case 9: this.trail4 = ((System.Windows.Shapes.Polyline)(target)); return; case 10: this.trail5 = ((System.Windows.Shapes.Polyline)(target)); return; case 11: this.trail6 = ((System.Windows.Shapes.Polyline)(target)); return; case 12: this.trail7 = ((System.Windows.Shapes.Polyline)(target)); return; case 13: this.trail8 = ((System.Windows.Shapes.Polyline)(target)); return; case 14: this.trail9 = ((System.Windows.Shapes.Polyline)(target)); return; case 15: this.trail10 = ((System.Windows.Shapes.Polyline)(target)); return; case 16: this.trail11 = ((System.Windows.Shapes.Polyline)(target)); return; case 17: this.trail12 = ((System.Windows.Shapes.Polyline)(target)); return; case 18: this.trail13 = ((System.Windows.Shapes.Polyline)(target)); return; case 19: this.trail14 = ((System.Windows.Shapes.Polyline)(target)); return; case 20: this.trail15 = ((System.Windows.Shapes.Polyline)(target)); return; case 21: this.trail16 = ((System.Windows.Shapes.Polyline)(target)); return; case 22: this.trail17 = ((System.Windows.Shapes.Polyline)(target)); return; case 23: this.trail18 = ((System.Windows.Shapes.Polyline)(target)); return; case 24: this.trail19 = ((System.Windows.Shapes.Polyline)(target)); return; case 25: this.trail20 = ((System.Windows.Shapes.Polyline)(target)); return; case 26: this.trail21 = ((System.Windows.Shapes.Polyline)(target)); return; case 27: this.trail22 = ((System.Windows.Shapes.Polyline)(target)); return; case 28: this.trail23 = ((System.Windows.Shapes.Polyline)(target)); return; case 29: this.trail24 = ((System.Windows.Shapes.Polyline)(target)); return; case 30: this.trail25 = ((System.Windows.Shapes.Polyline)(target)); return; case 31: this.trail26 = ((System.Windows.Shapes.Polyline)(target)); return; case 32: this.trail27 = ((System.Windows.Shapes.Polyline)(target)); return; case 33: this.trail28 = ((System.Windows.Shapes.Polyline)(target)); return; case 34: this.trail29 = ((System.Windows.Shapes.Polyline)(target)); return; case 35: this.trail30 = ((System.Windows.Shapes.Polyline)(target)); return; case 36: this.trail31 = ((System.Windows.Shapes.Polyline)(target)); return; case 37: this.trail32 = ((System.Windows.Shapes.Polyline)(target)); return; case 38: this.trail33 = ((System.Windows.Shapes.Polyline)(target)); return; case 39: this.trail34 = ((System.Windows.Shapes.Polyline)(target)); return; case 40: this.trail35 = ((System.Windows.Shapes.Polyline)(target)); return; case 41: this.trail36 = ((System.Windows.Shapes.Polyline)(target)); return; case 42: this.trail37 = ((System.Windows.Shapes.Polyline)(target)); return; case 43: this.trail38 = ((System.Windows.Shapes.Polyline)(target)); return; case 44: this.trail39 = ((System.Windows.Shapes.Polyline)(target)); return; case 45: this.trail40 = ((System.Windows.Shapes.Polyline)(target)); return; } this._contentLoaded = true; }