示例#1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Page = ((WpfApplication2.Page1)(target));
     return;
     case 2:
     this.ShipwreckHover_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.JungleHover_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.TempleHover_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 5:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.JungleB = ((System.Windows.Controls.Border)(target));
     return;
     case 7:
     this.Jungle = ((System.Windows.Controls.Image)(target));
     
     #line 51 "..\..\Page1.xaml"
     this.Jungle.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Jungle_MouseUp);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ShipB = ((System.Windows.Controls.Border)(target));
     return;
     case 9:
     this.Shipwreck = ((System.Windows.Controls.Image)(target));
     return;
     case 10:
     this.TempleB = ((System.Windows.Controls.Border)(target));
     return;
     case 11:
     this.Temple = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Page = ((WpfApplication2.Page1)(target));
     
     #line 7 "..\..\..\Page1.xaml"
     this.Page.Loaded += new System.Windows.RoutedEventHandler(this.setUpKinect);
     
     #line default
     #line hidden
     
     #line 7 "..\..\..\Page1.xaml"
     this.Page.Unloaded += new System.Windows.RoutedEventHandler(this.removeNUIEventHandler);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.Jungle1 = ((System.Windows.Controls.Image)(target));
     
     #line 20 "..\..\..\Page1.xaml"
     this.Jungle1.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.selectSetting);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Shipwreck1 = ((System.Windows.Controls.Image)(target));
     
     #line 25 "..\..\..\Page1.xaml"
     this.Shipwreck1.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.selectSetting);
     
     #line default
     #line hidden
     return;
     case 5:
     this.Temple2 = ((System.Windows.Controls.Image)(target));
     
     #line 30 "..\..\..\Page1.xaml"
     this.Temple2.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.selectSetting);
     
     #line default
     #line hidden
     return;
     case 6:
     this.Shipwreck = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 7:
     this.Temple = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 8:
     this.Jungle = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 9:
     this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 10:
     this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Page = ((WpfApplication2.Page1)(target));
     
     #line 8 "..\..\Page1.xaml"
     this.Page.Loaded += new System.Windows.RoutedEventHandler(this.setUpKinect);
     
     #line default
     #line hidden
     
     #line 8 "..\..\Page1.xaml"
     this.Page.Unloaded += new System.Windows.RoutedEventHandler(this.removeNUIEventHandler);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ShipwreckHover_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.JungleHover_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.TempleHover_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 5:
     this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 6:
     this.JungleB = ((System.Windows.Controls.Border)(target));
     return;
     case 7:
     this.Jungle = ((System.Windows.Controls.Image)(target));
     
     #line 50 "..\..\Page1.xaml"
     this.Jungle.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.selectSetting);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ShipB = ((System.Windows.Controls.Border)(target));
     return;
     case 9:
     this.Shipwreck = ((System.Windows.Controls.Image)(target));
     
     #line 53 "..\..\Page1.xaml"
     this.Shipwreck.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.selectSetting);
     
     #line default
     #line hidden
     return;
     case 10:
     this.TempleB = ((System.Windows.Controls.Border)(target));
     return;
     case 11:
     this.Temple = ((System.Windows.Controls.Image)(target));
     
     #line 56 "..\..\Page1.xaml"
     this.Temple.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.selectSetting);
     
     #line default
     #line hidden
     return;
     case 12:
     this.rightEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 13:
     this.leftEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     }
     this._contentLoaded = true;
 }