private void proveedores_CellContentClick(object sender, DataGridViewCellEventArgs e) { provElegido = proveedores.CurrentRow.Cells[0].Value.ToString(); // id_proveedor ListadoOfertas list = new ListadoOfertas(previousForm, provElegido, fechaInicio.Text, fechaFin.Text); list.ShowDialog(); }
public Facturacion(ListadoOfertas unForm, Modelo.Factura unaFactura) { InitializeComponent(); factura = unaFactura; form_anterior = unForm; }