98c5a50ba0435700db7f2367b1dbeab78fda3e96893e192277bf345b39cc3c1a.source 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. #pragma checksum "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "18A290AF0FF476C18050FCCA6D7D2DE17B22378D"
  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.Controls.Ribbon;
  18. using System.Windows.Data;
  19. using System.Windows.Documents;
  20. using System.Windows.Ink;
  21. using System.Windows.Input;
  22. using System.Windows.Markup;
  23. using System.Windows.Media;
  24. using System.Windows.Media.Animation;
  25. using System.Windows.Media.Effects;
  26. using System.Windows.Media.Imaging;
  27. using System.Windows.Media.Media3D;
  28. using System.Windows.Media.TextFormatting;
  29. using System.Windows.Navigation;
  30. using System.Windows.Shapes;
  31. using System.Windows.Shell;
  32. namespace TeamAAS.Camera.UI.Controls {
  33. /// <summary>
  34. /// ImageDisplayControl
  35. /// </summary>
  36. public partial class ImageDisplayControl : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
  37. #line 6 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal System.Windows.Controls.Grid MainGrid;
  40. #line default
  41. #line hidden
  42. #line 19 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.Canvas ImageCanvas;
  45. #line default
  46. #line hidden
  47. #line 20 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.Image ImageControl;
  50. #line default
  51. #line hidden
  52. #line 26 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.Canvas OverlayCanvas;
  55. #line default
  56. #line hidden
  57. #line 29 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  59. internal System.Windows.Shapes.Line CrossLineH;
  60. #line default
  61. #line hidden
  62. #line 30 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  63. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  64. internal System.Windows.Shapes.Line CrossLineV;
  65. #line default
  66. #line hidden
  67. #line 37 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  68. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  69. internal System.Windows.Controls.TextBlock CoordText;
  70. #line default
  71. #line hidden
  72. #line 43 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  73. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  74. internal System.Windows.Controls.TextBlock ZoomText;
  75. #line default
  76. #line hidden
  77. #line 53 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  78. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  79. internal System.Windows.Controls.TextBlock EmptyText;
  80. #line default
  81. #line hidden
  82. #line 62 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  83. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  84. internal System.Windows.Controls.MenuItem CrosshairMenuItem;
  85. #line default
  86. #line hidden
  87. private bool _contentLoaded;
  88. /// <summary>
  89. /// InitializeComponent
  90. /// </summary>
  91. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  92. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  93. public void InitializeComponent() {
  94. if (_contentLoaded) {
  95. return;
  96. }
  97. _contentLoaded = true;
  98. System.Uri resourceLocater = new System.Uri("/TeamAAS.Camera;component/ui/controls/imagedisplaycontrol.xaml", System.UriKind.Relative);
  99. #line 1 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  100. System.Windows.Application.LoadComponent(this, resourceLocater);
  101. #line default
  102. #line hidden
  103. }
  104. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  105. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  106. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  107. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  108. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  109. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  110. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  111. switch (connectionId)
  112. {
  113. case 1:
  114. this.MainGrid = ((System.Windows.Controls.Grid)(target));
  115. #line 9 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  116. this.MainGrid.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.OnMouseWheel);
  117. #line default
  118. #line hidden
  119. #line 10 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  120. this.MainGrid.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseLeftButtonDown);
  121. #line default
  122. #line hidden
  123. #line 11 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  124. this.MainGrid.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseLeftButtonUp);
  125. #line default
  126. #line hidden
  127. #line 12 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  128. this.MainGrid.MouseMove += new System.Windows.Input.MouseEventHandler(this.OnMouseMove);
  129. #line default
  130. #line hidden
  131. #line 13 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  132. this.MainGrid.MouseLeave += new System.Windows.Input.MouseEventHandler(this.OnMouseLeave);
  133. #line default
  134. #line hidden
  135. #line 15 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  136. this.MainGrid.Drop += new System.Windows.DragEventHandler(this.OnDrop);
  137. #line default
  138. #line hidden
  139. #line 16 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  140. this.MainGrid.DragOver += new System.Windows.DragEventHandler(this.OnDragOver);
  141. #line default
  142. #line hidden
  143. return;
  144. case 2:
  145. this.ImageCanvas = ((System.Windows.Controls.Canvas)(target));
  146. return;
  147. case 3:
  148. this.ImageControl = ((System.Windows.Controls.Image)(target));
  149. return;
  150. case 4:
  151. this.OverlayCanvas = ((System.Windows.Controls.Canvas)(target));
  152. return;
  153. case 5:
  154. this.CrossLineH = ((System.Windows.Shapes.Line)(target));
  155. return;
  156. case 6:
  157. this.CrossLineV = ((System.Windows.Shapes.Line)(target));
  158. return;
  159. case 7:
  160. this.CoordText = ((System.Windows.Controls.TextBlock)(target));
  161. return;
  162. case 8:
  163. this.ZoomText = ((System.Windows.Controls.TextBlock)(target));
  164. return;
  165. case 9:
  166. this.EmptyText = ((System.Windows.Controls.TextBlock)(target));
  167. return;
  168. case 10:
  169. this.CrosshairMenuItem = ((System.Windows.Controls.MenuItem)(target));
  170. #line 62 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  171. this.CrosshairMenuItem.Click += new System.Windows.RoutedEventHandler(this.MenuToggleCrosshair_Click);
  172. #line default
  173. #line hidden
  174. return;
  175. case 11:
  176. #line 64 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  177. ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuSaveImage_Click);
  178. #line default
  179. #line hidden
  180. return;
  181. case 12:
  182. #line 66 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  183. ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuFitWindow_Click);
  184. #line default
  185. #line hidden
  186. return;
  187. case 13:
  188. #line 67 "..\..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
  189. ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuActualSize_Click);
  190. #line default
  191. #line hidden
  192. return;
  193. }
  194. this._contentLoaded = true;
  195. }
  196. }
  197. }