diff --git a/Exferia_General/.vs/config/applicationhost.config b/Exferia_General/.vs/config/applicationhost.config new file mode 100644 index 0000000..c148cf5 --- /dev/null +++ b/Exferia_General/.vs/config/applicationhost.config @@ -0,0 +1,971 @@ + + + + + + +
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Exferia_General/Exferia_General/0_Modelos/INTERNO_GEN_Firmas_Electronicas_Listado_Modelo.cs b/Exferia_General/Exferia_General/0_Modelos/INTERNO_GEN_Firmas_Electronicas_Listado_Modelo.cs index b335d74..2944a43 100644 --- a/Exferia_General/Exferia_General/0_Modelos/INTERNO_GEN_Firmas_Electronicas_Listado_Modelo.cs +++ b/Exferia_General/Exferia_General/0_Modelos/INTERNO_GEN_Firmas_Electronicas_Listado_Modelo.cs @@ -45,31 +45,5 @@ namespace Exferia_General._0_Modelos } public string DescripcionEmpresa { get; set; } - /* - //Ejercicio - public string Ejercicio_Codigo { get; set; } - public string Ejercicio_Descripcion { get; set; } - public DateTime? Ejercicio_FechaBorrado { get; set; } - public string Ejercicio - { - get - { - string str_Aux = ""; - - //Codigo - if (Ejercicio_Codigo != null && Ejercicio_Codigo.Trim().Length > 0) - { - str_Aux = "(" + Ejercicio_Codigo + ") "; - } - - //Descripcion - if (Ejercicio_Descripcion != null && Ejercicio_Descripcion.Trim().Length > 0) - { - str_Aux += Ejercicio_Descripcion; - } - - return str_Aux; - } - }*/ } } diff --git a/Exferia_General/Exferia_General/1_Datos/GEN_Firmas_Electronicas_Datos.cs b/Exferia_General/Exferia_General/1_Datos/GEN_Firmas_Electronicas_Datos.cs index b00c2f6..5a01f36 100644 --- a/Exferia_General/Exferia_General/1_Datos/GEN_Firmas_Electronicas_Datos.cs +++ b/Exferia_General/Exferia_General/1_Datos/GEN_Firmas_Electronicas_Datos.cs @@ -54,7 +54,7 @@ namespace Exferia_General._1_Datos } return lst_INF; } - public override dynamic Obtener_RegistroListado(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List _lst_CamposConRelacionABuscar, List _lst_INTERNO_Filtro_OpcionPadre_Modelo, List _lst_INTERNO_Filtro_Modelo, long _lng_id, List _lst_ids) + public override dynamic Obtener_RegistroListado(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List _lst_CamposConRelacionABuscar, List _lst_INTERNO_Filtro_OpcionPadre_Modelo, List _lst_INTERNO_Filtro_Modelo, long _lng_id) { Exferia_Entities obj_Exferia_Entities = null; dynamic dnm_INF = null; @@ -65,7 +65,7 @@ namespace Exferia_General._1_Datos obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false; // Consulta ..................................................... - ConsultaRellenar_Listado(obj_Exferia_Entities, _lng_idEmpresaSeleccionada, _lng_idEjercicioActual, Datos_Generales.GEN_Empresas_Devolver_EmpresasCompartidas_SegunFichero(_lng_idEmpresaSeleccionada, typeof(GEN_Firmas_Electronicas).Name), _lst_CamposConRelacionABuscar, _lng_id, _lst_ids, _lst_INTERNO_Filtro_OpcionPadre_Modelo, _lst_INTERNO_Filtro_Modelo); + ConsultaRellenar_Listado(obj_Exferia_Entities, _lng_idEmpresaSeleccionada, _lng_idEjercicioActual, Datos_Generales.GEN_Empresas_Devolver_EmpresasCompartidas_SegunFichero(_lng_idEmpresaSeleccionada, typeof(GEN_Firmas_Electronicas).Name), _lst_CamposConRelacionABuscar, _lng_id, _lst_INTERNO_Filtro_OpcionPadre_Modelo, _lst_INTERNO_Filtro_Modelo); // .............................................................. if ((g_lst_INTERNO_GEN_Firmas_Electronicas_Modelo != null) && (g_lst_INTERNO_GEN_Firmas_Electronicas_Modelo.Count() > 0)) @@ -88,7 +88,7 @@ namespace Exferia_General._1_Datos } return dnm_INF; } - protected override void ConsultaRellenar_Listado(Exferia_Entities _obj_Exferia_Entities, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List _lst_idEmpresasRelacionas, List _lst_CamposConRelacionABuscar, long _lng_id, List _lst_ids, List _lst_INTERNO_Filtro_OpcionPadre_Modelo, List _lst_INTERNO_Filtro_Modelo) + protected override void ConsultaRellenar_Listado(Exferia_Entities _obj_Exferia_Entities, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List _lst_idEmpresasRelacionas, List _lst_CamposConRelacionABuscar, long _lng_id, List _lst_INTERNO_Filtro_OpcionPadre_Modelo, List _lst_INTERNO_Filtro_Modelo) { try { @@ -232,17 +232,21 @@ namespace Exferia_General._1_Datos string str_SQL = " SELECT " + - //GEN_Configuracion_Informes - "f." + nameof(INTERNO_GEN_Firmas_Electronicas_Listado_Modelo.id) + "," + - "f." + nameof(INTERNO_GEN_Firmas_Electronicas_Listado_Modelo.codigo) + "," + - "f." + nameof(INTERNO_GEN_Firmas_Electronicas_Listado_Modelo.descripcion) + "," + - "f." + nameof(INTERNO_GEN_Firmas_Electronicas_Listado_Modelo.fecha_fin) + "," + - "f." + nameof(INTERNO_GEN_Firmas_Electronicas_Listado_Modelo.text_perm) + ","+ - "e." + nameof(INTERNO_GEN_Firmas_Electronicas_Listado_Modelo.idEmpresa) + - " FROM " + nameof(GEN_Firmas_Electronicas) + " f inner join " + nameof(GEN_Empresas) + - " e on e." + nameof(GEN_Empresas.id) + "=" + nameof(GEN_Firmas_Electronicas.idEmpresa); - //Rellenar el Modelo - List lst_INTERNO_GEN_Configuracion_Informes_Listado_Modelo = obj_Exferia_Entities.Database.SqlQuery(str_SQL, new object[] { }).ToList(); + //GEN_Configuracion_Informes + "f." + nameof(INTERNO_GEN_Firmas_Electronicas_Listado_Modelo.id) + "," + + "f." + nameof(GEN_Firmas_Electronicas.codigo) + "," + + "f." + nameof(GEN_Firmas_Electronicas.descripcion) + "," + + "f." + nameof(GEN_Firmas_Electronicas.fecha_fin) + "," + + "f." + nameof(GEN_Firmas_Electronicas.idEmpresa) + "," + + "f." + nameof(GEN_Firmas_Electronicas.text_perm) + "," + + "e." + nameof(GEN_Firmas_Electronicas.descripcion) + " " + nameof(INTERNO_GEN_Firmas_Electronicas_Listado_Modelo.DescripcionEmpresa) + + " FROM " + nameof(GEN_Firmas_Electronicas) + " f inner join " + nameof(GEN_Empresas) + + " e on e." + nameof(GEN_Empresas.id) + "=" + nameof(GEN_Firmas_Electronicas.idEmpresa); + + + + //Rellenar el Modelo + List lst_INTERNO_GEN_Configuracion_Informes_Listado_Modelo = obj_Exferia_Entities.Database.SqlQuery(str_SQL, new object[] { }).ToList(); if ((lst_INTERNO_GEN_Configuracion_Informes_Listado_Modelo != null) && (lst_INTERNO_GEN_Configuracion_Informes_Listado_Modelo.Count() > 0)) { @@ -434,11 +438,11 @@ namespace Exferia_General._1_Datos #region Update string str_SQL_Update = " UPDATE " + nameof(GEN_Firmas_Electronicas) + " SET " + - nameof(GEN_Firmas_Electronicas.codigo) + "=@codigo," + - nameof(GEN_Firmas_Electronicas.descripcion) + "=@descripcion," + - nameof(GEN_Firmas_Electronicas.idEmpresa) + "=@idEmpresa," + - nameof(GEN_Firmas_Electronicas.text_perm) + "=@text_perm," + - nameof(GEN_Firmas_Electronicas.fecha_fin) + "=@fecha_fin" + + nameof(GEN_Firmas_Electronicas.codigo) + "=@codigo, " + + nameof(GEN_Firmas_Electronicas.descripcion) + "=@descripcion, " + + nameof(GEN_Firmas_Electronicas.idEmpresa) + "=@idEmpresa, " + + nameof(GEN_Firmas_Electronicas.text_perm) + "=@text_perm, " + + nameof(GEN_Firmas_Electronicas.fecha_fin) + "=@fecha_fin " + " WHERE " + nameof(GEN_Firmas_Electronicas.id) + "=@id"; @@ -487,11 +491,11 @@ namespace Exferia_General._1_Datos " OUTPUT INSERTED." + nameof(GEN_Firmas_Electronicas.id) + " VALUES " + " ( " + - "@codigo," + - "@descripcion," + - "@idEmpresa," + - "@text_perm," + - "@fecha_fin," + + "@codigo, " + + "@descripcion, " + + "@idEmpresa, " + + "@text_perm , " + + "@fecha_fin " + " ) "; //Parametros diff --git a/Exferia_General/Exferia_General/3_Vistas/Controladoras/P_Firma_Electronica_Controladora .cs b/Exferia_General/Exferia_General/3_Vistas/Controladoras/P_Firma_Electronica_Controladora .cs index 23999c9..fc16889 100644 --- a/Exferia_General/Exferia_General/3_Vistas/Controladoras/P_Firma_Electronica_Controladora .cs +++ b/Exferia_General/Exferia_General/3_Vistas/Controladoras/P_Firma_Electronica_Controladora .cs @@ -6,6 +6,7 @@ using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; +using System.Globalization; using System.Linq; using System.Text; using System.Threading; @@ -25,13 +26,9 @@ namespace Exferia_General._3_Vistas.Controladoras private GEN_Firmas_Electronicas_Datos g_obj_GEN_Firmas_Electronicas_Datos = new GEN_Firmas_Electronicas_Datos(); private GEN_Firmas_Electronicas g_mdl_GEN_Firmas_Electronicas; - private GEN_Firmas_Electronicas g_mdl_GEN_Firmas_Electronicas_PARACOPIA; public bool g_bol_Termino_CargaDatos_Inicial = false;//Se utiliza para saber cuando se termina la carga de datos estaticos inciales - - public byte[] g_arr_Logo_SuperiorIzquierda_Inicial; - public Image g_img_Logo_SuperiorIzquierda_Real = null; - + public long IdEmpresaDef { get; set; } //Tareea Asincrona de carga de datos private BackgroundWorker g_obj_TareaAsincrona_CargarDatos=null; @@ -44,10 +41,8 @@ namespace Exferia_General._3_Vistas.Controladoras private BackgroundWorker g_obj_TareaAsincrona_BorrarDatos = null; private bool g_bol_BorrarDatos_VolverListado = true; - //Tareea Asincrona de cargar datos otro anño - private BackgroundWorker g_obj_TareaAsincrona_CargarDatos_OtroAnyo = null; - public bool g_bol_CampoCodigo_Numerico = false; + public bool g_bol_CampoCodigo_Numerico = true; #endregion #region Constructor @@ -64,34 +59,12 @@ namespace Exferia_General._3_Vistas.Controladoras { g_frm_P_Firmas_Electronicas.Exferia_TextBox_Codigo.Text = ""; g_frm_P_Firmas_Electronicas.Exferia_TextBox_Descripcion.Text = ""; + g_frm_P_Firmas_Electronicas.Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Fecha = ""; + g_frm_P_Firmas_Electronicas.Exferia_TextBox_TextPerm.Text = ""; + //Actualizar el Boton de Seleccion de pantalla #################################################### + Variables.G_EMS_CONTROL_MENUSUPERIOR.Update_Texto_NombrePantalla(g_frm_P_Firmas_Electronicas.Tag.ToString()); + //################################################################################################# - g_frm_P_Firmas_Electronicas.Exferia_TextboxHTML_Albaran_TextoFinal.Exferia_TextboxHTML_Limpiar(); - g_frm_P_Firmas_Electronicas.Exferia_TextboxHTML_Factura_TextoFinal.Exferia_TextboxHTML_Limpiar(); - - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Id = -1; - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Codigo = ""; - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Descripcion = ""; - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_FechaBorrado = null; - - g_arr_Logo_SuperiorIzquierda_Inicial = null; - g_img_Logo_SuperiorIzquierda_Real = null; - g_frm_P_Firmas_Electronicas.PictureBox_LogoSuperiorIzquierda.Image = null; - g_frm_P_Firmas_Electronicas.PictureBox_LogoSuperiorIzquierda.Tag = ""; - - - if (_bol_Vaciar_Titulo) - { - string[] str_Separador = new string[] { " [" }; - //Si ya hay valores de objeto, los elimino para rellenarlos de nuevo - if (g_frm_P_Firmas_Electronicas.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None).Count() > 1) - { - g_frm_P_Firmas_Electronicas.P_Base_TituloPantalla = (g_frm_P_Firmas_Electronicas.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None))[0]; - } - - //Actualizar el Boton de Seleccion de pantalla #################################################### - Variables.G_EMS_CONTROL_MENUSUPERIOR.Update_Texto_NombrePantalla(g_frm_P_Firmas_Electronicas.Tag.ToString()); - //################################################################################################# - } } #endregion @@ -136,6 +109,7 @@ namespace Exferia_General._3_Vistas.Controladoras #endregion #region Comprobacion de cambios, para grabar o no antes de salir o cambiar de registro + public bool ComprobarCambios() { if (g_frm_P_Firmas_Electronicas.P_Base_SeModificoDatosPantalla) @@ -202,6 +176,7 @@ namespace Exferia_General._3_Vistas.Controladoras throw new Control_Errores("", ex, nameof(P_Firmas_Electronicas_Controladora) + "/" + nameof(RecargarDatos), true); } } + private void TareaAsincrona_CargarDatos_DoWork(object sender, DoWorkEventArgs e) { INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo(); @@ -260,24 +235,6 @@ namespace Exferia_General._3_Vistas.Controladoras Mensajes.MostrarMensaje(mdl_ValorDevuelto_Modelo_Resultado.Mensaje); g_frm_P_Firmas_Electronicas.Salir_P_Base(); } - else - { - // todo firmas - electronicas - /* - //Agregar los textos HTML - //venta_Albaran_Informe_TextoFinal - if (g_mdl_GEN_Firmas_Electronicas.venta_Albaran_Informe_TextoFinal != null) - { - g_frm_P_Firmas_Electronicas.Exferia_TextboxHTML_Albaran_TextoFinal.Exferia_TextboxHTML_CuerpoHTML = g_mdl_GEN_Firmas_Electronicas.venta_Albaran_Informe_TextoFinal; - } - //venta_Factura_Informe_TextoFinal - if (g_mdl_GEN_Firmas_Electronicas.venta_Factura_Informe_TextoFinal != null) - { - g_frm_P_Firmas_Electronicas.Exferia_TextboxHTML_Factura_TextoFinal.Exferia_TextboxHTML_CuerpoHTML = g_mdl_GEN_Firmas_Electronicas.venta_Factura_Informe_TextoFinal; - } - */ - - } } catch (Exception ex) { @@ -302,7 +259,7 @@ namespace Exferia_General._3_Vistas.Controladoras if (g_frm_P_Firmas_Electronicas.P_Base_ValoresGenerales != null) { g_mdl_GEN_Firmas_Electronicas = g_obj_GEN_Firmas_Electronicas_Datos.Obtener(_lng_id); - + string str_MenuSuperior_Codigo = ""; //Si no es Nulo Cargo lo Datos if (g_mdl_GEN_Firmas_Electronicas != null) { @@ -316,7 +273,7 @@ namespace Exferia_General._3_Vistas.Controladoras g_frm_P_Firmas_Electronicas.g_obj_Funciones_Paginador.SetPaginaActual(int_PaginaDelObjeto); // Asignando al paginador la pagina actual. - g_frm_P_Firmas_Electronicas.Exferia_Paginador_Configuracion_Informes.PaginaActual = g_frm_P_Firmas_Electronicas.g_obj_Funciones_Paginador.GetPaginaActual(); + g_frm_P_Firmas_Electronicas.Exferia_Paginador_Firma_Electronica.PaginaActual = g_frm_P_Firmas_Electronicas.g_obj_Funciones_Paginador.GetPaginaActual(); } //........................................................................................... @@ -325,72 +282,11 @@ namespace Exferia_General._3_Vistas.Controladoras //descripcion g_frm_P_Firmas_Electronicas.Exferia_TextBox_Descripcion.Text = g_mdl_GEN_Firmas_Electronicas.descripcion; - - /* - //imagen_Logo_SuperiorIzquierda - if (g_mdl_GEN_Firmas_Electronicas.imagen_Logo_SuperiorIzquierda != null) - { - g_arr_Logo_SuperiorIzquierda_Inicial = g_mdl_GEN_Firmas_Electronicas.imagen_Logo_SuperiorIzquierda; - g_img_Logo_SuperiorIzquierda_Real = Funciones.Convertir_Arraybytes_Image(g_mdl_GEN_Firmas_Electronicas.imagen_Logo_SuperiorIzquierda); - } - */ - - // todo firmas - electronicas - // Exferia_F3_Soloseleccion_Ejercicio - /*if (g_mdl_GEN_Firmas_Electronicas.GEN_EjerciciosActivos_Empresa != null) - { - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Id = g_mdl_GEN_Firmas_Electronicas.GEN_EjerciciosActivos_Empresa.id; - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Codigo = g_mdl_GEN_Firmas_Electronicas.GEN_EjerciciosActivos_Empresa.anioControl; - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Descripcion = g_mdl_GEN_Firmas_Electronicas.GEN_EjerciciosActivos_Empresa.descripcion; - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_FechaBorrado = g_mdl_GEN_Firmas_Electronicas.GEN_EjerciciosActivos_Empresa.fechaBorrado; - } - else - { - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Id = -1; - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Codigo = String.Empty; - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Descripcion = String.Empty; - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_FechaBorrado = null; - } - */ - // Mostrar Campo en el Titulo de mantenimiento - string str_MenuSuperior_Codigo = ""; - if (g_frm_P_Firmas_Electronicas.g_mdl_INTERNO_OpcionesDetalle_Modelo != null && - g_frm_P_Firmas_Electronicas.g_mdl_INTERNO_OpcionesDetalle_Modelo.camposMostrar_TituloMantenimiento != null && - g_frm_P_Firmas_Electronicas.g_mdl_INTERNO_OpcionesDetalle_Modelo.camposMostrar_TituloMantenimiento.Trim().Length > 0) - { - //Obtener el Array de Campos - string[] arr_Campos = g_frm_P_Firmas_Electronicas.g_mdl_INTERNO_OpcionesDetalle_Modelo.camposMostrar_TituloMantenimiento.Split(new Char[] { ',' }); - string str_ValorAMostrarFinal = ""; - - string[] str_Separador = new string[] { " [" }; - //Si ya hay valores de objeto, los elimino para rellenarlos de nuevo - if (g_frm_P_Firmas_Electronicas.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None).Count() > 1) - { - g_frm_P_Firmas_Electronicas.P_Base_TituloPantalla = (g_frm_P_Firmas_Electronicas.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None))[0]; - } - - dynamic dnm_Objeto = g_mdl_GEN_Firmas_Electronicas; - foreach (string str_campo in arr_Campos) - { - var Valor = dnm_Objeto.GetType().GetProperty(str_campo).GetValue(dnm_Objeto, null); - if (Valor != null) - { - str_ValorAMostrarFinal += " " + Valor; - } - - // codigo - if (str_campo.Equals(nameof(g_mdl_GEN_Firmas_Electronicas.codigo))) - { - str_MenuSuperior_Codigo = g_mdl_GEN_Firmas_Electronicas.codigo; - } - } - if (str_ValorAMostrarFinal != "") - { - g_frm_P_Firmas_Electronicas.P_Base_TituloPantalla += " [" + str_ValorAMostrarFinal + "] -Modificar"; - } - } + //perm + g_frm_P_Firmas_Electronicas.Exferia_TextBox_TextPerm.Text = g_mdl_GEN_Firmas_Electronicas.text_perm; + g_frm_P_Firmas_Electronicas.Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Fecha = g_mdl_GEN_Firmas_Electronicas.fecha_fin?.ToString("dd/MM/yyyy"); //Actualizar el Boton de Seleccion de pantalla #################################################### - Variables.G_EMS_CONTROL_MENUSUPERIOR.Add_Texto_NombrePantalla_Descripciones(g_frm_P_Firmas_Electronicas.Tag.ToString(), str_MenuSuperior_Codigo); + //Variables.G_EMS_CONTROL_MENUSUPERIOR.Add_Texto_NombrePantalla_Descripciones(g_frm_P_Firmas_Electronicas.Tag.ToString(), str_MenuSuperior_Codigo); //################################################################################################# g_frm_P_Firmas_Electronicas.P_Base_SeModificoDatosPantalla = false; @@ -425,8 +321,8 @@ namespace Exferia_General._3_Vistas.Controladoras //Argumentos ................................................... List lst_Argumentos = new List(); - lst_Argumentos.Add(g_frm_P_Firmas_Electronicas.Exferia_TextboxHTML_Albaran_TextoFinal.Exferia_TextboxHTML_CuerpoHTML); - lst_Argumentos.Add(g_frm_P_Firmas_Electronicas.Exferia_TextboxHTML_Factura_TextoFinal.Exferia_TextboxHTML_CuerpoHTML); + //lst_Argumentos.Add(g_frm_P_Firmas_Electronicas.Exferia_TextboxHTML_Albaran_TextoFinal.Exferia_TextboxHTML_CuerpoHTML); + //lst_Argumentos.Add(g_frm_P_Firmas_Electronicas.Exferia_TextboxHTML_Factura_TextoFinal.Exferia_TextboxHTML_CuerpoHTML); //.............................................................. g_obj_TareaAsincrona_GrabarDatos = new BackgroundWorker(); @@ -570,6 +466,7 @@ namespace Exferia_General._3_Vistas.Controladoras if (mdl_ValorDevuelto_Modelo.TodoCorrecto) { string str_Codigo = g_frm_P_Firmas_Electronicas.Exferia_TextBox_Codigo.Text.Trim(); + if (g_bol_CampoCodigo_Numerico) { int int_Codigo = int.Parse(str_Codigo); @@ -592,24 +489,32 @@ namespace Exferia_General._3_Vistas.Controladoras mdl_ValorDevuelto_Modelo.Objeto = g_frm_P_Firmas_Electronicas.Exferia_TextBox_Descripcion; } - - // El Ejercicio no puede estar Vacio (Obligatorio) - if (mdl_ValorDevuelto_Modelo.TodoCorrecto && g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Codigo.Trim().Length == 0 && - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Descripcion.Trim().Length == 0) + // La textperm no puede estar vacía + if ((mdl_ValorDevuelto_Modelo.TodoCorrecto) && (g_frm_P_Firmas_Electronicas.Exferia_TextBox_TextPerm.Text.Trim().Length == 0)) { mdl_ValorDevuelto_Modelo.TodoCorrecto = false; - mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_VACIO(g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Titulo); - mdl_ValorDevuelto_Modelo.Objeto = g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_PRINCIPAL_TextBox_Codigo; + mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_VACIO(g_frm_P_Firmas_Electronicas.Exferia_Label_TextPerm.Text); + mdl_ValorDevuelto_Modelo.Objeto = g_frm_P_Firmas_Electronicas.Exferia_TextBox_TextPerm; + } + // La fecha no puede estar vacia y debe ser correcta + if (mdl_ValorDevuelto_Modelo.TodoCorrecto) + { + int int_fechaAlta_Respuesta = Funciones.Fecha_Validacion(g_frm_P_Firmas_Electronicas.Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Fecha.Trim(' ', '/')); + + if (int_fechaAlta_Respuesta == 1)//Vacia + { + mdl_ValorDevuelto_Modelo.TodoCorrecto = false; + mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_VACIO(g_frm_P_Firmas_Electronicas.Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Descripcion); + mdl_ValorDevuelto_Modelo.Objeto = g_frm_P_Firmas_Electronicas.Exferia_FechaSeleccion_Fecha; + } + else if (int_fechaAlta_Respuesta == 2)//Incorrecta + { + mdl_ValorDevuelto_Modelo.TodoCorrecto = false; + mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_FECHA_INCORRECTA(g_frm_P_Firmas_Electronicas.Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Descripcion); + mdl_ValorDevuelto_Modelo.Objeto = g_frm_P_Firmas_Electronicas.Exferia_FechaSeleccion_Fecha; + } } - // Si hay Ejercicio validar que es Correcto - if (mdl_ValorDevuelto_Modelo.TodoCorrecto && (g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Codigo.Trim().Length != 0 || - g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Descripcion.Trim().Length != 0) && g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Id == -1) - { - mdl_ValorDevuelto_Modelo.TodoCorrecto = false; - mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_F3_INCORRECTO(g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Titulo); - mdl_ValorDevuelto_Modelo.Objeto = g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_PRINCIPAL_TextBox_Codigo; - } } catch (Control_Errores) { @@ -648,32 +553,13 @@ namespace Exferia_General._3_Vistas.Controladoras g_frm_P_Firmas_Electronicas.Exferia_TextBox_Codigo.Text = int_Codigo.ToString(); } mdl_GEN_Firmas_Electronicas.codigo = g_frm_P_Firmas_Electronicas.Exferia_TextBox_Codigo.Text.Trim(); - + mdl_GEN_Firmas_Electronicas.idEmpresa = IdEmpresaDef; //descripcion mdl_GEN_Firmas_Electronicas.descripcion = g_frm_P_Firmas_Electronicas.Exferia_TextBox_Descripcion.Text.Trim(); - /* - //idEjercicio - mdl_GEN_Firmas_Electronicas.idEjercicio = g_frm_P_Firmas_Electronicas.Exferia_F3_Soloseleccion_Ejercicio.Exferia_F3_SoloSeleccion_Id; - - //imagen_Logo_SuperiorIzquierda - if (g_img_Logo_SuperiorIzquierda_Real != null) - { - mdl_GEN_Firmas_Electronicas.imagen_Logo_SuperiorIzquierda = Funciones.Convertir_Image_Arraybytes(g_img_Logo_SuperiorIzquierda_Real); - } - else - { - mdl_GEN_Firmas_Electronicas.imagen_Logo_SuperiorIzquierda = null; - } - - //venta_Albaran_Informe_TextoFinal - mdl_GEN_Firmas_Electronicas.venta_Albaran_Informe_TextoFinal = (string)_lst_Argumentos[0]; - - //venta_Factura_Informe_TextoFinal - mdl_GEN_Firmas_Electronicas.venta_Factura_Informe_TextoFinal = (string)_lst_Argumentos[1]; - + mdl_GEN_Firmas_Electronicas.text_perm = g_frm_P_Firmas_Electronicas.Exferia_TextBox_TextPerm.Text.Trim(); + mdl_GEN_Firmas_Electronicas.fecha_fin = DateTime.ParseExact(g_frm_P_Firmas_Electronicas.Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Fecha, "dd/MM/yyyy", CultureInfo.InvariantCulture); // Se graba el modelo ya relleno mdl_INTERNO_ValorDevuelto_Modelo = g_obj_GEN_Firmas_Electronicas_Datos.Grabar(mdl_GEN_Firmas_Electronicas); - */ } catch (Control_Errores) { @@ -828,11 +714,11 @@ namespace Exferia_General._3_Vistas.Controladoras #endregion #region Copiar datos de otro año - public List Listado_Configuraciones_Informes() + public List Listado_Firmas_Electronicas() { return g_obj_GEN_Firmas_Electronicas_Datos.Obtener_Listado_Simple(); } - + /* public void Cargar_Datos_OtroAnyo(long _lng_id) { try @@ -952,12 +838,8 @@ namespace Exferia_General._3_Vistas.Controladoras g_frm_P_Firmas_Electronicas.Exferia_TextboxHTML_Factura_TextoFinal.Exferia_TextboxHTML_CuerpoHTML = g_mdl_GEN_Firmas_Electronicas_PARACOPIA.venta_Factura_Informe_TextoFinal; } } - */ - if (g_img_Logo_SuperiorIzquierda_Real != null) - { - g_frm_P_Firmas_Electronicas.PictureBox_LogoSuperiorIzquierda.Image = g_img_Logo_SuperiorIzquierda_Real; - Funciones.PictureBox_RedimencionarImagen(g_frm_P_Firmas_Electronicas.PictureBox_LogoSuperiorIzquierda, g_frm_P_Firmas_Electronicas.PictureBox_LogoSuperiorIzquierda.Image); - } + * / + } } @@ -992,7 +874,7 @@ namespace Exferia_General._3_Vistas.Controladoras g_arr_Logo_SuperiorIzquierda_Inicial = g_mdl_GEN_Firmas_Electronicas_PARACOPIA.imagen_Logo_SuperiorIzquierda; g_img_Logo_SuperiorIzquierda_Real = Funciones.Convertir_Arraybytes_Image(g_mdl_GEN_Firmas_Electronicas_PARACOPIA.imagen_Logo_SuperiorIzquierda); } - */ + * / g_frm_P_Firmas_Electronicas.P_Base_SeModificoDatosPantalla = false; } } @@ -1008,7 +890,7 @@ namespace Exferia_General._3_Vistas.Controladoras return bol_ValorDevuelto; } - +*/ #endregion } diff --git a/Exferia_General/Exferia_General/3_Vistas/P_Firmas_Electronicas.Designer.cs b/Exferia_General/Exferia_General/3_Vistas/P_Firmas_Electronicas.Designer.cs index bc986a9..1b84693 100644 --- a/Exferia_General/Exferia_General/3_Vistas/P_Firmas_Electronicas.Designer.cs +++ b/Exferia_General/Exferia_General/3_Vistas/P_Firmas_Electronicas.Designer.cs @@ -3,14 +3,14 @@ partial class P_Firmas_Electronicas { /// - /// Required designer variable. + /// Variable del diseñador necesaria. /// private System.ComponentModel.IContainer components = null; /// - /// Clean up any resources being used. + /// Limpiar los recursos que se estén usando. /// - /// true if managed resources should be disposed; otherwise, false. + /// true si los recursos administrados se deben desechar; false en caso contrario. protected override void Dispose(bool disposing) { if (disposing && (components != null)) @@ -20,810 +20,272 @@ base.Dispose(disposing); } - #region Windows Form Designer generated code + #region Código generado por el Diseñador de Windows Forms /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. + /// Método necesario para admitir el Diseñador. No se puede modificar + /// el contenido de este método con el editor de código. /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(P_Configuracion_Informes)); - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo = new Exferia_Controles.Exferia_Button(); - this.ex_btn_P_Configuracion_Informes_Borrar = new Exferia_Controles.Exferia_Button(); - this.ex_btn_P_Configuracion_Informes_Grabar = new Exferia_Controles.Exferia_Button(); - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente = new Exferia_Controles.Exferia_Button(); - this.ex_usc_P_Configuracion_Informes_Ejercicio = new Exferia_Controles.Exferia_F3_SoloSeleccion(); - this.ex_txt_P_Configuracion_Informes_Descripcion = new Exferia_Controles.Exferia_TextBox(); - this.ex_txt_P_Configuracion_Informes_Codigo = new Exferia_Controles.Exferia_TextBox(); - this.ex_lbl_P_Configuracion_Informes_Descripcion = new Exferia_Controles.Exferia_Label(); - this.ex_lbl_P_Configuracion_Informes_Codigo = new Exferia_Controles.Exferia_Label(); - this.exferia_TabControl1 = new Exferia_Controles.Exferia_TabControl(); - this.tbp_Logo = new System.Windows.Forms.TabPage(); - this.tbp_Compras = new System.Windows.Forms.TabPage(); - this.ex_P_Configuracion_Informes_Paginador = new Exferia_Controles.Exferia_Paginador(); - this.exferia_Label_SinColor1 = new Exferia_Controles.Exferia_Label_SinColor(); - this.pcb_P_Configuracion_Informes_LogoSuperiorIzquierda = new System.Windows.Forms.PictureBox(); - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda = new Exferia_Controles.Exferia_Button_ConBorde(); - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda = new Exferia_Controles.Exferia_Button_ConBorde(); - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda = new Exferia_Controles.Exferia_Button_ConBorde(); - this.tbp_Ventas = new System.Windows.Forms.TabPage(); - this.tbp_Inventario = new System.Windows.Forms.TabPage(); - this.exferia_TabControl2 = new Exferia_Controles.Exferia_TabControl(); - this.tbp_Compra_Pedidos = new System.Windows.Forms.TabPage(); - this.tbp_Compra_EntradasMercancia = new System.Windows.Forms.TabPage(); - this.tbp_Compra_SolicitudesOferta = new System.Windows.Forms.TabPage(); - this.tbp_Compra_Facturas = new System.Windows.Forms.TabPage(); - this.tbp_Compra_Vencimientos = new System.Windows.Forms.TabPage(); - this.tbp_Compra_Pagos = new System.Windows.Forms.TabPage(); - this.tbp_Compra_Devoluciones = new System.Windows.Forms.TabPage(); - this.tbp_Compra_Remesa = new System.Windows.Forms.TabPage(); - this.exferia_TabControl3 = new Exferia_Controles.Exferia_TabControl(); - this.tbp_Ventas_Presupuestos = new System.Windows.Forms.TabPage(); - this.tbp_Ventas_Pedidos = new System.Windows.Forms.TabPage(); - this.tbp_Ventas_Albaranes = new System.Windows.Forms.TabPage(); - this.tbp_Ventas_Facturas = new System.Windows.Forms.TabPage(); - this.tbp_Ventas_Vencimientos = new System.Windows.Forms.TabPage(); - this.tbp_Ventas_Cobros = new System.Windows.Forms.TabPage(); - this.tbp_Ventas_Devoluciones = new System.Windows.Forms.TabPage(); - this.tbp_Ventas_Remesas = new System.Windows.Forms.TabPage(); - this.exferia_TabControl4 = new Exferia_Controles.Exferia_TabControl(); - this.tbp_Inventario_Inventario = new System.Windows.Forms.TabPage(); - this.tbp_Inventario_VariacionExistencias = new System.Windows.Forms.TabPage(); - this.exferia_TabControl5 = new Exferia_Controles.Exferia_TabControl(); - this.tbp_Ventas_Albaranes_TextoFinal = new System.Windows.Forms.TabPage(); - this.ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal = new Exferia_Controles.Exferia_TextboxHTML(); - this.exferia_TabControl6 = new Exferia_Controles.Exferia_TabControl(); - this.tbp_Ventas_Facturas_TextoFinal = new System.Windows.Forms.TabPage(); - this.ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal = new Exferia_Controles.Exferia_TextboxHTML(); - this.exferia_TabControl1.SuspendLayout(); - this.tbp_Logo.SuspendLayout(); - this.tbp_Compras.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pcb_P_Configuracion_Informes_LogoSuperiorIzquierda)).BeginInit(); - this.tbp_Ventas.SuspendLayout(); - this.tbp_Inventario.SuspendLayout(); - this.exferia_TabControl2.SuspendLayout(); - this.exferia_TabControl3.SuspendLayout(); - this.tbp_Ventas_Albaranes.SuspendLayout(); - this.tbp_Ventas_Facturas.SuspendLayout(); - this.exferia_TabControl4.SuspendLayout(); - this.exferia_TabControl5.SuspendLayout(); - this.tbp_Ventas_Albaranes_TextoFinal.SuspendLayout(); - this.exferia_TabControl6.SuspendLayout(); - this.tbp_Ventas_Facturas_TextoFinal.SuspendLayout(); + this.ex_lbl_P_Firma_Electronica_Codigo = new Exferia_Controles.Exferia_Label(); + this.ex_btn_P_Firma_Electronical_Borrar = new Exferia_Controles.Exferia_Button(); + this.ex_btn_P_Firma_Electronica_Grabar = new Exferia_Controles.Exferia_Button(); + this.ex_txt_P_Firma_Electronica_Codigo = new Exferia_Controles.Exferia_TextBox(); + this.ex_txt_P_Firma_Electronica_textPerm = new Exferia_Controles.Exferia_TextBox(); + this.ex_lbl_P_Firma_electronica_label_text_perm = new Exferia_Controles.Exferia_Label(); + this.ex_Paginador_Firma_Electronica = new Exferia_Controles.Exferia_Paginador(); + this.ex_btn_P_Firma_Electronica_CodigoSiguiente = new Exferia_Controles.Exferia_Button(); + this.ex_txt_P_Firma_Electronica_Descripcion = new Exferia_Controles.Exferia_TextBox(); + this.ex_lbl_P_Firma_Electronical_Descripcion = new Exferia_Controles.Exferia_Label(); + this.ex_usc_Firma_Electronica_Fecha = new Exferia_Controles.Exferia_FechaSeleccion(); this.SuspendLayout(); // - // ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo + // ex_lbl_P_Firma_Electronica_Codigo // - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.BackColor = System.Drawing.Color.Maroon; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.Exferia_Button_Bloqueable = true; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_COPIAR_ANTERIOR; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.Exferia_Button_Permitir_CambioFuenteAutomatico = true; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.Exferia_Button_ReadOnly = false; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.Exferia_Button_TabStop = false; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.Exferia_Button_ToolTip = "Copiar los datos de otro año"; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.FlatAppearance.BorderSize = 0; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.Location = new System.Drawing.Point(754, 151); - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.Name = "ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo"; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.Size = new System.Drawing.Size(31, 36); - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.TabIndex = 75; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.TabStop = false; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.UseVisualStyleBackColor = false; - this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo.Click += new System.EventHandler(this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo_Click); + this.ex_lbl_P_Firma_Electronica_Codigo.AutoSize = true; + this.ex_lbl_P_Firma_Electronica_Codigo.Location = new System.Drawing.Point(25, 105); + this.ex_lbl_P_Firma_Electronica_Codigo.Name = "ex_lbl_P_Firma_Electronica_Codigo"; + this.ex_lbl_P_Firma_Electronica_Codigo.Size = new System.Drawing.Size(40, 13); + this.ex_lbl_P_Firma_Electronica_Codigo.TabIndex = 39; + this.ex_lbl_P_Firma_Electronica_Codigo.Text = "Código"; // - // ex_btn_P_Configuracion_Informes_Borrar + // ex_btn_P_Firma_Electronical_Borrar // - this.ex_btn_P_Configuracion_Informes_Borrar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.ex_btn_P_Configuracion_Informes_Borrar.BackColor = System.Drawing.Color.Maroon; - this.ex_btn_P_Configuracion_Informes_Borrar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.ex_btn_P_Configuracion_Informes_Borrar.Exferia_Button_Bloqueable = true; - this.ex_btn_P_Configuracion_Informes_Borrar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BORRAR; - this.ex_btn_P_Configuracion_Informes_Borrar.Exferia_Button_Permitir_CambioFuenteAutomatico = true; - this.ex_btn_P_Configuracion_Informes_Borrar.Exferia_Button_ReadOnly = false; - this.ex_btn_P_Configuracion_Informes_Borrar.Exferia_Button_TabStop = false; - this.ex_btn_P_Configuracion_Informes_Borrar.Exferia_Button_ToolTip = "Borrar (F5)"; - this.ex_btn_P_Configuracion_Informes_Borrar.FlatAppearance.BorderSize = 0; - this.ex_btn_P_Configuracion_Informes_Borrar.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.ex_btn_P_Configuracion_Informes_Borrar.Location = new System.Drawing.Point(754, 86); - this.ex_btn_P_Configuracion_Informes_Borrar.Name = "ex_btn_P_Configuracion_Informes_Borrar"; - this.ex_btn_P_Configuracion_Informes_Borrar.Size = new System.Drawing.Size(31, 36); - this.ex_btn_P_Configuracion_Informes_Borrar.TabIndex = 74; - this.ex_btn_P_Configuracion_Informes_Borrar.TabStop = false; - this.ex_btn_P_Configuracion_Informes_Borrar.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.ex_btn_P_Configuracion_Informes_Borrar.UseVisualStyleBackColor = false; - this.ex_btn_P_Configuracion_Informes_Borrar.Click += new System.EventHandler(this.ex_btn_P_Configuracion_Informes_Borrar_Click); + this.ex_btn_P_Firma_Electronical_Borrar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.ex_btn_P_Firma_Electronical_Borrar.BackColor = System.Drawing.Color.Maroon; + this.ex_btn_P_Firma_Electronical_Borrar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.ex_btn_P_Firma_Electronical_Borrar.Exferia_Button_Bloqueable = true; + this.ex_btn_P_Firma_Electronical_Borrar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BORRAR; + this.ex_btn_P_Firma_Electronical_Borrar.Exferia_Button_Permitir_CambioFuenteAutomatico = true; + this.ex_btn_P_Firma_Electronical_Borrar.Exferia_Button_ReadOnly = false; + this.ex_btn_P_Firma_Electronical_Borrar.Exferia_Button_TabStop = false; + this.ex_btn_P_Firma_Electronical_Borrar.Exferia_Button_ToolTip = "Borrar (F5)"; + this.ex_btn_P_Firma_Electronical_Borrar.FlatAppearance.BorderSize = 0; + this.ex_btn_P_Firma_Electronical_Borrar.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.ex_btn_P_Firma_Electronical_Borrar.Location = new System.Drawing.Point(754, 86); + this.ex_btn_P_Firma_Electronical_Borrar.Name = "ex_btn_P_Firma_Electronical_Borrar"; + this.ex_btn_P_Firma_Electronical_Borrar.Size = new System.Drawing.Size(31, 36); + this.ex_btn_P_Firma_Electronical_Borrar.TabIndex = 42; + this.ex_btn_P_Firma_Electronical_Borrar.TabStop = false; + this.ex_btn_P_Firma_Electronical_Borrar.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.ex_btn_P_Firma_Electronical_Borrar.UseVisualStyleBackColor = false; + this.ex_btn_P_Firma_Electronical_Borrar.Click += new System.EventHandler(this.ex_btn_P_ConfiguracionEmail_Borrar_Click); // - // ex_btn_P_Configuracion_Informes_Grabar + // ex_btn_P_Firma_Electronica_Grabar // - this.ex_btn_P_Configuracion_Informes_Grabar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.ex_btn_P_Configuracion_Informes_Grabar.BackColor = System.Drawing.Color.Maroon; - this.ex_btn_P_Configuracion_Informes_Grabar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.ex_btn_P_Configuracion_Informes_Grabar.Exferia_Button_Bloqueable = true; - this.ex_btn_P_Configuracion_Informes_Grabar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_GUARDAR; - this.ex_btn_P_Configuracion_Informes_Grabar.Exferia_Button_Permitir_CambioFuenteAutomatico = true; - this.ex_btn_P_Configuracion_Informes_Grabar.Exferia_Button_ReadOnly = false; - this.ex_btn_P_Configuracion_Informes_Grabar.Exferia_Button_TabStop = false; - this.ex_btn_P_Configuracion_Informes_Grabar.Exferia_Button_ToolTip = "Grabar (F2)"; - this.ex_btn_P_Configuracion_Informes_Grabar.FlatAppearance.BorderSize = 0; - this.ex_btn_P_Configuracion_Informes_Grabar.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.ex_btn_P_Configuracion_Informes_Grabar.Location = new System.Drawing.Point(754, 44); - this.ex_btn_P_Configuracion_Informes_Grabar.Name = "ex_btn_P_Configuracion_Informes_Grabar"; - this.ex_btn_P_Configuracion_Informes_Grabar.Size = new System.Drawing.Size(31, 36); - this.ex_btn_P_Configuracion_Informes_Grabar.TabIndex = 73; - this.ex_btn_P_Configuracion_Informes_Grabar.TabStop = false; - this.ex_btn_P_Configuracion_Informes_Grabar.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.ex_btn_P_Configuracion_Informes_Grabar.UseVisualStyleBackColor = false; - this.ex_btn_P_Configuracion_Informes_Grabar.Click += new System.EventHandler(this.ex_btn_P_Configuracion_Informes_Grabar_Click); + this.ex_btn_P_Firma_Electronica_Grabar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.ex_btn_P_Firma_Electronica_Grabar.BackColor = System.Drawing.Color.Maroon; + this.ex_btn_P_Firma_Electronica_Grabar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.ex_btn_P_Firma_Electronica_Grabar.Exferia_Button_Bloqueable = true; + this.ex_btn_P_Firma_Electronica_Grabar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_GUARDAR; + this.ex_btn_P_Firma_Electronica_Grabar.Exferia_Button_Permitir_CambioFuenteAutomatico = true; + this.ex_btn_P_Firma_Electronica_Grabar.Exferia_Button_ReadOnly = false; + this.ex_btn_P_Firma_Electronica_Grabar.Exferia_Button_TabStop = false; + this.ex_btn_P_Firma_Electronica_Grabar.Exferia_Button_ToolTip = "Grabar (F2)"; + this.ex_btn_P_Firma_Electronica_Grabar.FlatAppearance.BorderSize = 0; + this.ex_btn_P_Firma_Electronica_Grabar.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.ex_btn_P_Firma_Electronica_Grabar.Location = new System.Drawing.Point(754, 44); + this.ex_btn_P_Firma_Electronica_Grabar.Name = "ex_btn_P_Firma_Electronica_Grabar"; + this.ex_btn_P_Firma_Electronica_Grabar.Size = new System.Drawing.Size(31, 36); + this.ex_btn_P_Firma_Electronica_Grabar.TabIndex = 41; + this.ex_btn_P_Firma_Electronica_Grabar.TabStop = false; + this.ex_btn_P_Firma_Electronica_Grabar.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.ex_btn_P_Firma_Electronica_Grabar.UseVisualStyleBackColor = false; + this.ex_btn_P_Firma_Electronica_Grabar.Click += new System.EventHandler(this.ex_btn_P_ConfiguracionEmail_Grabar_Click); // - // ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente + // ex_txt_P_Firma_Electronica_Codigo // - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.BackColor = System.Drawing.Color.Maroon; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.Exferia_Button_Bloqueable = true; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BUSCARCODIGO_P; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.Exferia_Button_Permitir_CambioFuenteAutomatico = true; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.Exferia_Button_ReadOnly = false; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.Exferia_Button_TabStop = false; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.Exferia_Button_ToolTip = "Código siguiente"; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.FlatAppearance.BorderSize = 0; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.Location = new System.Drawing.Point(198, 87); - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.Name = "ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente"; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.Size = new System.Drawing.Size(21, 21); - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.TabIndex = 81; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.TabStop = false; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.UseVisualStyleBackColor = false; - this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente.Click += new System.EventHandler(this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente_Click); + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_Bloqueable = true; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175))))); + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_MaxLength = 10; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_Multiline = false; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_NoBloquear = true; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_Obligatorio = true; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_PasswordChar = '\0'; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_ReadOnly = false; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_SelectionLength = 0; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_SelectionStart = 0; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_TabStop_Txt = true; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_Texto_Inicial = ""; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_Tipo_Decimal_Decimales = 2; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_Tipo_Decimal_Enteros = 9; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_UseSystemPasswordChar = false; + this.ex_txt_P_Firma_Electronica_Codigo.Location = new System.Drawing.Point(129, 97); + this.ex_txt_P_Firma_Electronica_Codigo.Name = "ex_txt_P_Firma_Electronica_Codigo"; + this.ex_txt_P_Firma_Electronica_Codigo.Padding = new System.Windows.Forms.Padding(2); + this.ex_txt_P_Firma_Electronica_Codigo.Size = new System.Drawing.Size(250, 22); + this.ex_txt_P_Firma_Electronica_Codigo.TabIndex = 44; + this.ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged); // - // ex_usc_P_Configuracion_Informes_Ejercicio + // ex_txt_P_Firma_Electronica_textPerm // - this.ex_usc_P_Configuracion_Informes_Ejercicio.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.ex_txt_P_Firma_Electronica_textPerm.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.ex_usc_P_Configuracion_Informes_Ejercicio.BackColor = System.Drawing.Color.Transparent; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_Ancho_Codigo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_CODIGO.Normal; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_Ancho_Titulo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_TITULO.Normal; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_Codigo = ""; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_DatosAuxiliares_1 = null; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_DatosAuxiliares_2 = null; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_DatosAuxiliares_3 = null; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_Descripcion = ""; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_FechaBorrado = null; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_Id = ((long)(-1)); - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_IdEjercicio_Baja = null; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_PRINCIPAL_Obligatorio = true; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_PRINCIPAL_Opcion_BuscarDatos = ""; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_RELACIONADOS_Objetos_Hijos = null; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_RELACIONAL_TipoRelacion = Exferia_Controles.Exferia_F3_SoloSeleccion.Exferia_F3_SoloSeleccion_TipoRelacion.Ninguna; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_Titulo = "Ejercicio"; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Location = new System.Drawing.Point(13, 135); - this.ex_usc_P_Configuracion_Informes_Ejercicio.Name = "ex_usc_P_Configuracion_Informes_Ejercicio"; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Size = new System.Drawing.Size(729, 22); - this.ex_usc_P_Configuracion_Informes_Ejercicio.TabIndex = 80; - this.ex_usc_P_Configuracion_Informes_Ejercicio.Tag = ""; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_Bloqueable = true; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_MaxLength = 1025; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_Multiline = true; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_NoBloquear = true; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_Obligatorio = false; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_PasswordChar = '\0'; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_ReadOnly = false; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_SelectionLength = 0; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_SelectionStart = 0; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_TabStop_Txt = true; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_Texto_Inicial = ""; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_Tipo_Decimal_Decimales = 2; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_Tipo_Decimal_Enteros = 9; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_UseSystemPasswordChar = false; + this.ex_txt_P_Firma_Electronica_textPerm.Location = new System.Drawing.Point(25, 218); + this.ex_txt_P_Firma_Electronica_textPerm.Name = "ex_txt_P_Firma_Electronica_textPerm"; + this.ex_txt_P_Firma_Electronica_textPerm.Padding = new System.Windows.Forms.Padding(2); + this.ex_txt_P_Firma_Electronica_textPerm.Size = new System.Drawing.Size(708, 282); + this.ex_txt_P_Firma_Electronica_textPerm.TabIndex = 48; + this.ex_txt_P_Firma_Electronica_textPerm.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged); // - // ex_txt_P_Configuracion_Informes_Descripcion + // ex_lbl_P_Firma_electronica_label_text_perm // - this.ex_txt_P_Configuracion_Informes_Descripcion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.ex_lbl_P_Firma_electronica_label_text_perm.AutoSize = true; + this.ex_lbl_P_Firma_electronica_label_text_perm.Location = new System.Drawing.Point(25, 202); + this.ex_lbl_P_Firma_electronica_label_text_perm.Name = "ex_lbl_P_Firma_electronica_label_text_perm"; + this.ex_lbl_P_Firma_electronica_label_text_perm.Size = new System.Drawing.Size(117, 13); + this.ex_lbl_P_Firma_electronica_label_text_perm.TabIndex = 47; + this.ex_lbl_P_Firma_electronica_label_text_perm.Text = "Perm Firma electronica:"; + // + // ex_Paginador_Firma_Electronica + // + this.ex_Paginador_Firma_Electronica.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.ex_Paginador_Firma_Electronica.Location = new System.Drawing.Point(25, 619); + this.ex_Paginador_Firma_Electronica.Name = "ex_Paginador_Firma_Electronica"; + this.ex_Paginador_Firma_Electronica.PaginaActual = 1; + this.ex_Paginador_Firma_Electronica.PaginasTotales = 1; + this.ex_Paginador_Firma_Electronica.Size = new System.Drawing.Size(405, 39); + this.ex_Paginador_Firma_Electronica.TabIndex = 70; + this.ex_Paginador_Firma_Electronica.TabStop = false; + this.ex_Paginador_Firma_Electronica.txt_ValorPaginaActual = 999999999; + this.ex_Paginador_Firma_Electronica.Exferia_Paginador_Evento_Primera_Click += new System.EventHandler(this.ctu_Paginacion_Primera_Click); + this.ex_Paginador_Firma_Electronica.Exferia_Paginador_Evento_Anterior_Click += new System.EventHandler(this.ctu_Paginacion_Anterior_Click); + this.ex_Paginador_Firma_Electronica.Exferia_Paginador_Evento_Siguiente_Click += new System.EventHandler(this.ctu_Paginacion_Siguiente_Click); + this.ex_Paginador_Firma_Electronica.Exferia_Paginador_Evento_Ultima_Click += new System.EventHandler(this.ctu_Paginacion_Ultima_Click); + this.ex_Paginador_Firma_Electronica.Exferia_Paginador_Evento_PaginaActual_KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_PaginaActual_KeyPress); + // + // ex_btn_P_Firma_Electronica_CodigoSiguiente + // + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.BackColor = System.Drawing.Color.Maroon; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.Exferia_Button_Bloqueable = true; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BUSCARCODIGO_P; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.Exferia_Button_Permitir_CambioFuenteAutomatico = true; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.Exferia_Button_ReadOnly = false; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.Exferia_Button_TabStop = false; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.Exferia_Button_ToolTip = ""; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.FlatAppearance.BorderSize = 0; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.Location = new System.Drawing.Point(383, 97); + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.Name = "ex_btn_P_Firma_Electronica_CodigoSiguiente"; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.Size = new System.Drawing.Size(21, 21); + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.TabIndex = 71; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.TabStop = false; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.UseVisualStyleBackColor = false; + this.ex_btn_P_Firma_Electronica_CodigoSiguiente.Click += new System.EventHandler(this.ex_btn_P_Firma_Electronica_BuscarCodigoSiguiente_Click); + // + // ex_txt_P_Firma_Electronica_Descripcion + // + this.ex_txt_P_Firma_Electronica_Descripcion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_Bloqueable = true; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175))))); - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_MaxLength = 50; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_Multiline = false; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_NoBloquear = true; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_Obligatorio = true; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_PasswordChar = '\0'; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_ReadOnly = false; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_SelectionLength = 0; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_SelectionStart = 0; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_TabStop_Txt = true; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_Texto_Inicial = ""; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_Tipo_Decimal_Decimales = 2; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_Tipo_Decimal_Enteros = 9; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos; - this.ex_txt_P_Configuracion_Informes_Descripcion.Exferia_TextBox_UseSystemPasswordChar = false; - this.ex_txt_P_Configuracion_Informes_Descripcion.Location = new System.Drawing.Point(119, 111); - this.ex_txt_P_Configuracion_Informes_Descripcion.Name = "ex_txt_P_Configuracion_Informes_Descripcion"; - this.ex_txt_P_Configuracion_Informes_Descripcion.Padding = new System.Windows.Forms.Padding(2); - this.ex_txt_P_Configuracion_Informes_Descripcion.Size = new System.Drawing.Size(596, 22); - this.ex_txt_P_Configuracion_Informes_Descripcion.TabIndex = 79; - // - // ex_txt_P_Configuracion_Informes_Codigo - // - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_Bloqueable = true; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175))))); - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_MaxLength = 10; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_Multiline = false; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_NoBloquear = true; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_Obligatorio = true; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_PasswordChar = '\0'; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_ReadOnly = false; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_SelectionLength = 0; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_SelectionStart = 0; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_TabStop_Txt = true; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_Texto_Inicial = ""; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_Tipo_Decimal_Decimales = 2; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_Tipo_Decimal_Enteros = 9; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos; - this.ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_UseSystemPasswordChar = false; - this.ex_txt_P_Configuracion_Informes_Codigo.Location = new System.Drawing.Point(119, 86); - this.ex_txt_P_Configuracion_Informes_Codigo.Name = "ex_txt_P_Configuracion_Informes_Codigo"; - this.ex_txt_P_Configuracion_Informes_Codigo.Padding = new System.Windows.Forms.Padding(2); - this.ex_txt_P_Configuracion_Informes_Codigo.Size = new System.Drawing.Size(73, 22); - this.ex_txt_P_Configuracion_Informes_Codigo.TabIndex = 78; - // - // ex_lbl_P_Configuracion_Informes_Descripcion - // - this.ex_lbl_P_Configuracion_Informes_Descripcion.AutoSize = true; - this.ex_lbl_P_Configuracion_Informes_Descripcion.BackColor = System.Drawing.Color.White; - this.ex_lbl_P_Configuracion_Informes_Descripcion.Location = new System.Drawing.Point(12, 115); - this.ex_lbl_P_Configuracion_Informes_Descripcion.Name = "ex_lbl_P_Configuracion_Informes_Descripcion"; - this.ex_lbl_P_Configuracion_Informes_Descripcion.Size = new System.Drawing.Size(63, 13); - this.ex_lbl_P_Configuracion_Informes_Descripcion.TabIndex = 77; - this.ex_lbl_P_Configuracion_Informes_Descripcion.Text = "Descripción"; - // - // ex_lbl_P_Configuracion_Informes_Codigo - // - this.ex_lbl_P_Configuracion_Informes_Codigo.AutoSize = true; - this.ex_lbl_P_Configuracion_Informes_Codigo.BackColor = System.Drawing.Color.White; - this.ex_lbl_P_Configuracion_Informes_Codigo.Location = new System.Drawing.Point(12, 91); - this.ex_lbl_P_Configuracion_Informes_Codigo.Name = "ex_lbl_P_Configuracion_Informes_Codigo"; - this.ex_lbl_P_Configuracion_Informes_Codigo.Size = new System.Drawing.Size(40, 13); - this.ex_lbl_P_Configuracion_Informes_Codigo.TabIndex = 76; - this.ex_lbl_P_Configuracion_Informes_Codigo.Text = "Código"; - // - // exferia_TabControl1 - // - this.exferia_TabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.exferia_TabControl1.Controls.Add(this.tbp_Logo); - this.exferia_TabControl1.Controls.Add(this.tbp_Compras); - this.exferia_TabControl1.Controls.Add(this.tbp_Ventas); - this.exferia_TabControl1.Controls.Add(this.tbp_Inventario); - this.exferia_TabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; - this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Cambiado = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Normal = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Seleccionado = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Cambiado = System.Drawing.Color.Black; - this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Normal = System.Drawing.Color.Black; - this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Seleccionado = System.Drawing.Color.Black; - this.exferia_TabControl1.Location = new System.Drawing.Point(19, 163); - this.exferia_TabControl1.Name = "exferia_TabControl1"; - this.exferia_TabControl1.SelectedIndex = 0; - this.exferia_TabControl1.Size = new System.Drawing.Size(723, 453); - this.exferia_TabControl1.TabIndex = 82; - // - // tbp_Logo - // - this.tbp_Logo.Controls.Add(this.exferia_Label_SinColor1); - this.tbp_Logo.Controls.Add(this.pcb_P_Configuracion_Informes_LogoSuperiorIzquierda); - this.tbp_Logo.Controls.Add(this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda); - this.tbp_Logo.Controls.Add(this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda); - this.tbp_Logo.Controls.Add(this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda); - this.tbp_Logo.Location = new System.Drawing.Point(4, 22); - this.tbp_Logo.Name = "tbp_Logo"; - this.tbp_Logo.Padding = new System.Windows.Forms.Padding(3); - this.tbp_Logo.Size = new System.Drawing.Size(715, 427); - this.tbp_Logo.TabIndex = 0; - this.tbp_Logo.Text = "Logo"; - this.tbp_Logo.UseVisualStyleBackColor = true; - // - // tbp_Compras - // - this.tbp_Compras.Controls.Add(this.exferia_TabControl2); - this.tbp_Compras.Location = new System.Drawing.Point(4, 22); - this.tbp_Compras.Name = "tbp_Compras"; - this.tbp_Compras.Padding = new System.Windows.Forms.Padding(3); - this.tbp_Compras.Size = new System.Drawing.Size(715, 427); - this.tbp_Compras.TabIndex = 1; - this.tbp_Compras.Text = "Compras"; - this.tbp_Compras.UseVisualStyleBackColor = true; - // - // ex_P_Configuracion_Informes_Paginador - // - this.ex_P_Configuracion_Informes_Paginador.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.ex_P_Configuracion_Informes_Paginador.Location = new System.Drawing.Point(20, 622); - this.ex_P_Configuracion_Informes_Paginador.Name = "ex_P_Configuracion_Informes_Paginador"; - this.ex_P_Configuracion_Informes_Paginador.PaginaActual = 1; - this.ex_P_Configuracion_Informes_Paginador.PaginasTotales = 1; - this.ex_P_Configuracion_Informes_Paginador.Size = new System.Drawing.Size(405, 39); - this.ex_P_Configuracion_Informes_Paginador.TabIndex = 83; - this.ex_P_Configuracion_Informes_Paginador.TabStop = false; - this.ex_P_Configuracion_Informes_Paginador.txt_ValorPaginaActual = 999999999; - this.ex_P_Configuracion_Informes_Paginador.Exferia_Paginador_Evento_Primera_Click += new System.EventHandler(this.ctu_Paginacion_Primera_Click); - this.ex_P_Configuracion_Informes_Paginador.Exferia_Paginador_Evento_Anterior_Click += new System.EventHandler(this.ctu_Paginacion_Anterior_Click); - this.ex_P_Configuracion_Informes_Paginador.Exferia_Paginador_Evento_Siguiente_Click += new System.EventHandler(this.ctu_Paginacion_Siguiente_Click); - this.ex_P_Configuracion_Informes_Paginador.Exferia_Paginador_Evento_Ultima_Click += new System.EventHandler(this.ctu_Paginacion_Ultima_Click); - this.ex_P_Configuracion_Informes_Paginador.Exferia_Paginador_Evento_PaginaActual_KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_PaginaActual_KeyPress); - // - // exferia_Label_SinColor1 - // - this.exferia_Label_SinColor1.AutoSize = true; - this.exferia_Label_SinColor1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.exferia_Label_SinColor1.Location = new System.Drawing.Point(6, 5); - this.exferia_Label_SinColor1.Name = "exferia_Label_SinColor1"; - this.exferia_Label_SinColor1.Size = new System.Drawing.Size(216, 16); - this.exferia_Label_SinColor1.TabIndex = 90; - this.exferia_Label_SinColor1.Text = "LOGO SUPERIOR IZQUIERDA"; - // - // pcb_P_Configuracion_Informes_LogoSuperiorIzquierda - // - this.pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.Location = new System.Drawing.Point(4, 24); - this.pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.Name = "pcb_P_Configuracion_Informes_LogoSuperiorIzquierda"; - this.pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.Size = new System.Drawing.Size(225, 182); - this.pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.TabIndex = 86; - this.pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.TabStop = false; - // - // ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda - // - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.Exferia_Button_ConBorde_Bloqueable = true; - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.Exferia_Button_ConBorde_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.Vacio; - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.Exferia_Button_ConBorde_ReadOnly = false; - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.Exferia_Button_Permitir_CambioFuenteAutomatico = true; - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.Exferia_Button_ToolTip = ""; - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.Location = new System.Drawing.Point(238, 182); - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.Name = "ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda"; - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.Size = new System.Drawing.Size(97, 23); - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.TabIndex = 89; - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.TabStop = false; - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.Text = "Borrar Imagen"; - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.UseVisualStyleBackColor = true; - this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda.Click += new System.EventHandler(this.ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda_Click); - // - // ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda - // - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.Exferia_Button_ConBorde_Bloqueable = true; - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.Exferia_Button_ConBorde_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.Vacio; - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.Exferia_Button_ConBorde_ReadOnly = false; - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.Exferia_Button_Permitir_CambioFuenteAutomatico = true; - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.Exferia_Button_ToolTip = ""; - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.Location = new System.Drawing.Point(235, 24); - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.Name = "ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda"; - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.Size = new System.Drawing.Size(100, 23); - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.TabIndex = 88; - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.TabStop = false; - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.Text = "Buscar Imagen"; - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.UseVisualStyleBackColor = true; - this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda.Click += new System.EventHandler(this.ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda_Click); - // - // ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda - // - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.Exferia_Button_ConBorde_Bloqueable = true; - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.Exferia_Button_ConBorde_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.Vacio; - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.Exferia_Button_ConBorde_ReadOnly = false; - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.Exferia_Button_Permitir_CambioFuenteAutomatico = true; - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.Exferia_Button_ToolTip = ""; - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.Location = new System.Drawing.Point(235, 57); - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.Name = "ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda"; - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.Size = new System.Drawing.Size(100, 23); - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.TabIndex = 87; - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.TabStop = false; - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.Text = "Cargar Antigua"; - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.UseVisualStyleBackColor = true; - this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda.Click += new System.EventHandler(this.ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda_Click); - // - // tbp_Ventas - // - this.tbp_Ventas.Controls.Add(this.exferia_TabControl3); - this.tbp_Ventas.Location = new System.Drawing.Point(4, 22); - this.tbp_Ventas.Name = "tbp_Ventas"; - this.tbp_Ventas.Size = new System.Drawing.Size(715, 427); - this.tbp_Ventas.TabIndex = 2; - this.tbp_Ventas.Text = "Ventas"; - this.tbp_Ventas.UseVisualStyleBackColor = true; - // - // tbp_Inventario - // - this.tbp_Inventario.Controls.Add(this.exferia_TabControl4); - this.tbp_Inventario.Location = new System.Drawing.Point(4, 22); - this.tbp_Inventario.Name = "tbp_Inventario"; - this.tbp_Inventario.Size = new System.Drawing.Size(715, 427); - this.tbp_Inventario.TabIndex = 3; - this.tbp_Inventario.Text = "Inventario"; - this.tbp_Inventario.UseVisualStyleBackColor = true; - // - // exferia_TabControl2 - // - this.exferia_TabControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.exferia_TabControl2.Controls.Add(this.tbp_Compra_SolicitudesOferta); - this.exferia_TabControl2.Controls.Add(this.tbp_Compra_Pedidos); - this.exferia_TabControl2.Controls.Add(this.tbp_Compra_EntradasMercancia); - this.exferia_TabControl2.Controls.Add(this.tbp_Compra_Facturas); - this.exferia_TabControl2.Controls.Add(this.tbp_Compra_Vencimientos); - this.exferia_TabControl2.Controls.Add(this.tbp_Compra_Pagos); - this.exferia_TabControl2.Controls.Add(this.tbp_Compra_Devoluciones); - this.exferia_TabControl2.Controls.Add(this.tbp_Compra_Remesa); - this.exferia_TabControl2.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; - this.exferia_TabControl2.Exferia_TabControl_Fondo_TabPage_Cambiado = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl2.Exferia_TabControl_Fondo_TabPage_Normal = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl2.Exferia_TabControl_Fondo_TabPage_Seleccionado = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl2.Exferia_TabControl_Letra_TabPage_Cambiado = System.Drawing.Color.Black; - this.exferia_TabControl2.Exferia_TabControl_Letra_TabPage_Normal = System.Drawing.Color.Black; - this.exferia_TabControl2.Exferia_TabControl_Letra_TabPage_Seleccionado = System.Drawing.Color.Black; - this.exferia_TabControl2.Location = new System.Drawing.Point(6, 6); - this.exferia_TabControl2.Name = "exferia_TabControl2"; - this.exferia_TabControl2.SelectedIndex = 0; - this.exferia_TabControl2.Size = new System.Drawing.Size(703, 415); - this.exferia_TabControl2.TabIndex = 0; - // - // tbp_Compra_Pedidos - // - this.tbp_Compra_Pedidos.Location = new System.Drawing.Point(4, 22); - this.tbp_Compra_Pedidos.Name = "tbp_Compra_Pedidos"; - this.tbp_Compra_Pedidos.Padding = new System.Windows.Forms.Padding(3); - this.tbp_Compra_Pedidos.Size = new System.Drawing.Size(695, 389); - this.tbp_Compra_Pedidos.TabIndex = 0; - this.tbp_Compra_Pedidos.Text = "Pedidos"; - this.tbp_Compra_Pedidos.UseVisualStyleBackColor = true; - // - // tbp_Compra_EntradasMercancia - // - this.tbp_Compra_EntradasMercancia.Location = new System.Drawing.Point(4, 22); - this.tbp_Compra_EntradasMercancia.Name = "tbp_Compra_EntradasMercancia"; - this.tbp_Compra_EntradasMercancia.Padding = new System.Windows.Forms.Padding(3); - this.tbp_Compra_EntradasMercancia.Size = new System.Drawing.Size(695, 389); - this.tbp_Compra_EntradasMercancia.TabIndex = 1; - this.tbp_Compra_EntradasMercancia.Text = "Entradas de mercancia"; - this.tbp_Compra_EntradasMercancia.UseVisualStyleBackColor = true; - // - // tbp_Compra_SolicitudesOferta - // - this.tbp_Compra_SolicitudesOferta.Location = new System.Drawing.Point(4, 22); - this.tbp_Compra_SolicitudesOferta.Name = "tbp_Compra_SolicitudesOferta"; - this.tbp_Compra_SolicitudesOferta.Size = new System.Drawing.Size(695, 389); - this.tbp_Compra_SolicitudesOferta.TabIndex = 2; - this.tbp_Compra_SolicitudesOferta.Text = "Solicitudes de oferta"; - this.tbp_Compra_SolicitudesOferta.UseVisualStyleBackColor = true; - // - // tbp_Compra_Facturas - // - this.tbp_Compra_Facturas.Location = new System.Drawing.Point(4, 22); - this.tbp_Compra_Facturas.Name = "tbp_Compra_Facturas"; - this.tbp_Compra_Facturas.Size = new System.Drawing.Size(695, 389); - this.tbp_Compra_Facturas.TabIndex = 3; - this.tbp_Compra_Facturas.Text = "Facturas"; - this.tbp_Compra_Facturas.UseVisualStyleBackColor = true; - // - // tbp_Compra_Vencimientos - // - this.tbp_Compra_Vencimientos.Location = new System.Drawing.Point(4, 22); - this.tbp_Compra_Vencimientos.Name = "tbp_Compra_Vencimientos"; - this.tbp_Compra_Vencimientos.Size = new System.Drawing.Size(695, 389); - this.tbp_Compra_Vencimientos.TabIndex = 4; - this.tbp_Compra_Vencimientos.Text = "Vencimientos"; - this.tbp_Compra_Vencimientos.UseVisualStyleBackColor = true; - // - // tbp_Compra_Pagos - // - this.tbp_Compra_Pagos.Location = new System.Drawing.Point(4, 22); - this.tbp_Compra_Pagos.Name = "tbp_Compra_Pagos"; - this.tbp_Compra_Pagos.Size = new System.Drawing.Size(695, 389); - this.tbp_Compra_Pagos.TabIndex = 5; - this.tbp_Compra_Pagos.Text = "Pagos"; - this.tbp_Compra_Pagos.UseVisualStyleBackColor = true; - // - // tbp_Compra_Devoluciones - // - this.tbp_Compra_Devoluciones.Location = new System.Drawing.Point(4, 22); - this.tbp_Compra_Devoluciones.Name = "tbp_Compra_Devoluciones"; - this.tbp_Compra_Devoluciones.Size = new System.Drawing.Size(695, 389); - this.tbp_Compra_Devoluciones.TabIndex = 6; - this.tbp_Compra_Devoluciones.Text = "Devoluciones"; - this.tbp_Compra_Devoluciones.UseVisualStyleBackColor = true; - // - // tbp_Compra_Remesa - // - this.tbp_Compra_Remesa.Location = new System.Drawing.Point(4, 22); - this.tbp_Compra_Remesa.Name = "tbp_Compra_Remesa"; - this.tbp_Compra_Remesa.Size = new System.Drawing.Size(695, 389); - this.tbp_Compra_Remesa.TabIndex = 7; - this.tbp_Compra_Remesa.Text = "Remesas"; - this.tbp_Compra_Remesa.UseVisualStyleBackColor = true; - // - // exferia_TabControl3 - // - this.exferia_TabControl3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.exferia_TabControl3.Controls.Add(this.tbp_Ventas_Presupuestos); - this.exferia_TabControl3.Controls.Add(this.tbp_Ventas_Pedidos); - this.exferia_TabControl3.Controls.Add(this.tbp_Ventas_Albaranes); - this.exferia_TabControl3.Controls.Add(this.tbp_Ventas_Facturas); - this.exferia_TabControl3.Controls.Add(this.tbp_Ventas_Vencimientos); - this.exferia_TabControl3.Controls.Add(this.tbp_Ventas_Cobros); - this.exferia_TabControl3.Controls.Add(this.tbp_Ventas_Devoluciones); - this.exferia_TabControl3.Controls.Add(this.tbp_Ventas_Remesas); - this.exferia_TabControl3.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; - this.exferia_TabControl3.Exferia_TabControl_Fondo_TabPage_Cambiado = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl3.Exferia_TabControl_Fondo_TabPage_Normal = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl3.Exferia_TabControl_Fondo_TabPage_Seleccionado = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl3.Exferia_TabControl_Letra_TabPage_Cambiado = System.Drawing.Color.Black; - this.exferia_TabControl3.Exferia_TabControl_Letra_TabPage_Normal = System.Drawing.Color.Black; - this.exferia_TabControl3.Exferia_TabControl_Letra_TabPage_Seleccionado = System.Drawing.Color.Black; - this.exferia_TabControl3.Location = new System.Drawing.Point(6, 6); - this.exferia_TabControl3.Name = "exferia_TabControl3"; - this.exferia_TabControl3.SelectedIndex = 0; - this.exferia_TabControl3.Size = new System.Drawing.Size(703, 415); - this.exferia_TabControl3.TabIndex = 1; - // - // tbp_Ventas_Presupuestos - // - this.tbp_Ventas_Presupuestos.Location = new System.Drawing.Point(4, 22); - this.tbp_Ventas_Presupuestos.Name = "tbp_Ventas_Presupuestos"; - this.tbp_Ventas_Presupuestos.Size = new System.Drawing.Size(695, 389); - this.tbp_Ventas_Presupuestos.TabIndex = 2; - this.tbp_Ventas_Presupuestos.Text = "Presupuestos"; - this.tbp_Ventas_Presupuestos.UseVisualStyleBackColor = true; - // - // tbp_Ventas_Pedidos - // - this.tbp_Ventas_Pedidos.Location = new System.Drawing.Point(4, 22); - this.tbp_Ventas_Pedidos.Name = "tbp_Ventas_Pedidos"; - this.tbp_Ventas_Pedidos.Padding = new System.Windows.Forms.Padding(3); - this.tbp_Ventas_Pedidos.Size = new System.Drawing.Size(695, 389); - this.tbp_Ventas_Pedidos.TabIndex = 0; - this.tbp_Ventas_Pedidos.Text = "Pedidos"; - this.tbp_Ventas_Pedidos.UseVisualStyleBackColor = true; - // - // tbp_Ventas_Albaranes - // - this.tbp_Ventas_Albaranes.Controls.Add(this.exferia_TabControl5); - this.tbp_Ventas_Albaranes.Location = new System.Drawing.Point(4, 22); - this.tbp_Ventas_Albaranes.Name = "tbp_Ventas_Albaranes"; - this.tbp_Ventas_Albaranes.Padding = new System.Windows.Forms.Padding(3); - this.tbp_Ventas_Albaranes.Size = new System.Drawing.Size(695, 389); - this.tbp_Ventas_Albaranes.TabIndex = 1; - this.tbp_Ventas_Albaranes.Text = "Albaranes"; - this.tbp_Ventas_Albaranes.UseVisualStyleBackColor = true; - // - // tbp_Ventas_Facturas - // - this.tbp_Ventas_Facturas.Controls.Add(this.exferia_TabControl6); - this.tbp_Ventas_Facturas.Location = new System.Drawing.Point(4, 22); - this.tbp_Ventas_Facturas.Name = "tbp_Ventas_Facturas"; - this.tbp_Ventas_Facturas.Size = new System.Drawing.Size(695, 389); - this.tbp_Ventas_Facturas.TabIndex = 3; - this.tbp_Ventas_Facturas.Text = "Facturas"; - this.tbp_Ventas_Facturas.UseVisualStyleBackColor = true; - // - // tbp_Ventas_Vencimientos - // - this.tbp_Ventas_Vencimientos.Location = new System.Drawing.Point(4, 22); - this.tbp_Ventas_Vencimientos.Name = "tbp_Ventas_Vencimientos"; - this.tbp_Ventas_Vencimientos.Size = new System.Drawing.Size(695, 389); - this.tbp_Ventas_Vencimientos.TabIndex = 4; - this.tbp_Ventas_Vencimientos.Text = "Vencimientos"; - this.tbp_Ventas_Vencimientos.UseVisualStyleBackColor = true; - // - // tbp_Ventas_Cobros - // - this.tbp_Ventas_Cobros.Location = new System.Drawing.Point(4, 22); - this.tbp_Ventas_Cobros.Name = "tbp_Ventas_Cobros"; - this.tbp_Ventas_Cobros.Size = new System.Drawing.Size(695, 389); - this.tbp_Ventas_Cobros.TabIndex = 5; - this.tbp_Ventas_Cobros.Text = "Cobros"; - this.tbp_Ventas_Cobros.UseVisualStyleBackColor = true; - // - // tbp_Ventas_Devoluciones - // - this.tbp_Ventas_Devoluciones.Location = new System.Drawing.Point(4, 22); - this.tbp_Ventas_Devoluciones.Name = "tbp_Ventas_Devoluciones"; - this.tbp_Ventas_Devoluciones.Size = new System.Drawing.Size(695, 389); - this.tbp_Ventas_Devoluciones.TabIndex = 6; - this.tbp_Ventas_Devoluciones.Text = "Devoluciones"; - this.tbp_Ventas_Devoluciones.UseVisualStyleBackColor = true; - // - // tbp_Ventas_Remesas - // - this.tbp_Ventas_Remesas.Location = new System.Drawing.Point(4, 22); - this.tbp_Ventas_Remesas.Name = "tbp_Ventas_Remesas"; - this.tbp_Ventas_Remesas.Size = new System.Drawing.Size(695, 389); - this.tbp_Ventas_Remesas.TabIndex = 7; - this.tbp_Ventas_Remesas.Text = "Remesas"; - this.tbp_Ventas_Remesas.UseVisualStyleBackColor = true; - // - // exferia_TabControl4 - // - this.exferia_TabControl4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.exferia_TabControl4.Controls.Add(this.tbp_Inventario_Inventario); - this.exferia_TabControl4.Controls.Add(this.tbp_Inventario_VariacionExistencias); - this.exferia_TabControl4.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; - this.exferia_TabControl4.Exferia_TabControl_Fondo_TabPage_Cambiado = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl4.Exferia_TabControl_Fondo_TabPage_Normal = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl4.Exferia_TabControl_Fondo_TabPage_Seleccionado = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl4.Exferia_TabControl_Letra_TabPage_Cambiado = System.Drawing.Color.Black; - this.exferia_TabControl4.Exferia_TabControl_Letra_TabPage_Normal = System.Drawing.Color.Black; - this.exferia_TabControl4.Exferia_TabControl_Letra_TabPage_Seleccionado = System.Drawing.Color.Black; - this.exferia_TabControl4.Location = new System.Drawing.Point(6, 6); - this.exferia_TabControl4.Name = "exferia_TabControl4"; - this.exferia_TabControl4.SelectedIndex = 0; - this.exferia_TabControl4.Size = new System.Drawing.Size(703, 415); - this.exferia_TabControl4.TabIndex = 2; - // - // tbp_Inventario_Inventario - // - this.tbp_Inventario_Inventario.Location = new System.Drawing.Point(4, 22); - this.tbp_Inventario_Inventario.Name = "tbp_Inventario_Inventario"; - this.tbp_Inventario_Inventario.Size = new System.Drawing.Size(695, 389); - this.tbp_Inventario_Inventario.TabIndex = 2; - this.tbp_Inventario_Inventario.Text = "Inventario"; - this.tbp_Inventario_Inventario.UseVisualStyleBackColor = true; - // - // tbp_Inventario_VariacionExistencias - // - this.tbp_Inventario_VariacionExistencias.Location = new System.Drawing.Point(4, 22); - this.tbp_Inventario_VariacionExistencias.Name = "tbp_Inventario_VariacionExistencias"; - this.tbp_Inventario_VariacionExistencias.Padding = new System.Windows.Forms.Padding(3); - this.tbp_Inventario_VariacionExistencias.Size = new System.Drawing.Size(695, 389); - this.tbp_Inventario_VariacionExistencias.TabIndex = 0; - this.tbp_Inventario_VariacionExistencias.Text = "Variación de existencias"; - this.tbp_Inventario_VariacionExistencias.UseVisualStyleBackColor = true; - // - // exferia_TabControl5 - // - this.exferia_TabControl5.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.exferia_TabControl5.Controls.Add(this.tbp_Ventas_Albaranes_TextoFinal); - this.exferia_TabControl5.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; - this.exferia_TabControl5.Exferia_TabControl_Fondo_TabPage_Cambiado = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl5.Exferia_TabControl_Fondo_TabPage_Normal = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl5.Exferia_TabControl_Fondo_TabPage_Seleccionado = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl5.Exferia_TabControl_Letra_TabPage_Cambiado = System.Drawing.Color.Black; - this.exferia_TabControl5.Exferia_TabControl_Letra_TabPage_Normal = System.Drawing.Color.Black; - this.exferia_TabControl5.Exferia_TabControl_Letra_TabPage_Seleccionado = System.Drawing.Color.Black; - this.exferia_TabControl5.Location = new System.Drawing.Point(6, 6); - this.exferia_TabControl5.Name = "exferia_TabControl5"; - this.exferia_TabControl5.SelectedIndex = 0; - this.exferia_TabControl5.Size = new System.Drawing.Size(683, 377); - this.exferia_TabControl5.TabIndex = 2; - // - // tbp_Ventas_Albaranes_TextoFinal - // - this.tbp_Ventas_Albaranes_TextoFinal.Controls.Add(this.ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal); - this.tbp_Ventas_Albaranes_TextoFinal.Location = new System.Drawing.Point(4, 22); - this.tbp_Ventas_Albaranes_TextoFinal.Name = "tbp_Ventas_Albaranes_TextoFinal"; - this.tbp_Ventas_Albaranes_TextoFinal.Size = new System.Drawing.Size(675, 351); - this.tbp_Ventas_Albaranes_TextoFinal.TabIndex = 2; - this.tbp_Ventas_Albaranes_TextoFinal.Text = "Texto final"; - this.tbp_Ventas_Albaranes_TextoFinal.UseVisualStyleBackColor = true; - // - // ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal - // - this.ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal.EditorBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal.EditorForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal.Exferia_TextboxHTML_CuerpoHTML = null; - this.ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal.Exferia_TextboxHTML_HTML = resources.GetString("ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal.Exferia_TextboxHTML_HTML"); - this.ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal.FontSize = Exferia_Controles.FontSize.Three; - this.ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal.Location = new System.Drawing.Point(6, 3); - this.ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal.Name = "ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal"; - this.ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal.Size = new System.Drawing.Size(666, 345); - this.ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal.TabIndex = 88; - // - // exferia_TabControl6 - // - this.exferia_TabControl6.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.exferia_TabControl6.Controls.Add(this.tbp_Ventas_Facturas_TextoFinal); - this.exferia_TabControl6.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; - this.exferia_TabControl6.Exferia_TabControl_Fondo_TabPage_Cambiado = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl6.Exferia_TabControl_Fondo_TabPage_Normal = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl6.Exferia_TabControl_Fondo_TabPage_Seleccionado = System.Drawing.Color.WhiteSmoke; - this.exferia_TabControl6.Exferia_TabControl_Letra_TabPage_Cambiado = System.Drawing.Color.Black; - this.exferia_TabControl6.Exferia_TabControl_Letra_TabPage_Normal = System.Drawing.Color.Black; - this.exferia_TabControl6.Exferia_TabControl_Letra_TabPage_Seleccionado = System.Drawing.Color.Black; - this.exferia_TabControl6.Location = new System.Drawing.Point(6, 6); - this.exferia_TabControl6.Name = "exferia_TabControl6"; - this.exferia_TabControl6.SelectedIndex = 0; - this.exferia_TabControl6.Size = new System.Drawing.Size(683, 377); - this.exferia_TabControl6.TabIndex = 3; - // - // tbp_Ventas_Facturas_TextoFinal - // - this.tbp_Ventas_Facturas_TextoFinal.Controls.Add(this.ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal); - this.tbp_Ventas_Facturas_TextoFinal.Location = new System.Drawing.Point(4, 22); - this.tbp_Ventas_Facturas_TextoFinal.Name = "tbp_Ventas_Facturas_TextoFinal"; - this.tbp_Ventas_Facturas_TextoFinal.Size = new System.Drawing.Size(675, 351); - this.tbp_Ventas_Facturas_TextoFinal.TabIndex = 2; - this.tbp_Ventas_Facturas_TextoFinal.Text = "Texto final"; - this.tbp_Ventas_Facturas_TextoFinal.UseVisualStyleBackColor = true; - // - // ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal - // - this.ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal.EditorBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal.EditorForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal.Exferia_TextboxHTML_CuerpoHTML = null; - this.ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal.Exferia_TextboxHTML_HTML = resources.GetString("ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal.Exferia_TextboxHTML_HTML"); - this.ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal.FontSize = Exferia_Controles.FontSize.Three; - this.ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal.Location = new System.Drawing.Point(6, 3); - this.ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal.Name = "ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal"; - this.ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal.Size = new System.Drawing.Size(666, 345); - this.ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal.TabIndex = 88; - // - // P_Configuracion_Informes + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_Bloqueable = true; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175))))); + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_MaxLength = 50; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_Multiline = false; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_NoBloquear = true; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_Obligatorio = true; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_PasswordChar = '\0'; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_ReadOnly = false; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_SelectionLength = 0; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_SelectionStart = 0; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_TabStop_Txt = true; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_Texto_Inicial = ""; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_Tipo_Decimal_Decimales = 2; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_Tipo_Decimal_Enteros = 9; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_UseSystemPasswordChar = false; + this.ex_txt_P_Firma_Electronica_Descripcion.Location = new System.Drawing.Point(129, 125); + this.ex_txt_P_Firma_Electronica_Descripcion.Name = "ex_txt_P_Firma_Electronica_Descripcion"; + this.ex_txt_P_Firma_Electronica_Descripcion.Padding = new System.Windows.Forms.Padding(2); + this.ex_txt_P_Firma_Electronica_Descripcion.Size = new System.Drawing.Size(596, 22); + this.ex_txt_P_Firma_Electronica_Descripcion.TabIndex = 74; + this.ex_txt_P_Firma_Electronica_Descripcion.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged); + // + // ex_lbl_P_Firma_Electronical_Descripcion + // + this.ex_lbl_P_Firma_Electronical_Descripcion.AutoSize = true; + this.ex_lbl_P_Firma_Electronical_Descripcion.Location = new System.Drawing.Point(25, 128); + this.ex_lbl_P_Firma_Electronical_Descripcion.Name = "ex_lbl_P_Firma_Electronical_Descripcion"; + this.ex_lbl_P_Firma_Electronical_Descripcion.Size = new System.Drawing.Size(63, 13); + this.ex_lbl_P_Firma_Electronical_Descripcion.TabIndex = 75; + this.ex_lbl_P_Firma_Electronical_Descripcion.Text = "Descripción"; + // + // ex_usc_Firma_Electronica_Fecha + // + this.ex_usc_Firma_Electronica_Fecha.BackColor = System.Drawing.Color.Transparent; + this.ex_usc_Firma_Electronica_Fecha.Exferia_FechaSeleccion_Bloqueable = true; + this.ex_usc_Firma_Electronica_Fecha.Exferia_FechaSeleccion_Descripcion = "Fecha"; + this.ex_usc_Firma_Electronica_Fecha.Exferia_FechaSeleccion_Fecha = " / /"; + this.ex_usc_Firma_Electronica_Fecha.Exferia_FechaSeleccion_Obligatorio = true; + this.ex_usc_Firma_Electronica_Fecha.Exferia_FechaSeleccion_ReadOnly = false; + this.ex_usc_Firma_Electronica_Fecha.Location = new System.Drawing.Point(28, 153); + this.ex_usc_Firma_Electronica_Fecha.Name = "ex_usc_Firma_Electronica_Fecha"; + this.ex_usc_Firma_Electronica_Fecha.Size = new System.Drawing.Size(212, 28); + this.ex_usc_Firma_Electronica_Fecha.TabIndex = 78; + // + // P_Firmas_Electronicas // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(797, 670); - this.Controls.Add(this.ex_P_Configuracion_Informes_Paginador); - this.Controls.Add(this.exferia_TabControl1); - this.Controls.Add(this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente); - this.Controls.Add(this.ex_usc_P_Configuracion_Informes_Ejercicio); - this.Controls.Add(this.ex_txt_P_Configuracion_Informes_Descripcion); - this.Controls.Add(this.ex_txt_P_Configuracion_Informes_Codigo); - this.Controls.Add(this.ex_lbl_P_Configuracion_Informes_Descripcion); - this.Controls.Add(this.ex_lbl_P_Configuracion_Informes_Codigo); - this.Controls.Add(this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo); - this.Controls.Add(this.ex_btn_P_Configuracion_Informes_Borrar); - this.Controls.Add(this.ex_btn_P_Configuracion_Informes_Grabar); - this.Name = "P_Configuracion_Informes"; - this.Text = "P_PermisosCodigo"; - this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.P_Configuracion_Informes_FormClosed); - this.Load += new System.EventHandler(this.P_Configuracion_Informes_Load); - this.Shown += new System.EventHandler(this.P_Configuracion_Informes_Shown); - this.Controls.SetChildIndex(this.ex_btn_P_Configuracion_Informes_Grabar, 0); - this.Controls.SetChildIndex(this.ex_btn_P_Configuracion_Informes_Borrar, 0); - this.Controls.SetChildIndex(this.ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo, 0); - this.Controls.SetChildIndex(this.ex_lbl_P_Configuracion_Informes_Codigo, 0); - this.Controls.SetChildIndex(this.ex_lbl_P_Configuracion_Informes_Descripcion, 0); - this.Controls.SetChildIndex(this.ex_txt_P_Configuracion_Informes_Codigo, 0); - this.Controls.SetChildIndex(this.ex_txt_P_Configuracion_Informes_Descripcion, 0); - this.Controls.SetChildIndex(this.ex_usc_P_Configuracion_Informes_Ejercicio, 0); - this.Controls.SetChildIndex(this.ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente, 0); - this.Controls.SetChildIndex(this.exferia_TabControl1, 0); - this.Controls.SetChildIndex(this.ex_P_Configuracion_Informes_Paginador, 0); - this.exferia_TabControl1.ResumeLayout(false); - this.tbp_Logo.ResumeLayout(false); - this.tbp_Logo.PerformLayout(); - this.tbp_Compras.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pcb_P_Configuracion_Informes_LogoSuperiorIzquierda)).EndInit(); - this.tbp_Ventas.ResumeLayout(false); - this.tbp_Inventario.ResumeLayout(false); - this.exferia_TabControl2.ResumeLayout(false); - this.exferia_TabControl3.ResumeLayout(false); - this.tbp_Ventas_Albaranes.ResumeLayout(false); - this.tbp_Ventas_Facturas.ResumeLayout(false); - this.exferia_TabControl4.ResumeLayout(false); - this.exferia_TabControl5.ResumeLayout(false); - this.tbp_Ventas_Albaranes_TextoFinal.ResumeLayout(false); - this.exferia_TabControl6.ResumeLayout(false); - this.tbp_Ventas_Facturas_TextoFinal.ResumeLayout(false); + this.Controls.Add(this.ex_usc_Firma_Electronica_Fecha); + this.Controls.Add(this.ex_lbl_P_Firma_Electronical_Descripcion); + this.Controls.Add(this.ex_txt_P_Firma_Electronica_Descripcion); + this.Controls.Add(this.ex_btn_P_Firma_Electronica_CodigoSiguiente); + this.Controls.Add(this.ex_Paginador_Firma_Electronica); + this.Controls.Add(this.ex_txt_P_Firma_Electronica_textPerm); + this.Controls.Add(this.ex_lbl_P_Firma_electronica_label_text_perm); + this.Controls.Add(this.ex_txt_P_Firma_Electronica_Codigo); + this.Controls.Add(this.ex_btn_P_Firma_Electronical_Borrar); + this.Controls.Add(this.ex_btn_P_Firma_Electronica_Grabar); + this.Controls.Add(this.ex_lbl_P_Firma_Electronica_Codigo); + this.Name = "P_Firmas_Electronicas"; + this.Load += new System.EventHandler(this.P_Firma_Electronica_Load); + this.Shown += new System.EventHandler(this.P_Firma_Electronica_Shown); + this.Controls.SetChildIndex(this.ex_lbl_P_Firma_Electronica_Codigo, 0); + this.Controls.SetChildIndex(this.ex_btn_P_Firma_Electronica_Grabar, 0); + this.Controls.SetChildIndex(this.ex_btn_P_Firma_Electronical_Borrar, 0); + this.Controls.SetChildIndex(this.ex_txt_P_Firma_Electronica_Codigo, 0); + this.Controls.SetChildIndex(this.ex_lbl_P_Firma_electronica_label_text_perm, 0); + this.Controls.SetChildIndex(this.ex_txt_P_Firma_Electronica_textPerm, 0); + this.Controls.SetChildIndex(this.ex_Paginador_Firma_Electronica, 0); + this.Controls.SetChildIndex(this.ex_btn_P_Firma_Electronica_CodigoSiguiente, 0); + this.Controls.SetChildIndex(this.ex_txt_P_Firma_Electronica_Descripcion, 0); + this.Controls.SetChildIndex(this.ex_lbl_P_Firma_Electronical_Descripcion, 0); + this.Controls.SetChildIndex(this.ex_usc_Firma_Electronica_Fecha, 0); this.ResumeLayout(false); this.PerformLayout(); @@ -831,52 +293,16 @@ #endregion - private Exferia_Controles.Exferia_Button ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo; - private Exferia_Controles.Exferia_Button ex_btn_P_Configuracion_Informes_Borrar; - private Exferia_Controles.Exferia_Button ex_btn_P_Configuracion_Informes_Grabar; - private Exferia_Controles.Exferia_Button ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente; - private Exferia_Controles.Exferia_F3_SoloSeleccion ex_usc_P_Configuracion_Informes_Ejercicio; - private Exferia_Controles.Exferia_TextBox ex_txt_P_Configuracion_Informes_Descripcion; - private Exferia_Controles.Exferia_TextBox ex_txt_P_Configuracion_Informes_Codigo; - private Exferia_Controles.Exferia_Label ex_lbl_P_Configuracion_Informes_Descripcion; - private Exferia_Controles.Exferia_Label ex_lbl_P_Configuracion_Informes_Codigo; - private Exferia_Controles.Exferia_TabControl exferia_TabControl1; - private System.Windows.Forms.TabPage tbp_Logo; - private Exferia_Controles.Exferia_Label_SinColor exferia_Label_SinColor1; - private System.Windows.Forms.PictureBox pcb_P_Configuracion_Informes_LogoSuperiorIzquierda; - private Exferia_Controles.Exferia_Button_ConBorde ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda; - private Exferia_Controles.Exferia_Button_ConBorde ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda; - private Exferia_Controles.Exferia_Button_ConBorde ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda; - private System.Windows.Forms.TabPage tbp_Compras; - private Exferia_Controles.Exferia_TabControl exferia_TabControl2; - private System.Windows.Forms.TabPage tbp_Compra_Pedidos; - private System.Windows.Forms.TabPage tbp_Compra_EntradasMercancia; - private System.Windows.Forms.TabPage tbp_Ventas; - private System.Windows.Forms.TabPage tbp_Inventario; - private Exferia_Controles.Exferia_Paginador ex_P_Configuracion_Informes_Paginador; - private System.Windows.Forms.TabPage tbp_Compra_SolicitudesOferta; - private System.Windows.Forms.TabPage tbp_Compra_Facturas; - private System.Windows.Forms.TabPage tbp_Compra_Vencimientos; - private System.Windows.Forms.TabPage tbp_Compra_Pagos; - private System.Windows.Forms.TabPage tbp_Compra_Devoluciones; - private System.Windows.Forms.TabPage tbp_Compra_Remesa; - private Exferia_Controles.Exferia_TabControl exferia_TabControl3; - private System.Windows.Forms.TabPage tbp_Ventas_Presupuestos; - private System.Windows.Forms.TabPage tbp_Ventas_Pedidos; - private System.Windows.Forms.TabPage tbp_Ventas_Albaranes; - private Exferia_Controles.Exferia_TabControl exferia_TabControl5; - private System.Windows.Forms.TabPage tbp_Ventas_Albaranes_TextoFinal; - private Exferia_Controles.Exferia_TextboxHTML ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal; - private System.Windows.Forms.TabPage tbp_Ventas_Facturas; - private Exferia_Controles.Exferia_TabControl exferia_TabControl6; - private System.Windows.Forms.TabPage tbp_Ventas_Facturas_TextoFinal; - private Exferia_Controles.Exferia_TextboxHTML ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal; - private System.Windows.Forms.TabPage tbp_Ventas_Vencimientos; - private System.Windows.Forms.TabPage tbp_Ventas_Cobros; - private System.Windows.Forms.TabPage tbp_Ventas_Devoluciones; - private System.Windows.Forms.TabPage tbp_Ventas_Remesas; - private Exferia_Controles.Exferia_TabControl exferia_TabControl4; - private System.Windows.Forms.TabPage tbp_Inventario_Inventario; - private System.Windows.Forms.TabPage tbp_Inventario_VariacionExistencias; + private Exferia_Controles.Exferia_Label ex_lbl_P_Firma_Electronica_Codigo; + private Exferia_Controles.Exferia_Button ex_btn_P_Firma_Electronical_Borrar; + private Exferia_Controles.Exferia_Button ex_btn_P_Firma_Electronica_Grabar; + private Exferia_Controles.Exferia_TextBox ex_txt_P_Firma_Electronica_Codigo; + private Exferia_Controles.Exferia_TextBox ex_txt_P_Firma_Electronica_textPerm; + private Exferia_Controles.Exferia_Label ex_lbl_P_Firma_electronica_label_text_perm; + private Exferia_Controles.Exferia_Paginador ex_Paginador_Firma_Electronica; + private Exferia_Controles.Exferia_Button ex_btn_P_Firma_Electronica_CodigoSiguiente; + private Exferia_Controles.Exferia_TextBox ex_txt_P_Firma_Electronica_Descripcion; + private Exferia_Controles.Exferia_Label ex_lbl_P_Firma_Electronical_Descripcion; + private Exferia_Controles.Exferia_FechaSeleccion ex_usc_Firma_Electronica_Fecha; } -} \ No newline at end of file +} diff --git a/Exferia_General/Exferia_General/3_Vistas/P_Firmas_Electronicas.cs b/Exferia_General/Exferia_General/3_Vistas/P_Firmas_Electronicas.cs index 7c5f6d8..2f2ebf8 100644 --- a/Exferia_General/Exferia_General/3_Vistas/P_Firmas_Electronicas.cs +++ b/Exferia_General/Exferia_General/3_Vistas/P_Firmas_Electronicas.cs @@ -6,11 +6,13 @@ using Exferia_Formularios; using Exferia_General._0_Modelos; using Exferia_General._3_Vistas.Controladoras; using Exferia_General._3_Vistas.ListadosSeleccion; +using Exferia_General.General; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; +using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; @@ -21,48 +23,38 @@ namespace Exferia_General._3_Vistas { public partial class P_Firmas_Electronicas : Exferia_Formularios.P_Base_Mantenimientos { - #region Variables Generales + #region Variables General private P_Firmas_Electronicas_Controladora g_obj_Controladora; private bool g_bol_ConstructorPantalla_Terminado_Correctamente = true; - public INTERNO_OpcionesDetalle_Modelo g_mdl_INTERNO_OpcionesDetalle_Modelo = null; + public PRV_OpcionesDetalle g_mdl_PRV_OpcionesDetalle = null; internal List g_lst_INTERNO_Permisos_Modelo = null; //Variables paginador...................................................................................... public Funciones_Paginador g_obj_Funciones_Paginador; private System.Windows.Forms.Timer g_timer_Paginar = new System.Windows.Forms.Timer(); - #endregion #region Objetos en Pantalla //Exferia_Label - internal Exferia_Label Exferia_Label_Codigo { get { return ex_lbl_P_Configuracion_Informes_Codigo; } } - internal Exferia_Label Exferia_Label_Descripcion { get { return ex_lbl_P_Configuracion_Informes_Descripcion; } } + internal Exferia_Label Exferia_Label_Codigo { get{ return ex_lbl_P_Firma_Electronica_Codigo; } } + internal Exferia_Label Exferia_Label_Descripcion { get{ return ex_lbl_P_Firma_Electronical_Descripcion; } } + internal Exferia_Label Exferia_Label_TextPerm { get{ return ex_lbl_P_Firma_electronica_label_text_perm; } } + //Exferia_TextBox - internal Exferia_TextBox Exferia_TextBox_Codigo { get { return ex_txt_P_Configuracion_Informes_Codigo; } } - internal Exferia_TextBox Exferia_TextBox_Descripcion { get { return ex_txt_P_Configuracion_Informes_Descripcion; } } - - //Exferia_TextboxHTML - internal Exferia_TextboxHTML Exferia_TextboxHTML_Albaran_TextoFinal { get { return ex_txtHTML_P_Configuracion_Informes_Albaran_TextoFinal; } } - internal Exferia_TextboxHTML Exferia_TextboxHTML_Factura_TextoFinal { get { return ex_txtHTML_P_Configuracion_Informes_Factura_TextoFinal; } } - - //PictureBox - internal PictureBox PictureBox_LogoSuperiorIzquierda { get { return pcb_P_Configuracion_Informes_LogoSuperiorIzquierda; } } - - //Exferia_F3_SoloSeleccion - internal Exferia_F3_SoloSeleccion Exferia_F3_Soloseleccion_Ejercicio { get { return ex_usc_P_Configuracion_Informes_Ejercicio; } } - + internal Exferia_TextBox Exferia_TextBox_Codigo { get{ return ex_txt_P_Firma_Electronica_Codigo; } } + internal Exferia_TextBox Exferia_TextBox_Descripcion { get{ return ex_txt_P_Firma_Electronica_Descripcion; } } + internal Exferia_FechaSeleccion Exferia_FechaSeleccion_Fecha { get { return ex_usc_Firma_Electronica_Fecha; } } + internal Exferia_TextBox Exferia_TextBox_TextPerm { get{ return ex_txt_P_Firma_Electronica_textPerm; } } + //Exferia_Paginador - internal Exferia_Paginador Exferia_Paginador_Configuracion_Informes { get { return ex_P_Configuracion_Informes_Paginador; } } - + internal Exferia_Paginador Exferia_Paginador_Firma_Electronica { get{ return ex_Paginador_Firma_Electronica; } } #endregion #region Constructor - public P_Firmas_Electronicas(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo, - DateTime _dtt_FechaTrabajo, - INTERNO_OpcionesDetalle_Modelo _mdl_INTERNO_OpcionesDetalle_Modelo) + public P_Firmas_Electronicas(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo, DateTime _dtt_FechaTrabajo, PRV_OpcionesDetalle _mdl_PRV_OpcionesDetalle) { InitializeComponent(); @@ -72,74 +64,57 @@ namespace Exferia_General._3_Vistas CheckForIllegalCrossThreadCalls = false; - //Empresa seleccionada y fecha de trabajo + //Empresa seleccionada y fecha de trabajo .......................................................................... P_Base_ValoresGenerales = _mdl_INTERNO_ValoresGenerales_Modelo; P_Base_FechaTrabajo = _dtt_FechaTrabajo; + //Datos de Opciones detalle + g_mdl_PRV_OpcionesDetalle = _mdl_PRV_OpcionesDetalle; + //Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Descripcion='Fecha' //Instanciar Controladora g_obj_Controladora = new P_Firmas_Electronicas_Controladora(this); - - //Datos de Opciones detalle - g_mdl_INTERNO_OpcionesDetalle_Modelo = _mdl_INTERNO_OpcionesDetalle_Modelo; - + g_obj_Controladora.IdEmpresaDef = P_Base_ValoresGenerales == null ? -1 : P_Base_ValoresGenerales.lng_idEmpresa; //Buscar los Permisos - g_lst_INTERNO_Permisos_Modelo = Datos_Generales.Permisos_Buscar(_mdl_INTERNO_OpcionesDetalle_Modelo.opcion); + g_lst_INTERNO_Permisos_Modelo = Datos_Generales.Permisos_Buscar(g_mdl_PRV_OpcionesDetalle.opcion); - //Poner los Botones que no se Spueden poner bloqueados o de solo lectura - ex_btn_P_Configuracion_Informes_Borrar.Exferia_Button_Bloqueable = false; - ex_btn_P_Configuracion_Informes_Grabar.Exferia_Button_Bloqueable = false; + //Poner los Botones que no se pueden poner bloqueados o de solo lectura ............................................ + ex_btn_P_Firma_Electronical_Borrar.Exferia_Button_Bloqueable = false; + ex_btn_P_Firma_Electronica_Grabar.Exferia_Button_Bloqueable = false; + + //.................................................................................................................. //Mirar si hay que bloquear los controles, si solo puede ver los datos - if ((P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(_mdl_INTERNO_OpcionesDetalle_Modelo.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, false)) == false) + if ((P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, false)) == false) { //Bloqueo los Controles SoloLectura.Empezar(this, true); } - //Titulo de la Pantalla ............................................................................. - P_Base_TituloPantalla = _mdl_INTERNO_OpcionesDetalle_Modelo.descripcion_TituloMantenimiento; + //Titulo de la Pantalla ............................................................................................ + P_Base_TituloPantalla = _mdl_PRV_OpcionesDetalle.descripcion_TituloMantenimiento; - //Tipo de campo Codigo, poner como numérico o texto ............... - if (Variables.G_LST_GEN_CONFIGURACION_CAMPOCODIGO != null) - { - //Si no existe es Text - if (Variables.G_LST_GEN_CONFIGURACION_CAMPOCODIGO.Where(m => m.nombreCampoCodigo.Equals(nameof(GEN_Configuracion_Informes.codigo)) && m.opcion.Equals(_mdl_INTERNO_OpcionesDetalle_Modelo.opcion)).FirstOrDefault() != null) - { - ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_Tipos = G_ENUM_TEXTBOX_TIPODATO.Digitos; - ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_Tipo_Decimal_Enteros = ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_MaxLength; - - g_obj_Controladora.g_bol_CampoCodigo_Numerico = true; - } - } - //................................................................................ - - // Label con Empresa Seleccionada - if (P_Base_ValoresGenerales != null) + + //Label con Empresa Seleccionada + if(P_Base_ValoresGenerales != null) { try { P_Base_Mantenimientos_InformacionEmpresaSeleccionada = P_Base_ValoresGenerales.str_Empresa_Descripcion + " - " + - "(" + P_Base_FechaTrabajo.ToString("dd/MM/yyyy") + ")"; + "(" + P_Base_FechaTrabajo.ToString("dd/MM/yyyy") + ")"; } catch (Exception ex) { //No se muestra mensaje pero se guarda en el log - Control_Errores.Errores_Log(ex.Message, ex, nameof(P_Configuracion_Informes) + "/" + nameof(P_Configuracion_Informes)); + Control_Errores.Errores_Log("", ex, nameof(P_ConfiguracionEmail) + "/" + nameof(P_ConfiguracionEmail)); } } - //.................................................................................................... + //.............................................................................................................. - //Bloquear pantalla hasta que termine la carga por defecto ..... + //Bloquear pantalla hasta que termine la carga por defecto ........ Enabled = false; - //............................................................. + //................................................................. g_obj_Funciones_Paginador = new Funciones_Paginador(); - - //Rellenar para los F3 ....................................... - - //EJERCICIO - ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_PRINCIPAL_Opcion_BuscarDatos = Variables.G_STR_OPCION_GEN_EJERCICIOACTIVO; - ex_usc_P_Configuracion_Informes_Ejercicio.Exferia_F3_SoloSeleccion_PantallaContenedora = this; } catch (Control_Errores) { @@ -150,7 +125,7 @@ namespace Exferia_General._3_Vistas g_bol_ConstructorPantalla_Terminado_Correctamente = false; //No se muestra mensaje pero se guarda en el log - Control_Errores.Errores_Log("", ex, nameof(P_Configuracion_Informes) + "/" + nameof(P_Configuracion_Informes)); + Control_Errores.Errores_Log("", ex, nameof(P_ConfiguracionEmail) + "/" + nameof(P_ConfiguracionEmail)); } finally { @@ -161,12 +136,12 @@ namespace Exferia_General._3_Vistas } #endregion - #region Inicio pantalla - private void P_Configuracion_Informes_Load(object sender, EventArgs e) + #region Inicio de pantalla + private void P_Firma_Electronica_Load(object sender, EventArgs e) { try { - #region TIMER PAGINACION + //Configurar el Timer para Paginacion ############################################################### g_timer_Paginar.Interval = 1000; g_timer_Paginar.Tick += delegate (object s, EventArgs ee) { @@ -180,36 +155,36 @@ namespace Exferia_General._3_Vistas Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA()); Salir_P_Base(); } - }; - #endregion } catch (Exception ex) { //No se muestra mensaje pero se guarda en el log - Control_Errores.Errores_Log("", ex, nameof(P_Configuracion_Informes) + "/" + nameof(P_Configuracion_Informes_Load)); + Control_Errores.Errores_Log("", ex, nameof(P_ConfiguracionEmail) + "/" + nameof(P_Firma_Electronica_Load)); g_bol_ConstructorPantalla_Terminado_Correctamente = false; } } - private void P_Configuracion_Informes_Shown(object sender, EventArgs e) + private void P_Firma_Electronica_Shown(object sender, EventArgs e) { try { - if (g_bol_ConstructorPantalla_Terminado_Correctamente) + if(g_bol_ConstructorPantalla_Terminado_Correctamente) { // Si el Tipo de Apertura de Pantalla es Añadir(g_int_tipoAperturaPantalla = 0), se desactivan los botones correspondientes // Añadir - if (this.P_Base_TipoAperturaPantalla == 0) + if(this.P_Base_TipoAperturaPantalla == 0) { P_Base_TituloPantalla = P_Base_TituloPantalla + " - Añadir"; ActivarBotones(false); + // g_obj_Controladora.CargarDatos(); - //Se cambia el valor de la variable para no salte el evento de se modifico algo + //Se cambia el valor de la variable para que no salte el evento de se modifico algo g_obj_Controladora.g_bol_Termino_CargaDatos_Inicial = false; - ex_txt_P_Configuracion_Informes_Codigo.Exferia_TextBox_Foco(); + //Poner Texto predeterminado y foco + ex_txt_P_Firma_Electronica_Codigo.Exferia_TextBox_Foco(); g_obj_Controladora.g_bol_Termino_CargaDatos_Inicial = true; } @@ -220,17 +195,17 @@ namespace Exferia_General._3_Vistas //Paginacion if (P_Base_PantallaOrigen != null && - P_Base_PantallaOrigen.P_Base_Objetos_Filtrados != null && - P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.Count > 0) + P_Base_PantallaOrigen.P_Base_Objetos_Filtrados != null && + P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.Count > 0) { g_obj_Funciones_Paginador.Listado_ARecorrer(P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.ToList(), 1); // Asignando las paginas totales - Exferia_Paginador_Configuracion_Informes.PaginasTotales = g_obj_Funciones_Paginador.Numero_Paginas_Totales; + Exferia_Paginador_Firma_Electronica.PaginasTotales = g_obj_Funciones_Paginador.Numero_Paginas_Totales; } else { - Exferia_Paginador_Configuracion_Informes.Visible = false; + Exferia_Paginador_Firma_Electronica.Visible = false; } g_obj_Controladora.RecargarDatos(); @@ -242,15 +217,15 @@ namespace Exferia_General._3_Vistas Salir_P_Base(); } } - catch (Control_Errores) + catch(Control_Errores) { Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA()); Salir_P_Base(); } - catch (Exception ex) + catch(Exception ex) { - //No se muestra mensaje pero se guarda en el log - Control_Errores.Errores_Log(ex.Message, ex, nameof(P_Configuracion_Informes) + "/" + nameof(P_Configuracion_Informes_Shown)); + //No se muestra mensaje para se guarda en el log + Control_Errores.Errores_Log("", ex, nameof(P_Firmas_Electronicas) + "/" + nameof(P_Firma_Electronica_Shown)); Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA()); Salir_P_Base(); @@ -258,111 +233,29 @@ namespace Exferia_General._3_Vistas } private void ActivarBotones(bool _bol_Activar) { - if (Exferia_Paginador_Configuracion_Informes.Visible) + if(Exferia_Paginador_Firma_Electronica.Visible) { - Exferia_Paginador_Configuracion_Informes.Visible = _bol_Activar; + Exferia_Paginador_Firma_Electronica.Visible = _bol_Activar; } - if (ex_btn_P_Configuracion_Informes_Borrar.Enabled) + if (ex_btn_P_Firma_Electronical_Borrar.Enabled) { - ex_btn_P_Configuracion_Informes_Borrar.Enabled = _bol_Activar; + ex_btn_P_Firma_Electronical_Borrar.Enabled = _bol_Activar; } } #endregion - #region Logo - private void ex_btn_P_Configuracion_Informes_BuscarImagen_LogoSuperiorIzquierda_Click(object sender, EventArgs e) + #region Botones Grabar,Borrar Email,SMTP,POP3 + private void ex_btn_P_Firma_Electronica_BuscarCodigoSiguiente_Click(object sender, EventArgs e) { - try - { - OpenFileDialog obj_OpenFileDialog = new OpenFileDialog(); - obj_OpenFileDialog.Filter = "Archivos de Imagen JPG|*.jpg|Archivos de Imagen PNG|*.png|Todos los tipos|*.*"; - obj_OpenFileDialog.FileName = ""; - obj_OpenFileDialog.Title = "Buscar Imagen de Empresa"; - obj_OpenFileDialog.InitialDirectory = "C:\\"; - - if (obj_OpenFileDialog.ShowDialog() == DialogResult.OK) - { - if (pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.Image != null) - { pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.Image.Dispose(); } - - g_obj_Controladora.g_img_Logo_SuperiorIzquierda_Real = Image.FromFile(obj_OpenFileDialog.FileName); ; - - pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.Image = g_obj_Controladora.g_img_Logo_SuperiorIzquierda_Real; - pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.Tag = obj_OpenFileDialog.FileName; - - Funciones.PictureBox_RedimencionarImagen(pcb_P_Configuracion_Informes_LogoSuperiorIzquierda, pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.Image); - } - } - catch (Exception ex) - { - Mensajes.MostrarMensaje(ex.Message); - } + BuscarCodigoSiguiente(); } - - private void ex_btn_P_Configuracion_Informes_CargarImagenAntigua_LogoSuperiorIzquierda_Click(object sender, EventArgs e) + private void BuscarCodigoSiguiente() { - try + INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo = g_obj_Controladora.Buscar_CodigoSiguiente(); + if (mdl_ValorDevuelto_Modelo.TodoCorrecto == false && mdl_ValorDevuelto_Modelo.Mensaje.Trim().Length > 0) { - - if (g_obj_Controladora.g_arr_Logo_SuperiorIzquierda_Inicial != null) - { - g_obj_Controladora.g_img_Logo_SuperiorIzquierda_Real = Funciones.Convertir_Arraybytes_Image(g_obj_Controladora.g_arr_Logo_SuperiorIzquierda_Inicial); - - pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.Image = g_obj_Controladora.g_img_Logo_SuperiorIzquierda_Real; - - Funciones.PictureBox_RedimencionarImagen(pcb_P_Configuracion_Informes_LogoSuperiorIzquierda, pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.Image); - } - - } - catch (Exception ex) - { - Mensajes.MostrarMensaje(ex.Message); - } - } - - private void ex_btn_P_Configuracion_Informes_BorrarImagen_LogoSuperiorIzquierda_Click(object sender, EventArgs e) - { - pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.Image = null; - pcb_P_Configuracion_Informes_LogoSuperiorIzquierda.Tag = ""; - g_obj_Controladora.g_img_Logo_SuperiorIzquierda_Real = null; - } - #endregion - - #region Boton Grabar,Borrar,BuscarCodigoSiguiente,CopiarDatosOtroAnyo - private void ex_btn_P_Configuracion_Informes_Grabar_Click(object sender, EventArgs e) - { - Grabar(); - } - private void Grabar() - { - if (//Añadir - (P_Base_TipoAperturaPantalla == 0 && Datos_Generales.Permisos_Comprobar(g_mdl_INTERNO_OpcionesDetalle_Modelo.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Anadir, true)) || - //Modificar - (P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(g_mdl_INTERNO_OpcionesDetalle_Modelo.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, true))) - { - g_obj_Controladora.GrabarDatos(true); - } - } - - private void ex_btn_P_Configuracion_Informes_Borrar_Click(object sender, EventArgs e) - { - Borrar(); - } - private void Borrar() - { - if (Datos_Generales.Permisos_Comprobar(g_mdl_INTERNO_OpcionesDetalle_Modelo.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Borrar, true)) - { - g_obj_Controladora.BorrarDatos(true); - } - } - - private void ex_btn_P_Configuracion_Informes_BuscarCodigoSiguiente_Click(object sender, EventArgs e) - { - INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = g_obj_Controladora.Buscar_CodigoSiguiente(); - if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto == false && mdl_INTERNO_ValorDevuelto_Modelo.Mensaje.Trim().Length > 0) - { - Mensajes.MostrarMensaje(mdl_INTERNO_ValorDevuelto_Modelo.Mensaje); + Mensajes.MostrarMensaje(mdl_ValorDevuelto_Modelo.Mensaje); } else { @@ -370,49 +263,60 @@ namespace Exferia_General._3_Vistas } } - private void ex_btn_P_Configuracion_Informes_CopiarDatosOtroAnyo_Click(object sender, EventArgs e) + private void ex_btn_P_ConfiguracionEmail_Grabar_Click(object sender, EventArgs e) { - Copiar_Datos_AnyoAnterior(); + Grabar(); } - private void Copiar_Datos_AnyoAnterior() + private void Grabar() { - try + if (//Añadir + (P_Base_TipoAperturaPantalla == 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Anadir, true)) || + //Modificar + (P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, true))) { - List lst_Listado = g_obj_Controladora.Listado_Configuraciones_Informes(); - - if (lst_Listado != null && lst_Listado.Count > 0) - { - //Obtener el Listado ......................... - ABS_ListadoSeleccion_GEN_Configuracion_Informes mdl_ABS_ListadoSeleccion_GEN_Configuracion_Informes = new ABS_ListadoSeleccion_GEN_Configuracion_Informes(); - - mdl_ABS_ListadoSeleccion_GEN_Configuracion_Informes.Registros = lst_Listado; - - //Llamar al formualario de ListadoSeleccion - PE_Listados_SoloSeleccion frm_PE_Listados_SoloSeleccion = new PE_Listados_SoloSeleccion(mdl_ABS_ListadoSeleccion_GEN_Configuracion_Informes, P_Base_ValoresGenerales, P_Base_FechaTrabajo); - frm_PE_Listados_SoloSeleccion.ShowDialog(); - - //Si se selecciono algo lo cargo en le combo correspondiente - if (frm_PE_Listados_SoloSeleccion.g_dnm_RegistroSeleccionado != null) - { - INTERNO_GEN_Configuracion_Informes_Listado_Modelo mdl_INTERNO_GEN_Configuracion_Informes_Listado_Modelo = frm_PE_Listados_SoloSeleccion.g_dnm_RegistroSeleccionado; - - g_obj_Controladora.Cargar_Datos_OtroAnyo(mdl_INTERNO_GEN_Configuracion_Informes_Listado_Modelo.id); - } - } + g_obj_Controladora.GrabarDatos(true); } - catch (Control_Errores) + } + + private void ex_btn_P_ConfiguracionEmail_EnviarEmailPrueba_Click(object sender, EventArgs e) + { + + } + + + private void ex_btn_P_ConfiguracionEmail_Borrar_Click(object sender, EventArgs e) + { + Borrar(); + } + private void Borrar() + { + if (Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Borrar, true)) { - Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GENERARDATOS()); + g_obj_Controladora.BorrarDatos(true); } - catch (Exception ex) + } + + #endregion + + #region Controlar si se modifico algo + private void Controlar_Modificaciones_TextBox_TextChanged(object sender, EventArgs e) + { + Controlar_Modificaciones(); + } + private void Controlar_Modificaciones_CheckBox_CheckedChanged(object sender, EventArgs e) + { + Controlar_Modificaciones(); + } + private void Controlar_Modificaciones() + { + if (Enabled && g_obj_Controladora != null && g_obj_Controladora.g_bol_Termino_CargaDatos_Inicial) { - Control_Errores.Errores_Log(ex.Message, ex, nameof(P_Configuracion_Informes) + "/" + nameof(Copiar_Datos_AnyoAnterior)); - Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GENERARDATOS()); + P_Base_SeModificoDatosPantalla = true; } } #endregion - #region Eventos del paginador + #region Eventos del Paginador protected void ctu_Paginacion_Primera_Click(object sender, EventArgs e) { if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada @@ -420,10 +324,11 @@ namespace Exferia_General._3_Vistas if (g_obj_Funciones_Paginador.Primera()) { // Asignando al control la pagina actual. - Exferia_Paginador_Configuracion_Informes.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual(); + Exferia_Paginador_Firma_Electronica.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual(); // Refrescamos el listado a mostrar en el form. P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID; + g_timer_Paginar.Stop(); g_timer_Paginar.Start(); } @@ -436,10 +341,11 @@ namespace Exferia_General._3_Vistas if (g_obj_Funciones_Paginador.Anterior()) { // Asignando al control la pagina actual. - Exferia_Paginador_Configuracion_Informes.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual(); + Exferia_Paginador_Firma_Electronica.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual(); // Refrescamos el listado a mostrar en el form. P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID; + g_timer_Paginar.Stop(); g_timer_Paginar.Start(); } @@ -452,10 +358,11 @@ namespace Exferia_General._3_Vistas if (g_obj_Funciones_Paginador.Siguiente()) { // Asignando al control la pagina actual. - Exferia_Paginador_Configuracion_Informes.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual(); + Exferia_Paginador_Firma_Electronica.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual(); // Refrescamos el listado a mostrar en el form. P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID; + g_timer_Paginar.Stop(); g_timer_Paginar.Start(); } @@ -469,10 +376,11 @@ namespace Exferia_General._3_Vistas if (g_obj_Funciones_Paginador.Ultima()) { // Asignando al control la pagina actual. - Exferia_Paginador_Configuracion_Informes.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual(); + Exferia_Paginador_Firma_Electronica.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual(); // Refrescamos el listado a mostrar en el form. P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID; + g_timer_Paginar.Stop(); g_timer_Paginar.Start(); } @@ -486,14 +394,16 @@ namespace Exferia_General._3_Vistas if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada { // Asignamos a la paginacion el valor del textbox - g_obj_Funciones_Paginador.SetPaginaActual(Exferia_Paginador_Configuracion_Informes.txt_ValorPaginaActual - 1); + g_obj_Funciones_Paginador.SetPaginaActual(Exferia_Paginador_Firma_Electronica.txt_ValorPaginaActual - 1); // Asignando al control la pagina actual. - Exferia_Paginador_Configuracion_Informes.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual(); + Exferia_Paginador_Firma_Electronica.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual(); // Refrescamos el listado a mostrar en el form. P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID; + g_timer_Paginar.Stop(); + g_obj_Controladora.RecargarDatos(); } } @@ -513,47 +423,23 @@ namespace Exferia_General._3_Vistas else if (keyData == Keys.F2) { Grabar(); - return true; } - // Borrar + //Borrar else if (keyData == Keys.F5) { Borrar(); - return true; } + //Enviar Email de Prueba + else if (keyData == Keys.F7) + { + // EnviarEmail(); + return true; + } + return base.ProcessCmdKey(ref msg, keyData); } #endregion - - #region Controlar si se modifico algo - private void Controlar_Modificaciones_TextBox_KeyPress(object sender, KeyPressEventArgs e) - { - Controlar_Modificaciones(); - } - private void Controlar_Modificaciones_CheckBox_CheckedChanged(object sender, EventArgs e) - { - Controlar_Modificaciones(); - } - private void Controlar_Modificaciones_Exferia_FechaSeleccion_TextChanged(object sender, EventArgs e) - { - Controlar_Modificaciones(); - } - private void Controlar_Modificaciones() - { - if (Enabled && g_obj_Controladora != null && g_obj_Controladora.g_bol_Termino_CargaDatos_Inicial) - { - P_Base_SeModificoDatosPantalla = true; - } - } - #endregion - - private void P_Configuracion_Informes_FormClosed(object sender, FormClosedEventArgs e) - { - - } - - } } diff --git a/Exferia_General/Exferia_General/3_Vistas/P_Firmas_Electronicas.resx b/Exferia_General/Exferia_General/3_Vistas/P_Firmas_Electronicas.resx index 24be5cc..1af7de1 100644 --- a/Exferia_General/Exferia_General/3_Vistas/P_Firmas_Electronicas.resx +++ b/Exferia_General/Exferia_General/3_Vistas/P_Firmas_Electronicas.resx @@ -117,20 +117,4 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<HTML><HEAD> -<META content="text/html; charset=unicode" http-equiv=Content-Type> -<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD> -<BODY></BODY></HTML> - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<HTML><HEAD> -<META content="text/html; charset=unicode" http-equiv=Content-Type> -<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD> -<BODY></BODY></HTML> - - \ No newline at end of file diff --git a/Exferia_General/Exferia_General/3_Vistas/p_prueba.Designer.cs b/Exferia_General/Exferia_General/3_Vistas/p_prueba.Designer.cs new file mode 100644 index 0000000..242f1dc --- /dev/null +++ b/Exferia_General/Exferia_General/3_Vistas/p_prueba.Designer.cs @@ -0,0 +1,46 @@ +namespace Exferia_General._3_Vistas +{ + partial class p_prueba + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.SuspendLayout(); + // + // p_prueba + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(939, 498); + this.Name = "p_prueba"; + this.Text = "p_prueba"; + this.ResumeLayout(false); + + } + + #endregion + } +} \ No newline at end of file diff --git a/Exferia_General/Exferia_General/3_Vistas/p_prueba.cs b/Exferia_General/Exferia_General/3_Vistas/p_prueba.cs new file mode 100644 index 0000000..917b39a --- /dev/null +++ b/Exferia_General/Exferia_General/3_Vistas/p_prueba.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Exferia_General._3_Vistas +{ + public partial class p_prueba : Form + { + public p_prueba() + { + InitializeComponent(); + } + } +} diff --git a/Exferia_General/Exferia_General/3_Vistas/p_prueba.resx b/Exferia_General/Exferia_General/3_Vistas/p_prueba.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Exferia_General/Exferia_General/3_Vistas/p_prueba.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Exferia_General/Exferia_General/Exferia_General.csproj b/Exferia_General/Exferia_General/Exferia_General.csproj index 9783d4b..1d3d16c 100644 --- a/Exferia_General/Exferia_General/Exferia_General.csproj +++ b/Exferia_General/Exferia_General/Exferia_General.csproj @@ -646,7 +646,6 @@ P_Firmas_Electronicas.cs - Designer P_ERP_TasaCombustible.cs diff --git a/Exferia_General/Exferia_General/Opciones.cs b/Exferia_General/Exferia_General/Opciones.cs index 63f0712..efb0505 100644 --- a/Exferia_General/Exferia_General/Opciones.cs +++ b/Exferia_General/Exferia_General/Opciones.cs @@ -477,11 +477,11 @@ namespace Exferia_General } //Firmas electronicas //todo firmas-electronicas - /*else if (_str_Opcion.Equals(Variables.G_STR_OPCION_GEN_FIRMAS_ELECTRONICAS)) + else if (_str_Opcion.Equals(Variables.G_STR_OPCION_GEN_FIRMAS_ELECTRONICAS)) { GEN_Firmas_Electronicas_Datos obj_GEN_Firmas_Electronicas_Datos = new GEN_Firmas_Electronicas_Datos(); - dnm_Valor = obj_GEN_Firmas_Electronicas_Datos.Obtener_RegistroListado(_lng_idEmpresaSeleccionada, _lng_idEjercicioActual, _lst_CamposConRelacionABuscar, _lst_INTERNO_Filtro_OpcionPadre_Modelo, _lst_INTERNO_Filtro_Modelo); - }*/ + dnm_Valor = obj_GEN_Firmas_Electronicas_Datos.Obtener_RegistroListado(_lng_idEmpresaSeleccionada, _lng_idEjercicioActual, _lst_CamposConRelacionABuscar, _lst_INTERNO_Filtro_OpcionPadre_Modelo, _lst_INTERNO_Filtro_Modelo, _lng_id); + } //CONFIGURACIONEMAIL else if (_str_Opcion.Equals(Variables.G_STR_OPCION_GEN_CONFIGURACIONEMAIL)) { @@ -1151,8 +1151,7 @@ namespace Exferia_General //firmas electronicas else if (_str_Opcion.Equals(Variables.G_STR_OPCION_GEN_FIRMAS_ELECTRONICAS)) { - //todo firmas-electronicas - + P_Firmas_Electronicas frm_P_Firmas_Electronicas = new P_Firmas_Electronicas(_mdl_INTERNO_ValoresGenerales_Modelo, _dtt_FechaPorDefecto, _mdl_INTERNO_OpcionesDetalle_Modelo); frm_P_Firmas_Electronicas.P_Base_Campo_1 = _str_Campo1_Valor; frm_P_Firmas_Electronicas.P_Base_Campo_2 = _str_Campo2_Valor;