/// <summary>
 /// Use this method to process any task
 /// </summary>
 public static void Execute(TreeProcessingTask task)
 {
     FormWorkerThreadTask form = new FormWorkerThreadTask(task);
     form.ShowDialog();
 }
 /// <summary>
 /// Class can only be instantiated through static method Execute 
 /// </summary>
 private FormWorkerThreadTask(TreeProcessingTask task)
 {
     InitializeComponent();
     _task = task;
 }