예제 #1
0
 public BoardWindowDataContext(UserController service, string boardName)
 {
     this.service   = service;
     this.boardName = boardName;
     this.Ib        = this.service.GetIBoard(boardName);
     ShowTheard();
 }
예제 #2
0
        public void ShowTheard(InterfaceLayerUser user)
        {
            BindableCollection <BoardWindowTask> tasks = new BindableCollection <BoardWindowTask>();
            InterfaceLayerBoard board = user.Board;

            foreach (InterfaceLayerColumn col in user.Board.boardColumns.Values)
            {
                foreach (InterfaceLayerTask t in col.tasks)
                {
                    if (t != null)
                    {
                        tasks.Add(new BoardWindowTask(t));
                    }
                }
            }
            Tasks = tasks;
        }
예제 #3
0
 public void SetIB(InterfaceLayerBoard newIB)
 {
     this.Ib = newIB;
     ShowTheard();
 }