public static void WaitForProgress(MethodInvoker method, string caption, uint tick, bool canCancel)
Параметры