696e5312e022489da4a98806875fe2ac8d166eb38bd4046be5544d4a4f41d0ac.source 10 KB

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