コード例 #1
0
        public void AddDepartment(string departmentName)
        {
            if (mProject != null)
            {
                mProject.UserDepartmentAdd(departmentName);
            }

            if (DepartmentList.FindItemWithText(departmentName) == null)
            {
                DepartmentList.Items.Add(departmentName);
            }
        }