65 lines
1.8 KiB
C#
65 lines
1.8 KiB
C#
using Controladora;
|
|
using Entidades;
|
|
|
|
namespace Vista
|
|
{
|
|
internal static class Program
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main()
|
|
{
|
|
// 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ñadir(new Cliente{
|
|
Cuit = 23453659239,
|
|
Apellido = "Polidoro",
|
|
Nombre = "Federico",
|
|
Correo = "federico.nicolas.polidoro@gmail.com",
|
|
Direccion = "nose",
|
|
Habilitado = true
|
|
});
|
|
|
|
ControladoraClientes.Instance.Añadir(new Cliente{
|
|
Cuit = 17385912736,
|
|
Apellido = "Diana",
|
|
Nombre = "Ignacio",
|
|
Correo = "Ignaciodiana@gmail.com",
|
|
Direccion = "nose",
|
|
Habilitado = true
|
|
});
|
|
|
|
ControladoraCategorias.Instance.Añadir(new Entidades.Categoria{
|
|
Id = 1,
|
|
Descripcion = "Indumentaria"
|
|
});
|
|
|
|
ControladoraCategorias.Instance.Añadir(new Entidades.Categoria
|
|
{
|
|
Id = 2,
|
|
Descripcion = "Perfumeria"
|
|
});
|
|
|
|
|
|
}
|
|
}
|
|
} |