da9c03385383d37270faeb36cd33db585668f1bda0a157b265a98d5d4934ac5f.source 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. #pragma checksum "..\..\..\..\Views\ToolBlockEdit.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7EA129D640FB32EB53BAAF2229D12667AEBAF22E"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // 此代码由工具生成。
  5. // 运行时版本:4.0.30319.42000
  6. //
  7. // 对此文件的更改可能会导致不正确的行为,并且如果
  8. // 重新生成代码,这些更改将会丢失。
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using Cognex.VisionPro.ToolBlock;
  12. using Microsoft.DwayneNeed.Interop;
  13. using Plugins.Vpp.Views;
  14. using System;
  15. using System.Diagnostics;
  16. using System.Windows;
  17. using System.Windows.Automation;
  18. using System.Windows.Controls;
  19. using System.Windows.Controls.Primitives;
  20. using System.Windows.Controls.Ribbon;
  21. using System.Windows.Data;
  22. using System.Windows.Documents;
  23. using System.Windows.Forms.Integration;
  24. using System.Windows.Ink;
  25. using System.Windows.Input;
  26. using System.Windows.Markup;
  27. using System.Windows.Media;
  28. using System.Windows.Media.Animation;
  29. using System.Windows.Media.Effects;
  30. using System.Windows.Media.Imaging;
  31. using System.Windows.Media.Media3D;
  32. using System.Windows.Media.TextFormatting;
  33. using System.Windows.Navigation;
  34. using System.Windows.Shapes;
  35. using System.Windows.Shell;
  36. namespace Plugins.Vpp.Views {
  37. /// <summary>
  38. /// ToolBlockEdit
  39. /// </summary>
  40. public partial class ToolBlockEdit : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
  41. #line 13 "..\..\..\..\Views\ToolBlockEdit.xaml"
  42. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  43. internal System.Windows.Forms.Integration.WindowsFormsHost WFH;
  44. #line default
  45. #line hidden
  46. #line 14 "..\..\..\..\Views\ToolBlockEdit.xaml"
  47. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  48. internal Cognex.VisionPro.ToolBlock.CogToolBlockEditV2 ICogToolBlockEdit;
  49. #line default
  50. #line hidden
  51. private bool _contentLoaded;
  52. /// <summary>
  53. /// InitializeComponent
  54. /// </summary>
  55. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  56. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  57. public void InitializeComponent() {
  58. if (_contentLoaded) {
  59. return;
  60. }
  61. _contentLoaded = true;
  62. System.Uri resourceLocater = new System.Uri("/Plugins.Vpp;component/views/toolblockedit.xaml", System.UriKind.Relative);
  63. #line 1 "..\..\..\..\Views\ToolBlockEdit.xaml"
  64. System.Windows.Application.LoadComponent(this, resourceLocater);
  65. #line default
  66. #line hidden
  67. }
  68. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  69. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  70. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  71. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  72. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  73. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  74. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  75. switch (connectionId)
  76. {
  77. case 1:
  78. this.WFH = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
  79. return;
  80. case 2:
  81. this.ICogToolBlockEdit = ((Cognex.VisionPro.ToolBlock.CogToolBlockEditV2)(target));
  82. return;
  83. }
  84. this._contentLoaded = true;
  85. }
  86. }
  87. }