private void loadTasks() { TasksHelper client = new TasksHelper(); txtTaskMsg.Text = "There are a total of " + client.GetEventTasks(this.event_.EventID).ToList<Task>().Count() + " task(s)"; client.Close(); }