static void OnCameraPrototypeChanged(DependencyObject depObj, DependencyPropertyChangedEventArgs e) { ContentControl3D cc3D = depObj as ContentControl3D; if (cc3D != null && cc3D._viewport != null) { cc3D._viewport.Camera = cc3D.CreateCamera(); } }
static void OnEasingModeChanged(DependencyObject depObj, DependencyPropertyChangedEventArgs e) { ContentControl3D cc3D = depObj as ContentControl3D; if (cc3D != null && e.NewValue is RotationEasingMode) { cc3D._easingEquation = GetEasingEquationFromRotationEasingMode((RotationEasingMode)e.NewValue); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ThisFlipImage = ((MemberSignInSystem.ModernUI.Content.FlipImage)(target)); return; case 2: this.ContentGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.ImageContainer = ((Thriple.Controls.ContentControl3D)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 200 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NewGame_Click); #line default #line hidden return; case 2: this.table = ((System.Windows.Controls.Grid)(target)); return; case 3: this.grid_table = ((System.Windows.Controls.Grid)(target)); return; case 4: this.table11 = ((System.Windows.Controls.Grid)(target)); #line 216 "..\..\..\MainWindow.xaml" this.table11.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 5: this.table12 = ((System.Windows.Controls.Grid)(target)); #line 219 "..\..\..\MainWindow.xaml" this.table12.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 6: this.table13 = ((System.Windows.Controls.Grid)(target)); #line 222 "..\..\..\MainWindow.xaml" this.table13.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 7: this.table14 = ((System.Windows.Controls.Grid)(target)); #line 225 "..\..\..\MainWindow.xaml" this.table14.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 8: this.table15 = ((System.Windows.Controls.Grid)(target)); #line 228 "..\..\..\MainWindow.xaml" this.table15.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 9: this.table16 = ((System.Windows.Controls.Grid)(target)); #line 231 "..\..\..\MainWindow.xaml" this.table16.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 10: this.table17 = ((System.Windows.Controls.Grid)(target)); #line 234 "..\..\..\MainWindow.xaml" this.table17.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 11: this.table18 = ((System.Windows.Controls.Grid)(target)); #line 237 "..\..\..\MainWindow.xaml" this.table18.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 12: this.table21 = ((System.Windows.Controls.Grid)(target)); #line 240 "..\..\..\MainWindow.xaml" this.table21.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 13: this.table22 = ((System.Windows.Controls.Grid)(target)); #line 243 "..\..\..\MainWindow.xaml" this.table22.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 14: this.table23 = ((System.Windows.Controls.Grid)(target)); #line 246 "..\..\..\MainWindow.xaml" this.table23.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 15: this.table24 = ((System.Windows.Controls.Grid)(target)); #line 249 "..\..\..\MainWindow.xaml" this.table24.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 16: this.table25 = ((System.Windows.Controls.Grid)(target)); #line 252 "..\..\..\MainWindow.xaml" this.table25.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 17: this.table26 = ((System.Windows.Controls.Grid)(target)); #line 255 "..\..\..\MainWindow.xaml" this.table26.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 18: this.table27 = ((System.Windows.Controls.Grid)(target)); #line 258 "..\..\..\MainWindow.xaml" this.table27.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 19: this.table28 = ((System.Windows.Controls.Grid)(target)); #line 261 "..\..\..\MainWindow.xaml" this.table28.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 20: this.table31 = ((System.Windows.Controls.Grid)(target)); #line 264 "..\..\..\MainWindow.xaml" this.table31.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 21: this.table32 = ((System.Windows.Controls.Grid)(target)); #line 267 "..\..\..\MainWindow.xaml" this.table32.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 22: this.table33 = ((System.Windows.Controls.Grid)(target)); #line 270 "..\..\..\MainWindow.xaml" this.table33.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 23: this.table34 = ((System.Windows.Controls.Grid)(target)); #line 273 "..\..\..\MainWindow.xaml" this.table34.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 24: this.table35 = ((System.Windows.Controls.Grid)(target)); #line 276 "..\..\..\MainWindow.xaml" this.table35.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 25: this.table36 = ((System.Windows.Controls.Grid)(target)); #line 279 "..\..\..\MainWindow.xaml" this.table36.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 26: this.table37 = ((System.Windows.Controls.Grid)(target)); #line 282 "..\..\..\MainWindow.xaml" this.table37.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 27: this.table38 = ((System.Windows.Controls.Grid)(target)); #line 285 "..\..\..\MainWindow.xaml" this.table38.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 28: this.table41 = ((System.Windows.Controls.Grid)(target)); #line 288 "..\..\..\MainWindow.xaml" this.table41.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 29: this.table42 = ((System.Windows.Controls.Grid)(target)); #line 291 "..\..\..\MainWindow.xaml" this.table42.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 30: this.table43 = ((System.Windows.Controls.Grid)(target)); #line 294 "..\..\..\MainWindow.xaml" this.table43.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 31: this.table44 = ((System.Windows.Controls.Grid)(target)); #line 297 "..\..\..\MainWindow.xaml" this.table44.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 32: this.table45 = ((System.Windows.Controls.Grid)(target)); #line 300 "..\..\..\MainWindow.xaml" this.table45.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 33: this.table46 = ((System.Windows.Controls.Grid)(target)); #line 303 "..\..\..\MainWindow.xaml" this.table46.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 34: this.table47 = ((System.Windows.Controls.Grid)(target)); #line 306 "..\..\..\MainWindow.xaml" this.table47.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 35: this.table48 = ((System.Windows.Controls.Grid)(target)); #line 309 "..\..\..\MainWindow.xaml" this.table48.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 36: this.table51 = ((System.Windows.Controls.Grid)(target)); #line 312 "..\..\..\MainWindow.xaml" this.table51.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 37: this.table52 = ((System.Windows.Controls.Grid)(target)); #line 315 "..\..\..\MainWindow.xaml" this.table52.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 38: this.table53 = ((System.Windows.Controls.Grid)(target)); #line 318 "..\..\..\MainWindow.xaml" this.table53.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 39: this.table54 = ((System.Windows.Controls.Grid)(target)); #line 321 "..\..\..\MainWindow.xaml" this.table54.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 40: this.table55 = ((System.Windows.Controls.Grid)(target)); #line 324 "..\..\..\MainWindow.xaml" this.table55.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 41: this.table56 = ((System.Windows.Controls.Grid)(target)); #line 327 "..\..\..\MainWindow.xaml" this.table56.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 42: this.table57 = ((System.Windows.Controls.Grid)(target)); #line 330 "..\..\..\MainWindow.xaml" this.table57.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 43: this.table58 = ((System.Windows.Controls.Grid)(target)); #line 333 "..\..\..\MainWindow.xaml" this.table58.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 44: this.table61 = ((System.Windows.Controls.Grid)(target)); #line 336 "..\..\..\MainWindow.xaml" this.table61.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 45: this.table62 = ((System.Windows.Controls.Grid)(target)); #line 339 "..\..\..\MainWindow.xaml" this.table62.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 46: this.table63 = ((System.Windows.Controls.Grid)(target)); #line 342 "..\..\..\MainWindow.xaml" this.table63.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 47: this.table64 = ((System.Windows.Controls.Grid)(target)); #line 345 "..\..\..\MainWindow.xaml" this.table64.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 48: this.table65 = ((System.Windows.Controls.Grid)(target)); #line 348 "..\..\..\MainWindow.xaml" this.table65.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 49: this.table66 = ((System.Windows.Controls.Grid)(target)); #line 351 "..\..\..\MainWindow.xaml" this.table66.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 50: this.table67 = ((System.Windows.Controls.Grid)(target)); #line 354 "..\..\..\MainWindow.xaml" this.table67.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 51: this.table68 = ((System.Windows.Controls.Grid)(target)); #line 357 "..\..\..\MainWindow.xaml" this.table68.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 52: this.table71 = ((System.Windows.Controls.Grid)(target)); #line 360 "..\..\..\MainWindow.xaml" this.table71.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 53: this.table72 = ((System.Windows.Controls.Grid)(target)); #line 363 "..\..\..\MainWindow.xaml" this.table72.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 54: this.table73 = ((System.Windows.Controls.Grid)(target)); #line 366 "..\..\..\MainWindow.xaml" this.table73.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 55: this.table74 = ((System.Windows.Controls.Grid)(target)); #line 369 "..\..\..\MainWindow.xaml" this.table74.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 56: this.table75 = ((System.Windows.Controls.Grid)(target)); #line 372 "..\..\..\MainWindow.xaml" this.table75.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 57: this.table76 = ((System.Windows.Controls.Grid)(target)); #line 375 "..\..\..\MainWindow.xaml" this.table76.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 58: this.table77 = ((System.Windows.Controls.Grid)(target)); #line 378 "..\..\..\MainWindow.xaml" this.table77.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 59: this.table78 = ((System.Windows.Controls.Grid)(target)); #line 381 "..\..\..\MainWindow.xaml" this.table78.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 60: this.table81 = ((System.Windows.Controls.Grid)(target)); #line 384 "..\..\..\MainWindow.xaml" this.table81.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 61: this.table82 = ((System.Windows.Controls.Grid)(target)); #line 387 "..\..\..\MainWindow.xaml" this.table82.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 62: this.table83 = ((System.Windows.Controls.Grid)(target)); #line 390 "..\..\..\MainWindow.xaml" this.table83.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 63: this.table84 = ((System.Windows.Controls.Grid)(target)); #line 393 "..\..\..\MainWindow.xaml" this.table84.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 64: this.table85 = ((System.Windows.Controls.Grid)(target)); #line 396 "..\..\..\MainWindow.xaml" this.table85.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 65: this.table86 = ((System.Windows.Controls.Grid)(target)); #line 399 "..\..\..\MainWindow.xaml" this.table86.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 66: this.table87 = ((System.Windows.Controls.Grid)(target)); #line 402 "..\..\..\MainWindow.xaml" this.table87.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 67: this.table88 = ((System.Windows.Controls.Grid)(target)); #line 405 "..\..\..\MainWindow.xaml" this.table88.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.table_MouseDown); #line default #line hidden return; case 68: this.progressBlack = ((System.Windows.Controls.ProgressBar)(target)); return; case 69: this.progressWhite = ((System.Windows.Controls.ProgressBar)(target)); return; case 70: this.scoreBlack_text = ((System.Windows.Controls.TextBlock)(target)); return; case 71: this.scoreWhite_text = ((System.Windows.Controls.TextBlock)(target)); return; case 72: this.BBlack = ((Thriple.Controls.ContentControl3D)(target)); return; case 73: this.BWhite = ((Thriple.Controls.ContentControl3D)(target)); return; } this._contentLoaded = true; }