| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- #pragma checksum "..\..\..\AddDevice.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A974B17DD460CDA98416713B6F12B070B5387057510BF27E9FAE69F9CF21A7FD"
- //------------------------------------------------------------------------------
- // <auto-generated>
- // 此代码由工具生成。
- // 运行时版本:4.0.30319.42000
- //
- // 对此文件的更改可能会导致不正确的行为,并且如果
- // 重新生成代码,这些更改将会丢失。
- // </auto-generated>
- //------------------------------------------------------------------------------
- using DeviceCenter;
- using System;
- using System.Diagnostics;
- using System.Windows;
- using System.Windows.Automation;
- using System.Windows.Controls;
- using System.Windows.Controls.Primitives;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Ink;
- using System.Windows.Input;
- using System.Windows.Markup;
- using System.Windows.Media;
- using System.Windows.Media.Animation;
- using System.Windows.Media.Effects;
- using System.Windows.Media.Imaging;
- using System.Windows.Media.Media3D;
- using System.Windows.Media.TextFormatting;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- using System.Windows.Shell;
- namespace DeviceCenter {
-
-
- /// <summary>
- /// AddDevice
- /// </summary>
- public partial class AddDevice : System.Windows.Window, System.Windows.Markup.IComponentConnector {
-
-
- #line 12 "..\..\..\AddDevice.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox cb_area;
-
- #line default
- #line hidden
-
-
- #line 17 "..\..\..\AddDevice.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox cb_building;
-
- #line default
- #line hidden
-
-
- #line 22 "..\..\..\AddDevice.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox cb_floor;
-
- #line default
- #line hidden
-
-
- #line 27 "..\..\..\AddDevice.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox cb_type;
-
- #line default
- #line hidden
-
-
- #line 34 "..\..\..\AddDevice.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox tb_name;
-
- #line default
- #line hidden
-
-
- #line 38 "..\..\..\AddDevice.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox tb_ip;
-
- #line default
- #line hidden
-
-
- #line 42 "..\..\..\AddDevice.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox tb_port;
-
- #line default
- #line hidden
-
-
- #line 46 "..\..\..\AddDevice.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox tb_username;
-
- #line default
- #line hidden
-
-
- #line 50 "..\..\..\AddDevice.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox tb_password;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- /// <summary>
- /// InitializeComponent
- /// </summary>
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/DeviceCenter;component/adddevice.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\AddDevice.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- this.cb_area = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 2:
- this.cb_building = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 3:
- this.cb_floor = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 4:
- this.cb_type = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 5:
- this.tb_name = ((System.Windows.Controls.TextBox)(target));
- return;
- case 6:
- this.tb_ip = ((System.Windows.Controls.TextBox)(target));
- return;
- case 7:
- this.tb_port = ((System.Windows.Controls.TextBox)(target));
- return;
- case 8:
- this.tb_username = ((System.Windows.Controls.TextBox)(target));
- return;
- case 9:
- this.tb_password = ((System.Windows.Controls.TextBox)(target));
- return;
- }
- this._contentLoaded = true;
- }
- }
- }
|