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

            #line 11 "..\..\MainPage.xaml"
                this.MainWindow.Loaded += new System.Windows.RoutedEventHandler(this.Loading);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\MainPage.xaml"
                this.mListBoxCategories.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.mListBoxCategories_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:

            #line 36 "..\..\MainPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNote);

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:
                this.listNotes = ((System.Windows.Controls.ItemsControl)(target));
                return;

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