3caed4038be40ed847734f7a318661d6b88d6c77f6d2300b4af2983cbb54b611.source 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. #pragma checksum "..\..\..\..\Views\HalconWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "FC44C230B06AC54CF054F356B2AE1B4FE4ACCD32"
  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.Forms.Integration;
  21. using System.Windows.Ink;
  22. using System.Windows.Input;
  23. using System.Windows.Markup;
  24. using System.Windows.Media;
  25. using System.Windows.Media.Animation;
  26. using System.Windows.Media.Effects;
  27. using System.Windows.Media.Imaging;
  28. using System.Windows.Media.Media3D;
  29. using System.Windows.Media.TextFormatting;
  30. using System.Windows.Navigation;
  31. using System.Windows.Shapes;
  32. using System.Windows.Shell;
  33. namespace Plugins.Halcon.Views {
  34. /// <summary>
  35. /// HalconWindow
  36. /// </summary>
  37. public partial class HalconWindow : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
  38. #line 15 "..\..\..\..\Views\HalconWindow.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal System.Windows.Controls.TextBlock CaptionText;
  41. #line default
  42. #line hidden
  43. #line 17 "..\..\..\..\Views\HalconWindow.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Shapes.Ellipse StatusDot;
  46. #line default
  47. #line hidden
  48. #line 25 "..\..\..\..\Views\HalconWindow.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.ContentControl HwindowHost;
  51. #line default
  52. #line hidden
  53. #line 27 "..\..\..\..\Views\HalconWindow.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Controls.TextBlock NativeErrorText;
  56. #line default
  57. #line hidden
  58. #line 31 "..\..\..\..\Views\HalconWindow.xaml"
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  60. internal System.Windows.Controls.TextBlock CoordText;
  61. #line default
  62. #line hidden
  63. private bool _contentLoaded;
  64. /// <summary>
  65. /// InitializeComponent
  66. /// </summary>
  67. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  68. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  69. public void InitializeComponent() {
  70. if (_contentLoaded) {
  71. return;
  72. }
  73. _contentLoaded = true;
  74. System.Uri resourceLocater = new System.Uri("/Plugins.Halcon;component/views/halconwindow.xaml", System.UriKind.Relative);
  75. #line 1 "..\..\..\..\Views\HalconWindow.xaml"
  76. System.Windows.Application.LoadComponent(this, resourceLocater);
  77. #line default
  78. #line hidden
  79. }
  80. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  81. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  82. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  83. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  84. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  85. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  86. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  87. switch (connectionId)
  88. {
  89. case 1:
  90. #line 4 "..\..\..\..\Views\HalconWindow.xaml"
  91. ((Plugins.Halcon.Views.HalconWindow)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseDoubleClick);
  92. #line default
  93. #line hidden
  94. return;
  95. case 2:
  96. this.CaptionText = ((System.Windows.Controls.TextBlock)(target));
  97. return;
  98. case 3:
  99. this.StatusDot = ((System.Windows.Shapes.Ellipse)(target));
  100. return;
  101. case 4:
  102. this.HwindowHost = ((System.Windows.Controls.ContentControl)(target));
  103. return;
  104. case 5:
  105. this.NativeErrorText = ((System.Windows.Controls.TextBlock)(target));
  106. return;
  107. case 6:
  108. this.CoordText = ((System.Windows.Controls.TextBlock)(target));
  109. return;
  110. }
  111. this._contentLoaded = true;
  112. }
  113. }
  114. }