4ed5e91daa2f823a82080188bc716b035549cf9ce3a8bff54ae5c910295317bb.source 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. #pragma checksum "..\..\..\..\Views\VppWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6C8D8D4E087C21A80B56296C005BFC935046B680"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // 此代码由工具生成。
  5. // 运行时版本:4.0.30319.42000
  6. //
  7. // 对此文件的更改可能会导致不正确的行为,并且如果
  8. // 重新生成代码,这些更改将会丢失。
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using Cognex.VisionPro;
  12. using Plugins.Vpp.Views;
  13. using System;
  14. using System.Diagnostics;
  15. using System.Windows;
  16. using System.Windows.Automation;
  17. using System.Windows.Controls;
  18. using System.Windows.Controls.Primitives;
  19. using System.Windows.Controls.Ribbon;
  20. using System.Windows.Data;
  21. using System.Windows.Documents;
  22. using System.Windows.Forms.Integration;
  23. using System.Windows.Ink;
  24. using System.Windows.Input;
  25. using System.Windows.Markup;
  26. using System.Windows.Media;
  27. using System.Windows.Media.Animation;
  28. using System.Windows.Media.Effects;
  29. using System.Windows.Media.Imaging;
  30. using System.Windows.Media.Media3D;
  31. using System.Windows.Media.TextFormatting;
  32. using System.Windows.Navigation;
  33. using System.Windows.Shapes;
  34. using System.Windows.Shell;
  35. namespace Plugins.Vpp.Views {
  36. /// <summary>
  37. /// VppWindow
  38. /// </summary>
  39. public partial class VppWindow : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
  40. #line 21 "..\..\..\..\Views\VppWindow.xaml"
  41. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  42. internal System.Windows.Controls.Grid grid;
  43. #line default
  44. #line hidden
  45. #line 56 "..\..\..\..\Views\VppWindow.xaml"
  46. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  47. internal System.Windows.Forms.Integration.WindowsFormsHost WFH;
  48. #line default
  49. #line hidden
  50. #line 57 "..\..\..\..\Views\VppWindow.xaml"
  51. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  52. internal Cognex.VisionPro.CogRecordDisplay CogDisp;
  53. #line default
  54. #line hidden
  55. #line 62 "..\..\..\..\Views\VppWindow.xaml"
  56. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  57. internal System.Windows.Controls.Grid StatusBarGrid;
  58. #line default
  59. #line hidden
  60. #line 64 "..\..\..\..\Views\VppWindow.xaml"
  61. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  62. internal Cognex.VisionPro.CogDisplayStatusBarV2 CogStayusBar;
  63. #line default
  64. #line hidden
  65. private bool _contentLoaded;
  66. /// <summary>
  67. /// InitializeComponent
  68. /// </summary>
  69. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  70. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  71. public void InitializeComponent() {
  72. if (_contentLoaded) {
  73. return;
  74. }
  75. _contentLoaded = true;
  76. System.Uri resourceLocater = new System.Uri("/Plugins.Vpp;component/views/vppwindow.xaml", System.UriKind.Relative);
  77. #line 1 "..\..\..\..\Views\VppWindow.xaml"
  78. System.Windows.Application.LoadComponent(this, resourceLocater);
  79. #line default
  80. #line hidden
  81. }
  82. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  83. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  84. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  85. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  86. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  87. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  88. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  89. switch (connectionId)
  90. {
  91. case 1:
  92. #line 10 "..\..\..\..\Views\VppWindow.xaml"
  93. ((Plugins.Vpp.Views.VppWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
  94. #line default
  95. #line hidden
  96. #line 11 "..\..\..\..\Views\VppWindow.xaml"
  97. ((Plugins.Vpp.Views.VppWindow)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseDoubleClick);
  98. #line default
  99. #line hidden
  100. return;
  101. case 2:
  102. this.grid = ((System.Windows.Controls.Grid)(target));
  103. return;
  104. case 3:
  105. this.WFH = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
  106. return;
  107. case 4:
  108. this.CogDisp = ((Cognex.VisionPro.CogRecordDisplay)(target));
  109. #line 57 "..\..\..\..\Views\VppWindow.xaml"
  110. this.CogDisp.DoubleClick += new System.EventHandler(this.CogDisp_DoubleClick);
  111. #line default
  112. #line hidden
  113. return;
  114. case 5:
  115. this.StatusBarGrid = ((System.Windows.Controls.Grid)(target));
  116. return;
  117. case 6:
  118. this.CogStayusBar = ((Cognex.VisionPro.CogDisplayStatusBarV2)(target));
  119. return;
  120. }
  121. this._contentLoaded = true;
  122. }
  123. }
  124. }