/// <summary> /// Evento para permitir apenas inteiros na caixa de texto /// </summary> private void txtQtde_TextChanged(object sender, EventArgs e) { txtQtde.Text = CustomStrings.DeixaSomenteNumeros(txtQtde.Text); }
private void txtTempoEntrega_TextChanged(object sender, EventArgs e) { txtTempoEntrega.Text = CustomStrings.DeixaSomenteNumeros(txtTempoEntrega.Text); }
private void txtEstoqueMinimo_TextChanged(object sender, EventArgs e) { txtEstoqueMinimo.Text = CustomStrings.DeixaSomenteNumeros(txtEstoqueMinimo.Text); }
private void txtValorInicial_TextChanged(object sender, EventArgs e) { txtValorInicial.Text = CustomStrings.DeixaSomenteNumeros(txtValorInicial.Text); }