public void AddDepartment(string departmentName) { if (mProject != null) { mProject.UserDepartmentAdd(departmentName); } if (DepartmentList.FindItemWithText(departmentName) == null) { DepartmentList.Items.Add(departmentName); } }