private static void determineForm(LoginInformation loginInformation) { bool isAdmin = loginInformation.getIsAdmin(); if (isAdmin) { Application.Run(new AdminForm(loginInformation)); } else { Application.Run(new EmployeeForm(loginInformation)); } }