Ejemplo n.º 1
0
        private void Button2_Click(object sender, EventArgs e)
        {
            registrarventas venta = new registrarventas(Int32.Parse(numero_boleta.Text), artbuscado, acumula, DateTime.Today, " ERROR");

            Program.inicial().agregarlista_de_ventas(venta);
            contador = 1;
            acumula  = 0;
            MessageBox.Show("operacion realizada con exito");
            this.Close();
            l.Show();
        }
Ejemplo n.º 2
0
 public void agregarlista_de_ventas(registrarventas m)
 {
     registro_venta.Add(m);
 }