From 9c701fa0a66d0e917390f3706af5bbd04320e511 Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Fri, 5 Dec 2014 23:55:27 -0800 Subject: [PATCH] Actually execute the task instead of displaying a boring message box --- .../Controls/SolutionExplorer.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Controls/SolutionExplorer.cs b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Controls/SolutionExplorer.cs index 71af3b82..395dc5bb 100644 --- a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Controls/SolutionExplorer.cs +++ b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Controls/SolutionExplorer.cs @@ -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) {