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

            case 2:
                this.datosDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 27 "..\..\MainWindow.xaml"
                this.PrediccionesButton.Click += new System.Windows.RoutedEventHandler(this.PrediccionesButton_Click);

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

            case 2:
                this.CambioDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 3:
                this.SaldoDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 4:
                this.MonedasCantidadComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 20 "..\..\MainWindow.xaml"
                this.BotonSuma.Click += new System.Windows.RoutedEventHandler(this.BotonSuma_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\MainWindow.xaml"
                this.BotonResta.Click += new System.Windows.RoutedEventHandler(this.BotonResta_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.MonedasCambioComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.BotonSaldo = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.BotonSaldo.Click += new System.Windows.RoutedEventHandler(this.BotonSaldo_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\MainWindow.xaml"
                this.BotonCambiar.Click += new System.Windows.RoutedEventHandler(this.BotonCambiar_Click);

            #line default
            #line hidden
                return;

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

            case 11:
                this.SaldoTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.CambioTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }