Actually execute the task instead of displaying a boring message box
This commit is contained in:
parent
e0b032c7ef
commit
9c701fa0a6
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user