first commit

This commit is contained in:
redtea committed 2024-05-23 23:21:24 +03:00
1 parent a9f02f8595
commit 1f6634add4
83 files changed
+28739

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
using PaymentLogs.Domain;
using PaymentLogs.Repositories;
using System;
using System.Collections.Generic;
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());
}
}
}