(firmas-e)Firmas electronicas
creaccion opcion en menu para ver firmas digitalesfactura-e/firmas-e
parent
930725abc4
commit
96d90cf3f0
|
|
@ -1524,6 +1524,7 @@ namespace Exferia_Aplicacion.General
|
||||||
public static string G_STR_OPCION_GEN_CAMBIARCLIENTE = "GEN_CAMBIARCLIENTE";
|
public static string G_STR_OPCION_GEN_CAMBIARCLIENTE = "GEN_CAMBIARCLIENTE";
|
||||||
public static string G_STR_OPCION_GEN_CONEXION = "GEN_CONEXION";
|
public static string G_STR_OPCION_GEN_CONEXION = "GEN_CONEXION";
|
||||||
public static string G_STR_OPCION_GEN_CONFIGURACION_INFORMES = "GEN_CONFIGURACION_INFORMES";
|
public static string G_STR_OPCION_GEN_CONFIGURACION_INFORMES = "GEN_CONFIGURACION_INFORMES";
|
||||||
|
public static string G_STR_OPCION_GEN_CONFIGURACION_FIRMAS_DIGITALES = "GEN_CONFIGURACION_FIRMAS_DIGITALES";
|
||||||
public static string G_STR_OPCION_GEN_CONFIGURACIONEMAIL = "GEN_CONFIGURACIONEMAIL";
|
public static string G_STR_OPCION_GEN_CONFIGURACIONEMAIL = "GEN_CONFIGURACIONEMAIL";
|
||||||
public static string G_STR_OPCION_GEN_CONFIGURACION_SW_SIGMA = "GEN_CONFIGURACION_SW_SIGMA";
|
public static string G_STR_OPCION_GEN_CONFIGURACION_SW_SIGMA = "GEN_CONFIGURACION_SW_SIGMA";
|
||||||
public static string G_STR_OPCION_GEN_CONFIGURACIONESQUEMA_MENU = "GEN_CONFIGURACIONESQUEMA_MENU";
|
public static string G_STR_OPCION_GEN_CONFIGURACIONESQUEMA_MENU = "GEN_CONFIGURACIONESQUEMA_MENU";
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,8 @@
|
||||||
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionInformes = new Exferia_Controles.Exferia_Button();
|
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionInformes = new Exferia_Controles.Exferia_Button();
|
||||||
this.exferia_Label5 = new Exferia_Controles.Exferia_Label();
|
this.exferia_Label5 = new Exferia_Controles.Exferia_Label();
|
||||||
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma = new Exferia_Controles.Exferia_Button();
|
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma = new Exferia_Controles.Exferia_Button();
|
||||||
|
this.exferia_Button1 = new Exferia_Controles.Exferia_Button();
|
||||||
|
this.exferia_Label6 = new Exferia_Controles.Exferia_Label();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// ex_btn_P_ConfiguracioGeneral_ConfiguracionCampoCodigo
|
// ex_btn_P_ConfiguracioGeneral_ConfiguracionCampoCodigo
|
||||||
|
|
@ -190,10 +192,42 @@
|
||||||
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma.UseVisualStyleBackColor = false;
|
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma.UseVisualStyleBackColor = false;
|
||||||
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma.Click += new System.EventHandler(this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma_Click);
|
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma.Click += new System.EventHandler(this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma_Click);
|
||||||
//
|
//
|
||||||
|
// firmas digitales
|
||||||
|
//
|
||||||
|
this.exferia_Button1.BackColor = System.Drawing.Color.Maroon;
|
||||||
|
this.exferia_Button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||||
|
this.exferia_Button1.Exferia_Button_Bloqueable = true;
|
||||||
|
this.exferia_Button1.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_IMPRIMIR_VERTICAL;
|
||||||
|
this.exferia_Button1.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
|
||||||
|
this.exferia_Button1.Exferia_Button_ReadOnly = false;
|
||||||
|
this.exferia_Button1.Exferia_Button_TabStop = false;
|
||||||
|
this.exferia_Button1.Exferia_Button_ToolTip = "Configuración de informes";
|
||||||
|
this.exferia_Button1.FlatAppearance.BorderSize = 0;
|
||||||
|
this.exferia_Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
|
this.exferia_Button1.Location = new System.Drawing.Point(12, 285);
|
||||||
|
this.exferia_Button1.Name = "exferia_Button1";
|
||||||
|
this.exferia_Button1.Size = new System.Drawing.Size(31, 36);
|
||||||
|
this.exferia_Button1.TabIndex = 55;
|
||||||
|
this.exferia_Button1.TabStop = false;
|
||||||
|
this.exferia_Button1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||||
|
this.exferia_Button1.UseVisualStyleBackColor = false;
|
||||||
|
this.exferia_Button1.Click += new System.EventHandler(this.firmasDigitales_Click);
|
||||||
|
//
|
||||||
|
// firmas digitales
|
||||||
|
//
|
||||||
|
this.exferia_Label6.AutoSize = true;
|
||||||
|
this.exferia_Label6.Location = new System.Drawing.Point(48, 308);
|
||||||
|
this.exferia_Label6.Name = "exferia_Label6";
|
||||||
|
this.exferia_Label6.Size = new System.Drawing.Size(78, 13);
|
||||||
|
this.exferia_Label6.TabIndex = 56;
|
||||||
|
this.exferia_Label6.Text = "Firmas digitales";
|
||||||
|
//
|
||||||
// P_ConfiguracionGeneral
|
// P_ConfiguracionGeneral
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.ClientSize = new System.Drawing.Size(797, 670);
|
this.ClientSize = new System.Drawing.Size(797, 670);
|
||||||
|
this.Controls.Add(this.exferia_Label6);
|
||||||
|
this.Controls.Add(this.exferia_Button1);
|
||||||
this.Controls.Add(this.exferia_Label5);
|
this.Controls.Add(this.exferia_Label5);
|
||||||
this.Controls.Add(this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma);
|
this.Controls.Add(this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma);
|
||||||
this.Controls.Add(this.exferia_Label4);
|
this.Controls.Add(this.exferia_Label4);
|
||||||
|
|
@ -215,6 +249,8 @@
|
||||||
this.Controls.SetChildIndex(this.exferia_Label4, 0);
|
this.Controls.SetChildIndex(this.exferia_Label4, 0);
|
||||||
this.Controls.SetChildIndex(this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma, 0);
|
this.Controls.SetChildIndex(this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma, 0);
|
||||||
this.Controls.SetChildIndex(this.exferia_Label5, 0);
|
this.Controls.SetChildIndex(this.exferia_Label5, 0);
|
||||||
|
this.Controls.SetChildIndex(this.exferia_Button1, 0);
|
||||||
|
this.Controls.SetChildIndex(this.exferia_Label6, 0);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
|
|
@ -232,5 +268,7 @@
|
||||||
private Exferia_Controles.Exferia_Button ex_btn_P_ConfiguracioGeneral_ConfiguracionInformes;
|
private Exferia_Controles.Exferia_Button ex_btn_P_ConfiguracioGeneral_ConfiguracionInformes;
|
||||||
private Exferia_Controles.Exferia_Label exferia_Label5;
|
private Exferia_Controles.Exferia_Label exferia_Label5;
|
||||||
private Exferia_Controles.Exferia_Button ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma;
|
private Exferia_Controles.Exferia_Button ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma;
|
||||||
|
private Exferia_Controles.Exferia_Button exferia_Button1;
|
||||||
|
private Exferia_Controles.Exferia_Label exferia_Label6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -246,8 +246,41 @@ namespace Exferia_General._3_Vistas
|
||||||
Control_Errores.Errores_Log("", ex, nameof(P_ConfiguracionGeneral) + "/" + nameof(ConfiguracionDireccionesSWSigma));
|
Control_Errores.Errores_Log("", ex, nameof(P_ConfiguracionGeneral) + "/" + nameof(ConfiguracionDireccionesSWSigma));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
private void firmasDigitales_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ConfiguracionFirmasDigitales();
|
||||||
|
}
|
||||||
|
private void ConfiguracionFirmasDigitales()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
INTERNO_OpcionesDetalle_Modelo mdl_INTERNO_OpcionesDetalle_Modelo = Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_GEN_CONFIGURACION_FIRMAS_DIGITALES);
|
||||||
|
if (mdl_INTERNO_OpcionesDetalle_Modelo != null)
|
||||||
|
{
|
||||||
|
|
||||||
|
//Cargamos el ensamblado
|
||||||
|
Assembly m_assembly = Assembly.LoadFrom(Variables.G_STR_LIBRERIA_RUTAINICIAL + @"\" + Variables.G_STR_LIBRERIA_GENERAL + ".dll");
|
||||||
|
//Obtenemos el tipo de la clase
|
||||||
|
Type m_type = m_assembly.GetType(Variables.G_STR_LIBRERIA_GENERAL + "." + Variables.G_STR_LIBRERIA_OPCIONES);
|
||||||
|
//creamos la instancia
|
||||||
|
var obj_Clase = Activator.CreateInstance(m_type);
|
||||||
|
//Cargamos el metodo solicitado
|
||||||
|
MethodInfo obj_MethodInfo = obj_Clase.GetType().GetMethod(Variables.G_STR_LIBRERIA_OPCIONES_PROCEDIMIENTO_CARGAR_LISTADO, BindingFlags.Instance | BindingFlags.NonPublic);
|
||||||
|
|
||||||
|
//Obtener valores
|
||||||
|
object[] arr_Parametros = { mdl_INTERNO_OpcionesDetalle_Modelo.opcion, false, 0, null, Variables.G_MDL_INTERNO_VALORESGENERALES_MODELO, Variables.G_DTT_FECHA_INICIAL_PORDEFECTO, "", "", false, false, null, null, null, null, null, null };
|
||||||
|
//Pasamos los parametros al metodo y lo ejecutamos
|
||||||
|
obj_MethodInfo.Invoke(obj_Clase, arr_Parametros);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Control_Errores.Errores_Log("", ex, nameof(P_ConfiguracionGeneral) + "/" + nameof(ConfiguracionFirmasDigitales));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue