private void txtImporte_KeyPress(object sender, KeyPressEventArgs e) { if (Char.IsDigit(e.KeyChar)) { e.Handled = false; } else if (Char.IsSeparator(e.KeyChar)) { e.Handled = false; } else if (e.KeyChar == 46) { e.Handled = false; } else if (e.KeyChar == Convert.ToChar(Keys.Enter)) { BtnGrabar.Focus(); } else if (Char.IsControl(e.KeyChar)) { e.Handled = false; } else { e.Handled = true; } }
private void chkActivo_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { BtnGrabar.Focus(); } }
public TalonariosBancos() { InitializeComponent(); SiaWin = System.Windows.Application.Current.MainWindow; idemp = SiaWin._BusinessId; LoadConfig(); controls(true); BtnGrabar.Focus(); }
private void BtAdicionar_Click(object sender, EventArgs e) { this.MP_CopiarImagenRutaDefinida(); BtnGrabar.Focus(); }
private void ChkActivo_Click(object sender, EventArgs e) { BtnGrabar.Focus(); }