private void FCuerTxtNombre_KeyPress(object sender, KeyPressEventArgs e) { if (_Validaciones.EnterEsPresionado(e)) { this.GetNextControl(ActiveControl, true).Focus(); e.Handled = true; } }
private void FPorcentajeTxtbox_KeyPress(object sender, KeyPressEventArgs e) { _Validaciones.SoloNumerosYResta(e); if (_Validaciones.EnterEsPresionado(e)) { GetNextControl(ActiveControl, true).Focus(); e.Handled = true; } }
//////////////////////////////// ///// EVENTOS DE TEXTBOX ///// private void TxtAncho_KeyPress(object sender, KeyPressEventArgs e) { _Validaciones.SoloNumerosYComa(e); if (_Validaciones.EnterEsPresionado(e)) { this.GetNextControl(ActiveControl, true).Focus(); e.Handled = true; } }