correcciones sobre los forms
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
using Controladora;
|
||||
using Entidades;
|
||||
|
||||
namespace Vista
|
||||
{
|
||||
internal static class Program
|
||||
@@ -10,8 +13,53 @@ namespace Vista
|
||||
{
|
||||
// To customize application configuration such as set high DPI settings or default font,
|
||||
// see https://aka.ms/applicationconfiguration.
|
||||
PrecargarDatos();
|
||||
ApplicationConfiguration.Initialize();
|
||||
Application.Run(new PantallaPrincipal());
|
||||
}
|
||||
|
||||
private static void PrecargarDatos()
|
||||
{
|
||||
/*ControladoraClientes.Instance.A<>adir(new Cliente
|
||||
{
|
||||
Cuit = 0,
|
||||
Apellido = " ",
|
||||
Nombre = " ",
|
||||
Correo = " ",
|
||||
Direccion = " ",
|
||||
Habilitado = true
|
||||
});*/
|
||||
|
||||
ControladoraClientes.Instance.A<EFBFBD>adir(new Cliente{
|
||||
Cuit = 23453659239,
|
||||
Apellido = "Polidoro",
|
||||
Nombre = "Federico",
|
||||
Correo = "federico.nicolas.polidoro@gmail.com",
|
||||
Direccion = "nose",
|
||||
Habilitado = true
|
||||
});
|
||||
|
||||
ControladoraClientes.Instance.A<EFBFBD>adir(new Cliente{
|
||||
Cuit = 17385912736,
|
||||
Apellido = "Diana",
|
||||
Nombre = "Ignacio",
|
||||
Correo = "Ignaciodiana@gmail.com",
|
||||
Direccion = "nose",
|
||||
Habilitado = true
|
||||
});
|
||||
|
||||
ControladoraCategorias.Instance.A<EFBFBD>adir(new Entidades.Categoria{
|
||||
Id = 1,
|
||||
Descripcion = "Indumentaria"
|
||||
});
|
||||
|
||||
ControladoraCategorias.Instance.A<EFBFBD>adir(new Entidades.Categoria
|
||||
{
|
||||
Id = 2,
|
||||
Descripcion = "Perfumeria"
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user