public int taskGo(string s){ TaskRun = true; mode = s; task = new Task(this); task.startTask(mode); return 0; }