HypernovaDesktop Components · docs
Binarymission
WinForms › Project Management › TaskEventArgs

TaskEventArgs

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ProjectManagement

Provides data for the events that concern one task: a task changed, activated, opened or closed, or a card moved.

public class TaskEventArgs : EventArgs

Inherits from / implements: EventArgs

Examples

gantt.TaskActivated += (sender, e) =>
{
    ScheduledTask scheduled = gantt.Schedule.Find(e.Task.Id);
    statusText.Text = e.Task.Name + " finishes on " + scheduled.Finish.ToString("d");
};

Members at a glance

Constructors
TaskEventArgsCreates the data for an event about a task.
Properties
TaskGets the task the event concerns: the application's own object.

Constructors

TaskEventArgs

public TaskEventArgs(ProjectTask task)

Creates the data for an event about a task.

Parameters
task
The task the event concerns.

Properties

Task

public ProjectTask Task

Gets the task the event concerns: the application's own object.