Example #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Employee employeeView = new Employee();
            EmployeeController employeeController = new EmployeeController(employeeView);

            employeeController.LoadEmployeeView();
            Application.Run(employeeView);
        }
Example #2
0
 public void SetController(EmployeeController controller)
 {
     _employeeController = controller;
 }