public LongRunningFunctionWindow(BackgroundAction action, string title)
 {
     InitializeComponent();
     Title          = title;
     Action         = action;
     Worker.DoWork += worker_DoWork;
     Worker.WorkerSupportsCancellation = true;
     Action.Bind(Worker);
     Worker.RunWorkerCompleted += worker_RunWorkerCompleted;
 }
 public LongRunningFunctionWindow(BackgroundAction action, string title)
 {
     InitializeComponent();
     Title = title;
     Action = action;            
     Worker.DoWork += worker_DoWork;
     Worker.WorkerSupportsCancellation = true;
     Action.Bind(Worker);
     Worker.RunWorkerCompleted += worker_RunWorkerCompleted;
 }
Example #3
0
 public virtual void ApplyTemplateInfo(ActionTemplateInfo ati, BackgroundAction action)
 {
     // default implementation: do nothing
 }
Example #4
0
 public virtual void ApplyTemplateInfo(ActionTemplateInfo ati, BackgroundAction action)
 {
     // default implementation: do nothing
 }