Ejemplo n.º 1
0
        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);
            }
        }
Ejemplo n.º 2
0
 private void OpenSolution(Solution solution)
 {
     Content = new SolutionNavigation(solution, this);
 }