void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window = ((YGOProDevelop.MainWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window = ((YGOProDevelop.MainWindow)(target));
     
     #line 22 "..\..\..\View\MainWindow.xaml"
     this.window.Closing += new System.ComponentModel.CancelEventHandler(this.window_Closing);
     
     #line default
     #line hidden
     
     #line 23 "..\..\..\View\MainWindow.xaml"
     this.window.Loaded += new System.Windows.RoutedEventHandler(this.window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.themesMenu = ((System.Windows.Controls.MenuItem)(target));
     
     #line 96 "..\..\..\View\MainWindow.xaml"
     this.themesMenu.Click += new System.Windows.RoutedEventHandler(this.themesMenu_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 105 "..\..\..\View\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 106 "..\..\..\View\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);
     
     #line default
     #line hidden
     return;
     case 6:
     this.toolbarTray = ((System.Windows.Controls.ToolBarTray)(target));
     return;
     case 7:
     this.dock = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     }
     this._contentLoaded = true;
 }