void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.AddNewDevice1 = ((Project422_2.AddNewDevice)(target)); return; case 2: this.ipAddress = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.deviceName = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.ipAddressLbl = ((System.Windows.Controls.Label)(target)); return; case 5: this.deviceNameLbl = ((System.Windows.Controls.Label)(target)); return; case 6: this.addDeviceButton = ((System.Windows.Controls.Button)(target)); #line 10 "..\..\..\AddNewDevice.xaml" this.addDeviceButton.Click += new System.Windows.RoutedEventHandler(this.addDeviceButton_Click); #line default #line hidden return; case 7: this.cancelBtn = ((System.Windows.Controls.Button)(target)); #line 11 "..\..\..\AddNewDevice.xaml" this.cancelBtn.Click += new System.Windows.RoutedEventHandler(this.cancelBtn_Click); #line default #line hidden return; case 8: this.instructionBox = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }