void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Page = ((WpfApplication2.Page2)(target)); #line 8 "..\..\..\Page2.xaml" this.Page.Loaded += new System.Windows.RoutedEventHandler(this.setBackground); #line default #line hidden #line 8 "..\..\..\Page2.xaml" this.Page.Unloaded += new System.Windows.RoutedEventHandler(this.removeNUIEventHandler); #line default #line hidden return; case 2: this.controls = ((System.Windows.Controls.Canvas)(target)); return; case 3: this.buildAScene = ((System.Windows.Controls.Canvas)(target)); return; case 4: this.frame1 = ((System.Windows.Controls.Frame)(target)); return; case 5: this.Delete = ((System.Windows.Shapes.Rectangle)(target)); return; case 6: this.forwardButton = ((System.Windows.Shapes.Rectangle)(target)); return; case 7: this.backbutton = ((System.Windows.Shapes.Rectangle)(target)); return; case 8: this.toyBox = ((System.Windows.Shapes.Rectangle)(target)); return; case 9: this.switchMode = ((System.Windows.Shapes.Rectangle)(target)); return; case 10: this.pause = ((System.Windows.Shapes.Rectangle)(target)); return; case 11: this.record = ((System.Windows.Shapes.Rectangle)(target)); return; case 12: this.mode = ((System.Windows.Controls.Label)(target)); return; case 13: this.record_Copy = ((System.Windows.Shapes.Rectangle)(target)); return; case 14: this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target)); return; case 15: this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Page = ((WpfApplication2.Page2)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); #line 19 "..\..\Page2.xaml" this.LayoutRoot.Loaded += new System.Windows.RoutedEventHandler(this.setBackground); #line default #line hidden return; } this._contentLoaded = true; }