Пример #1
0
 /*
  * Написать защиту от Enter '\n'
  */
 public void AddMind(string mind, int type)
 {
     if (type == Const.IDEA) {
         ideas = new Idea();
         ideas.AddIdea(ideas.ParseIdeaToWrite(mind));
     }
     if (type == Const.TASK) {
         tasks = new Task();
         tasks.AddTask(tasks.ParseTaskToWrite(mind));
     }
 }
Пример #2
0
 public void InitTasks()
 {
     tasks = new Task();
 }