WinControlRelation.g.i.cs 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. #pragma checksum "..\..\WinControlRelation.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B1637222759C491FBD1649D5273422B509D650A2"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // 此代码由工具生成。
  5. // 运行时版本:4.0.30319.42000
  6. //
  7. // 对此文件的更改可能会导致不正确的行为,并且如果
  8. // 重新生成代码,这些更改将会丢失。
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using DrawData;
  12. using SAGA.RevitUtils.Windows;
  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.Data;
  20. using System.Windows.Documents;
  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 DrawData {
  34. /// <summary>
  35. /// WinControlRelation
  36. /// </summary>
  37. public partial class WinControlRelation : SAGA.RevitUtils.Windows.WinBase, System.Windows.Markup.IComponentConnector {
  38. #line 9 "..\..\WinControlRelation.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal DrawData.WinControlRelation win;
  41. #line default
  42. #line hidden
  43. #line 21 "..\..\WinControlRelation.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal DrawData.UcShowElement ucShowElement;
  46. #line default
  47. #line hidden
  48. #line 23 "..\..\WinControlRelation.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.TreeView rootNode;
  51. #line default
  52. #line hidden
  53. private bool _contentLoaded;
  54. /// <summary>
  55. /// InitializeComponent
  56. /// </summary>
  57. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  58. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  59. public void InitializeComponent() {
  60. if (_contentLoaded) {
  61. return;
  62. }
  63. _contentLoaded = true;
  64. System.Uri resourceLocater = new System.Uri("/SAGA.GplotDrawData;component/wincontrolrelation.xaml", System.UriKind.Relative);
  65. #line 1 "..\..\WinControlRelation.xaml"
  66. System.Windows.Application.LoadComponent(this, resourceLocater);
  67. #line default
  68. #line hidden
  69. }
  70. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  71. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  72. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
  73. internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
  74. return System.Delegate.CreateDelegate(delegateType, this, handler);
  75. }
  76. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  77. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  78. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  79. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  80. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  81. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  82. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  83. switch (connectionId)
  84. {
  85. case 1:
  86. this.win = ((DrawData.WinControlRelation)(target));
  87. return;
  88. case 2:
  89. this.ucShowElement = ((DrawData.UcShowElement)(target));
  90. return;
  91. case 3:
  92. this.rootNode = ((System.Windows.Controls.TreeView)(target));
  93. #line 24 "..\..\WinControlRelation.xaml"
  94. this.rootNode.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.RootNode_OnSelectedItemChanged);
  95. #line default
  96. #line hidden
  97. return;
  98. }
  99. this._contentLoaded = true;
  100. }
  101. }
  102. }