Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txbNumero = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 3:
                this.camposOfertas = ((View.CamposOfertaControl)(target));
                return;

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

            case 5:
                this.txtDescripcion = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.txtCondiciones = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.dtDetalle = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 8:
                this.dtVerImagenesOferta = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 9:
                this.grdEstadistica = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.chartValoraciones = ((LiveCharts.Wpf.CartesianChart)(target));

            #line 103 "..\..\VerOfertaDetallePage.xaml"
                this.chartValoraciones.Loaded += new System.Windows.RoutedEventHandler(this.CartesianChart_Loaded);

            #line default
            #line hidden
                return;

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

            case 12:
                this.btnVolver = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txbNumero = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 3:
                this.camposOfertas = ((View.CamposOfertaControl)(target));
                return;

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

            case 5:
                this.txtDescripcion = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.txtCondiciones = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.dtDetalle = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 8:
                this.grdEstadistica = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 10:
                this.btnVolver = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.camposOfertas = ((View.CamposOfertaControl)(target));
     return;
     case 2:
     this.txtTitulo = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.txtDescripcion = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.txtCondiciones = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.cbxProductos = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.btnAgregarDetalle = ((System.Windows.Controls.Button)(target));
     
     #line 75 "..\..\ModificarOfertaPage.xaml"
     this.btnAgregarDetalle.Click += new System.Windows.RoutedEventHandler(this.btnAgregarDetalle_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.txtCantidadMinima = ((System.Windows.Controls.TextBox)(target));
     
     #line 77 "..\..\ModificarOfertaPage.xaml"
     this.txtCantidadMinima.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtCantidadMinima_KeyDown);
     
     #line default
     #line hidden
     return;
     case 8:
     this.txtCantidadMaxima = ((System.Windows.Controls.TextBox)(target));
     
     #line 80 "..\..\ModificarOfertaPage.xaml"
     this.txtCantidadMaxima.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtCantidadMaxima_KeyDown);
     
     #line default
     #line hidden
     return;
     case 9:
     this.dtDetalle = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 11:
     this.rbSi = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 12:
     this.rbNo = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 13:
     
     #line 141 "..\..\ModificarOfertaPage.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }