Exemple #1
0
        private void EditarButton_Click(object sender, EventArgs e)
        {
            int    id = 0;
            Ventas p  = new Ventas();

            int.TryParse(ConsultaDataGridView.CurrentRow.Cells[0].Value.ToString(), out id);
            p = VentasBLL.Buscar(id);
            rVentas rp = new rVentas(p);

            this.Hide();
            rp.ShowDialog();
        }
Exemple #2
0
        private void RegistrarVenta_Button_Click(object sender, EventArgs e)
        {
            rVentas rv = new rVentas();

            rv.ShowDialog();
        }