예제 #1
0
파일: Program.cs 프로젝트: csergiu/Labs
        static void Main()
        {
            Repository.RepoInterface<Property> repo = new Repository<Property>();
            Validator val = new Validator(repo);
            Controller.Controller ctrl = new Controller.Controller(repo, val);
            //ctrl.readFromFile("properties.txt");

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new HomeForm(ctrl));
        }
예제 #2
0
        static void Main()
        {
            Repository.RepoInterface <Property> repo = new Repository <Property>();
            Validator val = new Validator(repo);

            Controller.Controller ctrl = new Controller.Controller(repo, val);
            //ctrl.readFromFile("properties.txt");

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new HomeForm(ctrl));
        }