コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gestionBibliotecariaWindows = ((Ejercicio2.MainWindow)(target));
                return;

            case 2:
                this.consultaGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.anadirButton = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.actualizarButton = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.busquedaGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 6:
                this.busquedaTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 9:
                this.codigoButton = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\MainPrestado.xaml"
                this.codigoButton.Click += new System.Windows.RoutedEventHandler(this.codigoButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.sociosButton = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.librosButton = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.datosDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((Ejercicio2.MainWindow)(target));
                return;

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

            #line 15 "..\..\MainWindow.xaml"
                this.librosButton.Click += new System.Windows.RoutedEventHandler(this.librosButton_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.sociosButton = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\MainWindow.xaml"
                this.sociosButton.Click += new System.Windows.RoutedEventHandler(this.sociosButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.prestamosButton = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.prestamosButton.Click += new System.Windows.RoutedEventHandler(this.prestamosButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.JornadasLiga = ((Ejercicio2.MainWindow)(target));
                return;

            case 2:
                this.anadirTemporadaAnoTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.anadirTemporadaAnoTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.añadirBoton = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.añadirBoton.Click += new System.Windows.RoutedEventHandler(this.añadirBoton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.equipoLocalTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 7:
                this.equipoVisitanteTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.equipoVisitanteListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 9:
                this.jornadaTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.NumeroJornadaTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.siguienteBoton = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\MainWindow.xaml"
                this.siguienteBoton.Click += new System.Windows.RoutedEventHandler(this.siguienteBoton_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.consultarTemporadaAnoTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.consultarTemporadaAnoTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.consultarTemporadaEquiposTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.consultarTemporadaEquiposListBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }