Robot.g.i.cs 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. #pragma checksum "..\..\..\UserControls\Robot.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "871BB0E1E5324949051437C0F43106A2D5439286152AEFFE19D36A466574A06F"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // 此代码由工具生成。
  5. // 运行时版本:4.0.30319.42000
  6. //
  7. // 对此文件的更改可能会导致不正确的行为,并且如果
  8. // 重新生成代码,这些更改将会丢失。
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using System;
  12. using System.Diagnostics;
  13. using System.Windows;
  14. using System.Windows.Automation;
  15. using System.Windows.Controls;
  16. using System.Windows.Controls.Primitives;
  17. using System.Windows.Data;
  18. using System.Windows.Documents;
  19. using System.Windows.Ink;
  20. using System.Windows.Input;
  21. using System.Windows.Markup;
  22. using System.Windows.Media;
  23. using System.Windows.Media.Animation;
  24. using System.Windows.Media.Effects;
  25. using System.Windows.Media.Imaging;
  26. using System.Windows.Media.Media3D;
  27. using System.Windows.Media.TextFormatting;
  28. using System.Windows.Navigation;
  29. using System.Windows.Shapes;
  30. using System.Windows.Shell;
  31. using athosThemes.Converters;
  32. using athosThemes.UserControls;
  33. namespace athosThemes.UserControls {
  34. /// <summary>
  35. /// Robot
  36. /// </summary>
  37. public partial class Robot : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
  38. #line 9 "..\..\..\UserControls\Robot.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal athosThemes.UserControls.Robot robot;
  41. #line default
  42. #line hidden
  43. #line 458 "..\..\..\UserControls\Robot.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Media.RotateTransform robotRotateAct;
  46. #line default
  47. #line hidden
  48. #line 482 "..\..\..\UserControls\Robot.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Media.RotateTransform arm1RotateAct1;
  51. #line default
  52. #line hidden
  53. #line 493 "..\..\..\UserControls\Robot.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Media.RotateTransform arm1RotateAct2;
  56. #line default
  57. #line hidden
  58. #line 503 "..\..\..\UserControls\Robot.xaml"
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  60. internal System.Windows.Media.RotateTransform arm1RotateAct3;
  61. #line default
  62. #line hidden
  63. #line 540 "..\..\..\UserControls\Robot.xaml"
  64. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  65. internal System.Windows.Media.RotateTransform arm2RotateAct1;
  66. #line default
  67. #line hidden
  68. #line 553 "..\..\..\UserControls\Robot.xaml"
  69. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  70. internal System.Windows.Media.RotateTransform arm2RotateAct2;
  71. #line default
  72. #line hidden
  73. #line 564 "..\..\..\UserControls\Robot.xaml"
  74. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  75. internal System.Windows.Media.RotateTransform arm2RotateAct3;
  76. #line default
  77. #line hidden
  78. private bool _contentLoaded;
  79. /// <summary>
  80. /// InitializeComponent
  81. /// </summary>
  82. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  83. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  84. public void InitializeComponent() {
  85. if (_contentLoaded) {
  86. return;
  87. }
  88. _contentLoaded = true;
  89. System.Uri resourceLocater = new System.Uri("/athosThemes;component/usercontrols/robot.xaml", System.UriKind.Relative);
  90. #line 1 "..\..\..\UserControls\Robot.xaml"
  91. System.Windows.Application.LoadComponent(this, resourceLocater);
  92. #line default
  93. #line hidden
  94. }
  95. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  96. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  97. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  98. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  99. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  100. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  101. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  102. switch (connectionId)
  103. {
  104. case 1:
  105. this.robot = ((athosThemes.UserControls.Robot)(target));
  106. return;
  107. case 2:
  108. this.robotRotateAct = ((System.Windows.Media.RotateTransform)(target));
  109. return;
  110. case 3:
  111. this.arm1RotateAct1 = ((System.Windows.Media.RotateTransform)(target));
  112. return;
  113. case 4:
  114. this.arm1RotateAct2 = ((System.Windows.Media.RotateTransform)(target));
  115. return;
  116. case 5:
  117. this.arm1RotateAct3 = ((System.Windows.Media.RotateTransform)(target));
  118. return;
  119. case 6:
  120. this.arm2RotateAct1 = ((System.Windows.Media.RotateTransform)(target));
  121. return;
  122. case 7:
  123. this.arm2RotateAct2 = ((System.Windows.Media.RotateTransform)(target));
  124. return;
  125. case 8:
  126. this.arm2RotateAct3 = ((System.Windows.Media.RotateTransform)(target));
  127. return;
  128. }
  129. this._contentLoaded = true;
  130. }
  131. }
  132. }