Exemplo n.º 1
0
 public BoardWindowDataContext(UserController service, string boardName)
 {
     this.service   = service;
     this.boardName = boardName;
     this.Ib        = this.service.GetIBoard(boardName);
     ShowTheard();
 }
Exemplo n.º 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;
        }
Exemplo n.º 3
0
 public void SetIB(InterfaceLayerBoard newIB)
 {
     this.Ib = newIB;
     ShowTheard();
 }