コード例 #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            BugRepo         bugRepo         = new BugRepo();
            ProgramatorRepo programatorRepo = new ProgramatorRepo();
            VerificatorRepo verificatorRepo = new VerificatorRepo();
            Service         service         = new Service(bugRepo, programatorRepo, verificatorRepo);
            LoginController loginController = new LoginController(service);

            Application.Run(new LoginWindow(loginController));
        }
コード例 #2
0
 public Service(BugRepo bugRepo, ProgramatorRepo programatorRepo, VerificatorRepo verificatorRepo)
 {
     BugRepo         = bugRepo;
     ProgramatorRepo = programatorRepo;
     VerificatorRepo = verificatorRepo;
 }