|
|
@@ -1,4 +1,4 @@
|
|
|
-#pragma checksum "..\..\..\..\views\AddDevice.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "85F39D28DD717D4D04F300E06156C296FDCA2E74FFF74DFA5E3743CE999F8BDB"
|
|
|
+#pragma checksum "..\..\..\..\views\AddDevice.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "264E1AD96AE3D4ECD7A053156934C1493B70A3D2691239624A95B5911EF83B64"
|
|
|
//------------------------------------------------------------------------------
|
|
|
// <auto-generated>
|
|
|
// 此代码由工具生成。
|
|
|
@@ -9,7 +9,7 @@
|
|
|
// </auto-generated>
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
-using DeviceCenter.utils;
|
|
|
+using DeviceCenter;
|
|
|
using System;
|
|
|
using System.Diagnostics;
|
|
|
using System.Windows;
|
|
|
@@ -41,7 +41,7 @@ namespace DeviceCenter {
|
|
|
public partial class AddDevice : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
|
|
|
|
|
|
|
|
- #line 12 "..\..\..\..\views\AddDevice.xaml"
|
|
|
+ #line 21 "..\..\..\..\views\AddDevice.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.ComboBox cb_area;
|
|
|
|
|
|
@@ -49,7 +49,7 @@ namespace DeviceCenter {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 17 "..\..\..\..\views\AddDevice.xaml"
|
|
|
+ #line 26 "..\..\..\..\views\AddDevice.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.ComboBox cb_building;
|
|
|
|
|
|
@@ -57,7 +57,7 @@ namespace DeviceCenter {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 22 "..\..\..\..\views\AddDevice.xaml"
|
|
|
+ #line 31 "..\..\..\..\views\AddDevice.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.ComboBox cb_floor;
|
|
|
|
|
|
@@ -65,7 +65,7 @@ namespace DeviceCenter {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 27 "..\..\..\..\views\AddDevice.xaml"
|
|
|
+ #line 36 "..\..\..\..\views\AddDevice.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.ComboBox cb_type;
|
|
|
|
|
|
@@ -73,7 +73,7 @@ namespace DeviceCenter {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 31 "..\..\..\..\views\AddDevice.xaml"
|
|
|
+ #line 40 "..\..\..\..\views\AddDevice.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.TextBox tb_name;
|
|
|
|
|
|
@@ -81,7 +81,7 @@ namespace DeviceCenter {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 35 "..\..\..\..\views\AddDevice.xaml"
|
|
|
+ #line 44 "..\..\..\..\views\AddDevice.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.TextBox tb_ip;
|
|
|
|
|
|
@@ -89,7 +89,7 @@ namespace DeviceCenter {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 39 "..\..\..\..\views\AddDevice.xaml"
|
|
|
+ #line 48 "..\..\..\..\views\AddDevice.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.TextBox tb_port;
|
|
|
|
|
|
@@ -97,7 +97,7 @@ namespace DeviceCenter {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 43 "..\..\..\..\views\AddDevice.xaml"
|
|
|
+ #line 52 "..\..\..\..\views\AddDevice.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.TextBox tb_username;
|
|
|
|
|
|
@@ -105,7 +105,7 @@ namespace DeviceCenter {
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
- #line 47 "..\..\..\..\views\AddDevice.xaml"
|
|
|
+ #line 56 "..\..\..\..\views\AddDevice.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.TextBox tb_password;
|
|
|
|
|
|
@@ -133,6 +133,13 @@ namespace DeviceCenter {
|
|
|
#line hidden
|
|
|
}
|
|
|
|
|
|
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
|
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
|
|
+ internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
|
|
|
+ return System.Delegate.CreateDelegate(delegateType, this, handler);
|
|
|
+ }
|
|
|
+
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
|
|
@@ -145,7 +152,7 @@ namespace DeviceCenter {
|
|
|
case 1:
|
|
|
this.cb_area = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
|
|
- #line 12 "..\..\..\..\views\AddDevice.xaml"
|
|
|
+ #line 21 "..\..\..\..\views\AddDevice.xaml"
|
|
|
this.cb_area.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_area_SelectionChanged);
|
|
|
|
|
|
#line default
|
|
|
@@ -154,7 +161,7 @@ namespace DeviceCenter {
|
|
|
case 2:
|
|
|
this.cb_building = ((System.Windows.Controls.ComboBox)(target));
|
|
|
|
|
|
- #line 17 "..\..\..\..\views\AddDevice.xaml"
|
|
|
+ #line 26 "..\..\..\..\views\AddDevice.xaml"
|
|
|
this.cb_building.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_building_SelectionChanged);
|
|
|
|
|
|
#line default
|
|
|
@@ -183,7 +190,7 @@ namespace DeviceCenter {
|
|
|
return;
|
|
|
case 10:
|
|
|
|
|
|
- #line 49 "..\..\..\..\views\AddDevice.xaml"
|
|
|
+ #line 58 "..\..\..\..\views\AddDevice.xaml"
|
|
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
|
|
|
|
|
|
#line default
|