void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.vDeviceSearchView = ((TextDashboard.UserControls.SearchDeviceView)(target));
                return;

            case 2:
                this.Loading = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 3:
                this.ScanDeviceBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.ScanDeviceStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:

            #line 39 "..\..\..\..\UserControls\SearchDeviceView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseButton_OnClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 46 "..\..\..\..\UserControls\SearchDeviceView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.LoadingResult = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 8:
                this.StackPanelSearchResult = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.vDeviceSearchView = ((TextDashboard.UserControls.SearchDeviceView)(target));
     return;
     case 2:
     this.Loading = ((System.Windows.Controls.ContentControl)(target));
     return;
     case 3:
     this.ScanDeviceBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 4:
     this.ScanDeviceStackPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 5:
     
     #line 39 "..\..\..\..\UserControls\SearchDeviceView.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseButton_OnClick);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 46 "..\..\..\..\UserControls\SearchDeviceView.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.LoadingResult = ((System.Windows.Controls.ContentControl)(target));
     return;
     case 8:
     this.StackPanelSearchResult = ((System.Windows.Controls.StackPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }