private void StartNewSolution(Task task) { IDialog dialog = SolutionNameDialog(); string name = dialog.ShowNameDialog(); if (name != null) { Solution newSolution = new Solution(name, Main.UserSession.Username, task); Dao.Factory.SolutionDao.AddSolution(newSolution); Content = new SolutionNavigation(newSolution, this); } }
private void OpenSolution(Solution solution) { Content = new SolutionNavigation(solution, this); }