AddDevice.g.i.cs 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. #pragma checksum "..\..\..\AddDevice.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A974B17DD460CDA98416713B6F12B070B5387057510BF27E9FAE69F9CF21A7FD"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // 此代码由工具生成。
  5. // 运行时版本:4.0.30319.42000
  6. //
  7. // 对此文件的更改可能会导致不正确的行为,并且如果
  8. // 重新生成代码,这些更改将会丢失。
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using DeviceCenter;
  12. using System;
  13. using System.Diagnostics;
  14. using System.Windows;
  15. using System.Windows.Automation;
  16. using System.Windows.Controls;
  17. using System.Windows.Controls.Primitives;
  18. using System.Windows.Data;
  19. using System.Windows.Documents;
  20. using System.Windows.Ink;
  21. using System.Windows.Input;
  22. using System.Windows.Markup;
  23. using System.Windows.Media;
  24. using System.Windows.Media.Animation;
  25. using System.Windows.Media.Effects;
  26. using System.Windows.Media.Imaging;
  27. using System.Windows.Media.Media3D;
  28. using System.Windows.Media.TextFormatting;
  29. using System.Windows.Navigation;
  30. using System.Windows.Shapes;
  31. using System.Windows.Shell;
  32. namespace DeviceCenter {
  33. /// <summary>
  34. /// AddDevice
  35. /// </summary>
  36. public partial class AddDevice : System.Windows.Window, System.Windows.Markup.IComponentConnector {
  37. #line 12 "..\..\..\AddDevice.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal System.Windows.Controls.ComboBox cb_area;
  40. #line default
  41. #line hidden
  42. #line 17 "..\..\..\AddDevice.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.ComboBox cb_building;
  45. #line default
  46. #line hidden
  47. #line 22 "..\..\..\AddDevice.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.ComboBox cb_floor;
  50. #line default
  51. #line hidden
  52. #line 27 "..\..\..\AddDevice.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.ComboBox cb_type;
  55. #line default
  56. #line hidden
  57. #line 34 "..\..\..\AddDevice.xaml"
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  59. internal System.Windows.Controls.TextBox tb_name;
  60. #line default
  61. #line hidden
  62. #line 38 "..\..\..\AddDevice.xaml"
  63. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  64. internal System.Windows.Controls.TextBox tb_ip;
  65. #line default
  66. #line hidden
  67. #line 42 "..\..\..\AddDevice.xaml"
  68. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  69. internal System.Windows.Controls.TextBox tb_port;
  70. #line default
  71. #line hidden
  72. #line 46 "..\..\..\AddDevice.xaml"
  73. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  74. internal System.Windows.Controls.TextBox tb_username;
  75. #line default
  76. #line hidden
  77. #line 50 "..\..\..\AddDevice.xaml"
  78. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  79. internal System.Windows.Controls.TextBox tb_password;
  80. #line default
  81. #line hidden
  82. private bool _contentLoaded;
  83. /// <summary>
  84. /// InitializeComponent
  85. /// </summary>
  86. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  87. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  88. public void InitializeComponent() {
  89. if (_contentLoaded) {
  90. return;
  91. }
  92. _contentLoaded = true;
  93. System.Uri resourceLocater = new System.Uri("/DeviceCenter;component/adddevice.xaml", System.UriKind.Relative);
  94. #line 1 "..\..\..\AddDevice.xaml"
  95. System.Windows.Application.LoadComponent(this, resourceLocater);
  96. #line default
  97. #line hidden
  98. }
  99. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  100. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  101. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  102. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  103. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  104. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  105. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  106. switch (connectionId)
  107. {
  108. case 1:
  109. this.cb_area = ((System.Windows.Controls.ComboBox)(target));
  110. return;
  111. case 2:
  112. this.cb_building = ((System.Windows.Controls.ComboBox)(target));
  113. return;
  114. case 3:
  115. this.cb_floor = ((System.Windows.Controls.ComboBox)(target));
  116. return;
  117. case 4:
  118. this.cb_type = ((System.Windows.Controls.ComboBox)(target));
  119. return;
  120. case 5:
  121. this.tb_name = ((System.Windows.Controls.TextBox)(target));
  122. return;
  123. case 6:
  124. this.tb_ip = ((System.Windows.Controls.TextBox)(target));
  125. return;
  126. case 7:
  127. this.tb_port = ((System.Windows.Controls.TextBox)(target));
  128. return;
  129. case 8:
  130. this.tb_username = ((System.Windows.Controls.TextBox)(target));
  131. return;
  132. case 9:
  133. this.tb_password = ((System.Windows.Controls.TextBox)(target));
  134. return;
  135. }
  136. this._contentLoaded = true;
  137. }
  138. }
  139. }