private void txtCli_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)13) { FrmConsultarVarios f = new FrmConsultarVarios(); f.Formulario = 2; f.Vista = "Cliente"; f.Factura_ReCli = this; f.ShowDialog(); btnAce.Focus(); } }
private void txtNumPag_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)13) { FrmConsultarVarios f = new FrmConsultarVarios(); f.Formulario = 5; f.Vista = "Modo pago"; f.LisModoPago_Rec = this; f.ShowDialog(); txtCli.Focus(); } }
private void txtDesCat_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)13) { FrmConsultarVarios f = new FrmConsultarVarios(); f.Formulario = 1; f.Vista = "Categoria"; f.producto_Categoria_Rec = this; f.ShowDialog(); txtCli.Focus(); } }
private void txtCli_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)13) { FrmConsultarVarios f = new FrmConsultarVarios(); f.Formulario = 4; f.Vista = "Cliente producto"; f.ClienteProducto_Rec = this; f.ShowDialog(); txtCli.Focus(); } }
private void txtCli_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)13) { FrmConsultarVarios f = new FrmConsultarVarios(); f.Formulario = 3; f.Vista = "Listado Cliente"; f.ListadoCliente_Rec = this; f.ShowDialog(); btnFac.Focus(); } }