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; } }
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; }
private void _Rbt_Resetear_CheckedChanged(object sender, EventArgs e) { _Enum_Accion = EnumAccion.R; _Mtd_CargarTipoReseteo(); }
private void _Rbt_Inhabilitar_CheckedChanged(object sender, EventArgs e) { _Enum_Accion = EnumAccion.I; _Txt_Email.Enabled = true; _Txt_Email.ReadOnly = true; }