public override void Wait(string title, Task task, CancellationTokenSource cts) { var ui = new WaitUI(title, task, cts); ui.ShowDialog(); }