Exemple #1
0
        private void AddTask_Click(object sender, RoutedEventArgs e)
        {
            Task task = null;

            task = createTask();
            if (task != null)
            {
                tasks.Add(task);
                listBox1.Items.Add(task.ToFormattedString());
            }
        }