public static void datBoardToBoard()
        {
            List <DatBoard> datboards = BoardHandler.getBoard();

            Column.datColToCol();
            if (datboards != null)
            {
                foreach (DatBoard dat in datboards)
                {
                    Board tmpBoard = new Board(dat.getIndex(), dat.getUserName(), dat.getDatBoardId());
                    tmpBoard.columnList = Column.getColumnById(tmpBoard.boardId, tmpBoard.userName);
                    boards.Add(tmpBoard);
                }
            }
            index = BoardHandler.getIndex();
        }
Exemple #2
0
 public static void datBoardToBoard()
 {
     Board.datboards = BoardHandler.getBoard();
     Column.datColToCol();
     if (Board.datboards != null)
     {
         foreach (DatBoard dat in Board.datboards)
         {
             Board tmpBoard = new Board(dat.getDatBoardId());
             tmpBoard.columnList = Column.getColumnById(tmpBoard.title);
             boards.Add(tmpBoard);
         }
     }
     else
     {
         Board.datboards = new List <DatBoard>();
     }
 }