Setup and forms
This commit is contained in:
1 parent
aed55f44f9
commit
eee7548fc8
47 files changed
+2837
-8138
No files matched your search
@@ -0,0 +1,39 @@
|
||||
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());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user