Catel.Services.PleaseWaitService.Show C# (CSharp) Метод

Show() публичный Метод

Shows the please wait window with the specified status text and executes the work delegate (in a background thread). When the work is finished, the please wait window will be automatically closed.
public Show ( PleaseWaitWorkDelegate workDelegate, string status = "" ) : void
workDelegate PleaseWaitWorkDelegate The work delegate.
status string The status. When the string is null or empty, the default please wait text will be used.
Результат void
        public void Show(PleaseWaitWorkDelegate workDelegate, string status = "")
        {
            Argument.IsNotNull("workDelegate", workDelegate);

            InitializeBusyIndicator();

            Show(status);

            workDelegate();

            Hide();
        }

Same methods

PleaseWaitService::Show ( string status = "" ) : void