void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.librosWindow = ((Ejercicio2.WindowLibros)(target));
                return;

            case 2:
                this.buscarLabel = ((System.Windows.Controls.Label)(target));
                return;

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

            case 4:
                this.busquedaTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 33 "..\..\WindowLibros.xaml"
                this.buscarButton.Click += new System.Windows.RoutedEventHandler(this.buscarButton_Click);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\WindowLibros.xaml"
                this.limpiarButton.Click += new System.Windows.RoutedEventHandler(this.limpiarButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.isbnLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.isbnTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.tituloLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.tituloTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.editorialLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.editorialTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.descripcionLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.descripcionTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 49 "..\..\WindowLibros.xaml"
                this.crearButton.Click += new System.Windows.RoutedEventHandler(this.crearButton_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.modificarButton = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\WindowLibros.xaml"
                this.modificarButton.Click += new System.Windows.RoutedEventHandler(this.modificarButton_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.eliminarButton = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\WindowLibros.xaml"
                this.eliminarButton.Click += new System.Windows.RoutedEventHandler(this.eliminarButton_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.ejemplaresLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.ejemplaresDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 20:
                this.numeroEjemplaresLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.numeroEjemplaresTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.fechaPublicacionLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.fechaPublicacionDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 24:
                this.guardarButton = ((System.Windows.Controls.Button)(target));

            #line 70 "..\..\WindowLibros.xaml"
                this.guardarButton.Click += new System.Windows.RoutedEventHandler(this.guardarButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        private void librosButton_Click(object sender, RoutedEventArgs e)
        {
            WindowLibros windowLibros = new WindowLibros();

            windowLibros.Show();
        }