Пример #1
0
 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();
     }
 }
Пример #2
0
 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();
     }
 }
Пример #3
0
 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();
     }
 }
Пример #4
0
 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();
     }
 }
Пример #5
0
        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();
            }
        }