private void txtViejo_Enter(object sender, EventArgs e) { funciones.PlaceHolder(txtViejo, lblViejo, PlaceHolderType.Enter, "Viejo Password", true); }
private void txtIdentificacion_Enter(object sender, EventArgs e) { funciones.PlaceHolder(txtIdentificacion, lblIdentificacion, PlaceHolderType.Enter, "Identificación"); }
private void Clear() { txtNombre.Text = string.Empty; funciones.PlaceHolder(txtNombre, PlaceHolderType.Leave, "Nombre"); empleadoId = 0; txtPassword.Text = string.Empty; funciones.PlaceHolder(txtPassword, PlaceHolderType.Leave, "Password"); txtCorreo.Text = string.Empty; funciones.PlaceHolder(txtCorreo, PlaceHolderType.Leave, "Correo"); cbPerfil.Text = string.Empty; txtPIN.Text = string.Empty; funciones.PlaceHolder(txtNombre, PlaceHolderType.Leave, "PIN"); txtTelefono.Text = string.Empty; funciones.PlaceHolder(txtTelefono, PlaceHolderType.Leave, "Teléfono"); txtUsuario.Text = string.Empty; funciones.PlaceHolder(txtUsuario, PlaceHolderType.Leave, "Usuario"); txtNombre.Focus(); chbActivo.Checked = true; cbPerfil.Text = "Empleado"; }
public void DeleteTextbox() { txtNombre.Text = string.Empty; funciones.PlaceHolder(txtNombre, lblNombre, PlaceHolderType.Leave, "Nombre"); txtValor.Text = string.Empty; funciones.PlaceHolder(txtValor, lblValor, PlaceHolderType.Leave, "Porcentaje"); txtMayor.Text = string.Empty; funciones.PlaceHolder(txtMayor, lblMayor, PlaceHolderType.Leave, "Mayor que"); txtMenor.Text = string.Empty; funciones.PlaceHolder(txtMenor, lblMenor, PlaceHolderType.Leave, "Menor que"); txtIgual.Text = string.Empty; funciones.PlaceHolder(txtIgual, lblIgual, PlaceHolderType.Leave, "Igual que"); txtBodega.Text = string.Empty; funciones.PlaceHolder(txtBodega, lblBodega, PlaceHolderType.Leave, "Bodega"); interesId = 0; }