private void BindTaskData()
        {
            BindingList <object> taskList = new BindingList <object>();

            foreach (var item in _projectTaskFilterView.Context.BindingSource)
            {
                ProjectTaskLookBoardData boardData = new ProjectTaskLookBoardData();
                var projectTask = ConvertData.Convert <Katrin.Domain.Impl.ProjectTask>(item);
                boardData.Name            = projectTask.Name;
                boardData.TaskId          = projectTask.TaskId;
                boardData.StatusCode      = projectTask.StatusCode;
                boardData.OwnerFullName   = projectTask.Owner == null?string.Empty:projectTask.Owner.FullName;
                boardData.ActualWorkHours = projectTask.ActualWorkHours;
                boardData.Effort          = projectTask.Effort;
                if (projectTask.PriorityCode != null)
                {
                    boardData.ProjectName = GetLocalizedPickListValue(EntityName, "PriorityCode", projectTask.PriorityCode ?? 0);
                }
                boardData.ProjectIterationName = StringParser.Parse("${res:colSumEffort}") + ":" + projectTask.Effort;
                boardData.Description          = StringParser.Parse("${res:colSumQuoteWorkHours}") + ":" + projectTask.ActualWorkHours;
                SetBackColor(boardData);
                taskList.Add(boardData);
            }
            _projectTaskChartView.BindTaskData(taskList);
        }
 private void SetBackColor(ProjectTaskLookBoardData boardData)
 {
     if (string.IsNullOrEmpty(boardData.OwnerFullName))
     {
         return;
     }
     if (_bgColorList.Keys.Contains(boardData.OwnerFullName))
     {
         boardData.BgColor = _bgColorList[boardData.OwnerFullName];
     }
     else
     {
         boardData.BgColor = _colorList[_bgColorList.Count % 16];
         _bgColorList.Add(boardData.OwnerFullName, boardData.BgColor);
     }
 }