public GuiTaskHandler() { _wrapper = new AsyncFormWrapper<MainForm>(delegate { var form = new MainForm(CancellationTokenSource); form.Show(); return form; }); }