Example #1
0
        private void TxtCod_precio_DoubleClick(object sender, EventArgs e)
        {
            FPrecioLista Listado = new FPrecioLista
            {
                TxtFlag = "ArtPrecio"
            };

            Dt = EPrecio.Mostrar();
            if (Dt.Rows.Count == 0)
            {
                MensajeError("No Existen Registros Disponibles!");
            }
            else if (Dt.Rows.Count != 0)
            {
                Listado.ShowDialog();
            }
        }
Example #2
0
 private void TxtCod_precio_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.F12)
     {
         FPrecioLista Listado = new FPrecioLista
         {
             TxtFlag = "ArtPrecio"
         };
         Dt = EPrecio.Mostrar();
         if (Dt.Rows.Count == 0)
         {
             MensajeError("No Existen Registros Disponibles!");
         }
         else if (Dt.Rows.Count != 0)
         {
             Listado.ShowDialog();
         }
     }
 }