Files
2024-06-04 21:09:56 +03:00

40 lines
1.2 KiB
C#

using PaymentLogs.Domain;
using PaymentLogs.Repositories;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PaymentLogs
{
internal static class Program
{
internal static User CurrentUser { get; set; }
internal static UserRepo UserRepository { get; set; }
internal static PaymentRepo PaymentRepository { get; set; }
internal static CourseRepo CourseRepository { get; set; }
internal static StudentRepo StudentRepository { get; set; }
[STAThread]
static void Main()
{
UserRepository = new UserRepo();
UserRepository.Load();
PaymentRepository = new PaymentRepo();
PaymentRepository.Load();
CourseRepository = new CourseRepo();
CourseRepository.Load();
StudentRepository = new StudentRepo();
StudentRepository.Load();
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new LoginForm());
}
}
}