39 lines
1015 B
C#
39 lines
1015 B
C#
using Exferia_Aplicacion.Visualizacion;
|
|
using System;
|
|
|
|
namespace Exferia_KairosPRO._4_Vistas
|
|
{
|
|
public partial class PE_ClaveTemporal : Exferia_Formularios.P_Base
|
|
{
|
|
#region Variables Generales
|
|
public int? g_int_Tiempo_ClaveTemporal = null;
|
|
#endregion
|
|
|
|
#region Constructor
|
|
public PE_ClaveTemporal()
|
|
{
|
|
InitializeComponent();
|
|
|
|
Repintar.Empezar(this);
|
|
}
|
|
#endregion
|
|
|
|
#region Botones Aceptar
|
|
private void ex_btn_PE_ClaveTermporal_Aceptar_Click(object sender, EventArgs e)
|
|
{
|
|
if (ex_txt_PE_ClaveTermporal_CaducidadClave.Text.Trim().Length == 0 || ex_txt_PE_ClaveTermporal_CaducidadClave.Text == "0")
|
|
{
|
|
g_int_Tiempo_ClaveTemporal = -1;
|
|
}
|
|
else
|
|
{
|
|
g_int_Tiempo_ClaveTemporal = int.Parse(ex_txt_PE_ClaveTermporal_CaducidadClave.Text);
|
|
}
|
|
|
|
this.Close();
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
}
|