示例#1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (bdd_ventas.SelectedRows != null)
     {
         VentaProductos vp = new VentaProductos((Venta)bdd_ventas.CurrentRow.DataBoundItem);
         vp.ShowDialog();
     }
 }
示例#2
0
 private void btn_ver_Click(object sender, EventArgs e)
 {
     if (bdd_ventas.SelectedRows != null)
     {
         VentaProductos vp = new VentaProductos((Venta)bdd_ventas.CurrentRow.DataBoundItem);
         vp.ShowDialog();
     }
     Principal.cerrar_venta_no_impresa = false;
     this.Close();
 }
示例#3
0
 private void bdd_ventas_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (lista.Count > 0)
     {
         if (((Venta)bdd_ventas.CurrentRow.DataBoundItem).Id_venta != 0)
         {
             VentaProductos vp = new VentaProductos((Venta)bdd_ventas.CurrentRow.DataBoundItem);
             vp.ShowDialog();
         }
     }
     Principal.cerrar_venta_no_impresa = false;
     this.Close();
 }
示例#4
0
        private void bdd_ventas_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            VentaProductos vp = new VentaProductos((Venta)bdd_ventas.CurrentRow.DataBoundItem);

            vp.ShowDialog();
        }
 private void button2_Click(object sender, EventArgs e)
 {
     if (bdd_ventas.SelectedRows != null)
     {
         VentaProductos vp = new VentaProductos((Venta)bdd_ventas.CurrentRow.DataBoundItem);
         vp.ShowDialog();
     }
 }
 private void bdd_ventas_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     VentaProductos vp = new VentaProductos((Venta)bdd_ventas.CurrentRow.DataBoundItem);
     vp.ShowDialog();
 }
 private void btn_ver_Click(object sender, EventArgs e)
 {
     if (bdd_ventas.SelectedRows != null)
     {
         VentaProductos vp = new VentaProductos((Venta)bdd_ventas.CurrentRow.DataBoundItem);
         vp.ShowDialog();
     }
     Principal.cerrar_venta_no_impresa = false;
     this.Close();
 }
 private void bdd_ventas_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (lista.Count > 0)
     {
         if (((Venta)bdd_ventas.CurrentRow.DataBoundItem).Id_venta != 0)
         {
             VentaProductos vp = new VentaProductos((Venta)bdd_ventas.CurrentRow.DataBoundItem);
             vp.ShowDialog();
         }
     }
     Principal.cerrar_venta_no_impresa = false;
     this.Close();
 }