void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window = ((inventory.View.MainWindow)(target));
     
     #line 8 "..\..\..\View\MainWindow.xaml"
     this.window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Drag_Window);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 10 "..\..\..\View\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 11 "..\..\..\View\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_1);
     
     #line default
     #line hidden
     
     #line 11 "..\..\..\View\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.MiniMize_Execute);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ListBoxDelears = ((System.Windows.Controls.ListBox)(target));
     
     #line 60 "..\..\..\View\MainWindow.xaml"
     this.ListBoxDelears.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBoxDelears_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ListBoxCategory = ((System.Windows.Controls.ListBox)(target));
     
     #line 74 "..\..\..\View\MainWindow.xaml"
     this.ListBoxCategory.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBoxCategory_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.ListBoxTransactions = ((System.Windows.Controls.ListBox)(target));
     
     #line 89 "..\..\..\View\MainWindow.xaml"
     this.ListBoxTransactions.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBoxTransactions_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.pnlcontent = ((System.Windows.Controls.ContentControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((inventory.View.MainWindow)(target));

            #line 8 "..\..\..\View\MainWindow.xaml"
                this.window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Drag_Window);

            #line default
            #line hidden
                return;

            case 2:

            #line 10 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);

            #line default
            #line hidden
                return;

            case 3:

            #line 11 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_1);

            #line default
            #line hidden

            #line 11 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.MiniMize_Execute);

            #line default
            #line hidden
                return;

            case 4:
                this.ListBoxDelears = ((System.Windows.Controls.ListBox)(target));

            #line 60 "..\..\..\View\MainWindow.xaml"
                this.ListBoxDelears.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBoxDelears_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.ListBoxCategory = ((System.Windows.Controls.ListBox)(target));

            #line 74 "..\..\..\View\MainWindow.xaml"
                this.ListBoxCategory.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBoxCategory_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.ListBoxTransactions = ((System.Windows.Controls.ListBox)(target));

            #line 89 "..\..\..\View\MainWindow.xaml"
                this.ListBoxTransactions.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBoxTransactions_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.pnlcontent = ((System.Windows.Controls.ContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }