Ejemplo n.º 1
0
        private void TaskCompletedEvent( DoitTaskContainer Container, DoitTask Task )
        {
            string message = Container.GetName() + Environment.NewLine;

            if( Task.IsComplete() )
                message += Task.GetDescription() + " Completed on: " + Task.DateCompleted().Value.ToShortDateString();
            else
                message += Task.GetDescription() + " Reset";

            MessageBox.Show( message );
        }
Ejemplo n.º 2
0
 private void SetTask( DoitTask Task )
 {
     _Task = Task;
     tb_Task.Text = Task.GetDescription();
     chk_Complete.Checked = Task.IsComplete();
 }