示例#1
0
 private void _Rbt_Habilitar_CheckedChanged(object sender, EventArgs e)
 {
     _Enum_Accion = EnumAccion.H;
     if (_Rbt_Habilitar.Checked)
     {
         _Txt_Email.Enabled = true; _Lbl_ClaveTemporal.Visible = true; _Txt_ClaveTemporal.Visible = true;
     }
     else
     {
         _Txt_Email.Enabled = true;
     }
 }
示例#2
0
 public _Ctrl_Activar(string _P_Str_Usuario, string _P_Str_Nombre, string _P_Str_Email, string _P_Str_Cargo, string _P_Str_ClaveTemporal, EnumEstatus _P_Enum_Estatus, EnumAccion _P_Enum_Accion, EnumTipoReseteo _P_Enum_TipoReseteo)
 {
     InitializeComponent();
     _Mtd_CargarTipoReseteo();
     Usuario       = _P_Str_Usuario;
     Nombre        = _P_Str_Nombre;
     Cargo         = _P_Str_Cargo;
     Estatus       = _P_Enum_Estatus;
     Accion        = _P_Enum_Accion;
     TipoReseteo   = _P_Enum_TipoReseteo;
     Email         = _P_Str_Email;
     ClaveTemporal = _P_Str_ClaveTemporal;
 }
示例#3
0
 private void _Rbt_Resetear_CheckedChanged(object sender, EventArgs e)
 {
     _Enum_Accion = EnumAccion.R;
     _Mtd_CargarTipoReseteo();
 }
示例#4
0
 private void _Rbt_Inhabilitar_CheckedChanged(object sender, EventArgs e)
 {
     _Enum_Accion        = EnumAccion.I;
     _Txt_Email.Enabled  = true;
     _Txt_Email.ReadOnly = true;
 }