void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MetroMainWindow = ((RFIDBackground.MainWindow)(target));
     
     #line 6 "..\..\MainWindow.xaml"
     this.MetroMainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.MetroMainWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.SetButton = ((System.Windows.Controls.Button)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.SetButton.Click += new System.Windows.RoutedEventHandler(this.SetButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.SetFlyout = ((MahApps.Metro.Controls.Flyout)(target));
     return;
     case 4:
     this.SerialComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     this.BaudComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.MainControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 7:
     this.MainPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     this.TopPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 9:
     this.SwitchButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 47 "..\..\MainWindow.xaml"
     this.SwitchButton.Click += new System.Windows.RoutedEventHandler(this.SwitchButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.SwitchDropShadowEffect = ((System.Windows.Media.Effects.DropShadowEffect)(target));
     return;
     case 11:
     this.IndicateStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 12:
     this.StatusRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 13:
     this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MetroMainWindow = ((RFIDBackground.MainWindow)(target));

            #line 6 "..\..\MainWindow.xaml"
                this.MetroMainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.MetroMainWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.SetButton = ((System.Windows.Controls.Button)(target));

            #line 9 "..\..\MainWindow.xaml"
                this.SetButton.Click += new System.Windows.RoutedEventHandler(this.SetButton_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.SetFlyout = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 4:
                this.SerialComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.BaudComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.MainControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;

            case 7:
                this.MainPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.TopPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.SwitchButton = ((MahApps.Metro.Controls.Tile)(target));

            #line 47 "..\..\MainWindow.xaml"
                this.SwitchButton.Click += new System.Windows.RoutedEventHandler(this.SwitchButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.SwitchDropShadowEffect = ((System.Windows.Media.Effects.DropShadowEffect)(target));
                return;

            case 11:
                this.IndicateStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 12:
                this.StatusRing = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

            case 13:
                this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }