void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow_Window = ((Analyzer.MainWindow)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.MainWindow_Window.Closed += new System.EventHandler(this.MetroWindow_Closed);

            #line default
            #line hidden

            #line 12 "..\..\MainWindow.xaml"
                this.MainWindow_Window.SizeChanged += new System.Windows.SizeChangedEventHandler(this.MainWindow_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.sldSourceScale = ((System.Windows.Controls.Slider)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.sldSourceScale.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sldSourceScale_ValueChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.cboDevices = ((System.Windows.Controls.ComboBox)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.cboDevices.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboDevices_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.spcSource = ((Analyzer.Spectrum)(target));
                return;

            case 6:
                this.btnNewDevice = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\MainWindow.xaml"
                this.btnNewDevice.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnRefresh = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\MainWindow.xaml"
                this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.BtnRefresh_Click_1);

            #line default
            #line hidden
                return;

            case 8:
                this.btnSettings = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\MainWindow.xaml"
                this.btnSettings.Click += new System.Windows.RoutedEventHandler(this.BtnSettings_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnNetworkscanner = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\MainWindow.xaml"
                this.btnNetworkscanner.Click += new System.Windows.RoutedEventHandler(this.BtnNetworkscanner_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.grpMaster = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 11:
                this.ddbSettings = ((MahApps.Metro.Controls.DropDownButton)(target));
                return;

            case 12:
                this.sldSpeed = ((System.Windows.Controls.Slider)(target));

            #line 47 "..\..\MainWindow.xaml"
                this.sldSpeed.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sldSpeed_ValueChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.btnReboot = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\MainWindow.xaml"
                this.btnReboot.Click += new System.Windows.RoutedEventHandler(this.btnReboot_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnAlexa = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.btnAlexa.Click += new System.Windows.RoutedEventHandler(this.btnAlexa_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btnOTA = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\MainWindow.xaml"
                this.btnOTA.Click += new System.Windows.RoutedEventHandler(this.btnOTA_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.grpDevices = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 17:
                this.icDevices = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow_Window = ((Analyzer.MainWindow)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.MainWindow_Window.Closed += new System.EventHandler(this.MetroWindow_Closed);

            #line default
            #line hidden

            #line 12 "..\..\MainWindow.xaml"
                this.MainWindow_Window.SizeChanged += new System.Windows.SizeChangedEventHandler(this.MainWindow_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.cboDevices = ((System.Windows.Controls.ComboBox)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.cboDevices.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboDevices_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.spcSource = ((Analyzer.Spectrum)(target));
                return;

            case 5:
                this.btnNewDevice = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.btnNewDevice.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnRefresh = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\MainWindow.xaml"
                this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.BtnRefresh_Click_1);

            #line default
            #line hidden
                return;

            case 7:
                this.btnSettings = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.btnSettings.Click += new System.Windows.RoutedEventHandler(this.BtnSettings_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnNetworkscanner = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\MainWindow.xaml"
                this.btnNetworkscanner.Click += new System.Windows.RoutedEventHandler(this.BtnNetworkscanner_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.grpDevices = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 10:
                this.icDevices = ((System.Windows.Controls.ItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }