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

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

            case 3:
                this.accesoCatalogo = ((InterfazWPF.AdministracionSistema.ControlesUsuario.AccesoRapidoCatalogo)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tc_datosEspacio = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:
                this.txt_Hectareas = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxSoloNumeroDecimal)(target));
                return;

            case 3:
                this.txt_NumeroCamas = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxSoloNumero)(target));
                return;

            case 4:
                this.txt_numeroCasetas = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxSoloNumero)(target));
                return;

            case 5:
                this.txt_perimetro = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxSoloNumeroDecimal)(target));
                return;

            case 6:
                this.txt_separacionEntreCamas = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxSoloNumeroDecimal)(target));
                return;

            case 7:
                this.txt_areaPorCama = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxSoloNumeroDecimal)(target));
                return;

            case 8:
                this.txt_longitudCama = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxSoloNumeroDecimal)(target));
                return;

            case 9:
                this.txt_numeroCaidas = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxSoloNumero)(target));
                return;

            case 10:
                this.txt_numeroPerifericas = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxSoloNumero)(target));
                return;

            case 11:
                this.txt_metrosDesague = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxSoloNumeroDecimal)(target));
                return;

            case 12:
                this.chb_SeUsaraTransplante = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 13:
                this.dtp_FechaPlanteo = ((System.Windows.Controls.DatePicker)(target));

            #line 42 "..\..\..\..\Modulos\ProgramaSiembra\mod_ps_ConfiguracionDatosEspacioFisico.xaml"
                this.dtp_FechaPlanteo.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dtp_FechaPlanteo_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.txt_BuscadorCultivo = ((InterfazWPF.TextboxBusquedaCatalogo)(target));
                return;

            case 15:
                this.lbl_fechaSiembra = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.dtp_FechaSiembra = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 17:
                this.dtp_FechaCosecha = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 18:
                this.txt_densidadPlanteoXMetro2 = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxSoloNumeroDecimal)(target));
                return;

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

            case 20:
                this.gb_datosInjerto = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 21:
                this.cmb_VariedadProductiva = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 22:
                this.cmb_VariedadRaiz = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 23:
                this.accesoCatalogo = ((InterfazWPF.AdministracionSistema.ControlesUsuario.AccesoRapidoCatalogo)(target));
                return;

            case 24:
                this.txt_BuscadorEtapa = ((InterfazWPF.TextboxBusquedaCatalogo)(target));
                return;

            case 25:
                this.btn_GuardarConfiguracion = ((InterfazWPF.Boton)(target));
                return;

            case 26:
                this.gb_datosVariedad = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 27:
                this.cmb_variedadAUsar = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 28:
                this.chb_SeHaranInjertos = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 29:
                this.btn_NuevoConfiguracion = ((InterfazWPF.Boton)(target));
                return;

            case 30:
                this.chb_EsPlanteoAbierto = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 31:
                this.btn_subirConfiguracion = ((InterfazWPF.Boton)(target));
                return;

            case 32:
                this.btn_bajarConfiguracion = ((InterfazWPF.Boton)(target));
                return;

            case 33:
                this.txt_buscadorTecnologiaCultivo = ((InterfazWPF.TextboxBusquedaCatalogo)(target));
                return;

            case 34:
                this.cmb_CubiertaAUsar = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 35:
                this.chb_tieneSistEnfriamiento = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 36:
                this.lb_perfiles = ((System.Windows.Controls.ListBox)(target));
                return;

            case 37:
                this.txt_BuscadorPerfiles = ((InterfazWPF.TextboxBusquedaCatalogo)(target));
                return;

            case 38:
                this.dgv_materialesVariables = ((System.Windows.Controls.DataGrid)(target));

            #line 113 "..\..\..\..\Modulos\ProgramaSiembra\mod_ps_ConfiguracionDatosEspacioFisico.xaml"
                this.dgv_materialesVariables.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.dgv_materialesVariables_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 39:
                this.txt_materialVariable = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxNormal)(target));
                return;

            case 40:
                this.txt_buscadorMaterial = ((InterfazWPF.TextboxBusquedaCatalogo)(target));
                return;

            case 41:
                this.btn_guardarMaterialVariable = ((InterfazWPF.Boton)(target));
                return;

            case 42:
                this.cmb_etapasConf = ((System.Windows.Controls.ComboBox)(target));

            #line 120 "..\..\..\..\Modulos\ProgramaSiembra\mod_ps_ConfiguracionDatosEspacioFisico.xaml"
                this.cmb_etapasConf.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmb_etapasConf_SelectionChanged);

            #line default
            #line hidden
                return;

            case 43:
                this.txt_nombreEspacio = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxNormal)(target));
                return;

            case 44:
                this.chb_esEspacioFinal = ((System.Windows.Controls.CheckBox)(target));

            #line 127 "..\..\..\..\Modulos\ProgramaSiembra\mod_ps_ConfiguracionDatosEspacioFisico.xaml"
                this.chb_esEspacioFinal.Checked += new System.Windows.RoutedEventHandler(this.chb_esEspacioFinal_Checked);

            #line default
            #line hidden

            #line 127 "..\..\..\..\Modulos\ProgramaSiembra\mod_ps_ConfiguracionDatosEspacioFisico.xaml"
                this.chb_esEspacioFinal.Unchecked += new System.Windows.RoutedEventHandler(this.chb_esEspacioFinal_Unchecked);

            #line default
            #line hidden
                return;

            case 45:
                this.btn_Aceptar = ((InterfazWPF.Boton)(target));
                return;

            case 46:
                this.btn_Cancelar = ((InterfazWPF.Boton)(target));
                return;

            case 47:
                this.txt_nombreEspacioMacro = ((InterfazWPF.AdministracionSistema.ControlesUsuario.TextboxNormal)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((InterfazWPF.TextboxBusquedaCatalogo)(target));
                return;

            case 2:
                this.sobreControl_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:
                this.FueraControl_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 4:
                this.ellipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 5:
                this.ellipse1 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 6:
                this.rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 7:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.img_busqueda = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.path2 = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 11:
                this.txt_Algo = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 13:
                this.path1 = ((System.Windows.Shapes.Path)(target));
                return;

            case 14:
                this.path = ((System.Windows.Shapes.Path)(target));
                return;

            case 15:
                this.AccesoRapido = ((InterfazWPF.AdministracionSistema.ControlesUsuario.AccesoRapidoCatalogo)(target));
                return;
            }
            this._contentLoaded = true;
        }