debido a una restructuracion el pedido de presupuesto es un presupuesto

This commit is contained in:
fedpo
2024-08-05 00:08:34 +01:00
committed by fede
parent 16bff577e4
commit 3beec95408
8 changed files with 10 additions and 10 deletions

32
Vista/FrmPresupuestos.cs Normal file
View File

@@ -0,0 +1,32 @@
using Controladora;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Vista
{
public partial class FrmPresupuestos : Form
{
public FrmPresupuestos()
{
InitializeComponent();
}
private void ActualizarGrilla()
{
dataGridView1.DataSource = null;
dataGridView1.DataSource = ControladoraPedidoDePresupuestos.Instance.Listar();
}
private void BtnAdd_Click(object sender, EventArgs e)
{
var form = new FrmPresupuesto();
form.ShowDialog();
ActualizarGrilla();
}
}
}