Actually execute the task instead of displaying a boring message box

This commit is contained in:
Michael Becker 2014-12-05 23:55:27 -08:00
parent e0b032c7ef
commit 9c701fa0a6

View File

@ -296,12 +296,15 @@ namespace UniversalEditor.UserInterface.WindowsForms.Controls
}
}
private void task_Progress(object sender, ProgressEventArgs e)
{
}
private void tsmiProjectTask_Click(object sender, EventArgs e)
{
ToolStripMenuItem tsmi = (sender as ToolStripMenuItem);
ProjectTask task = (tsmi.Tag as ProjectTask);
MessageBox.Show("Task activated: " + task.Title + " (" + task.Actions.Count.ToString() + " actions)");
task.Execute(new ProgressEventHandler(task_Progress));
}
private void tsmiItemShortcut_Click(object sender, EventArgs e)
{