Method | Description | |
---|---|---|
Hide ( ) : void |
Hides this please wait window.
|
|
PleaseWaitService ( ILanguageService languageService ) : System |
Initializes a new instance of the PleaseWaitService class.
|
|
Pop ( ) : void |
Decreases the number of clients that show the please wait window. The implementing class is responsible for holding a counter internally which a call to this method will decrease.
|
|
Push ( string status = "" ) : void |
Increases the number of clients that show the please wait window. The implementing class is responsible for holding a counter internally which a call to this method will increase.
|
|
Show ( PleaseWaitWorkDelegate workDelegate, string status = "" ) : void |
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.
|
|
Show ( string status = "" ) : void |
Shows the please wait window with the specified status text. When this method is used, the M:Catel.Services.IPleaseWaitService.Hide method must be called to hide the window again. |
|
UpdateStatus ( int currentItem, int totalItems, string statusFormat = "" ) : void |
Updates the status and shows a progress bar with the specified status text. The percentage will be automatically calculated.
|
|
UpdateStatus ( string status ) : void |
Updates the status text.
|
Method | Description | |
---|---|---|
HideBusyIndicator ( ) : void | ||
InitializeBusyIndicator ( ) : void | ||
SetStatus ( string status ) : void | ||
ShowBusyIndicator ( bool indeterminate ) : void |
public PleaseWaitService ( ILanguageService languageService ) : System | ||
languageService | ILanguageService | The language service. |
return | System |
public Push ( string status = "" ) : void | ||
status | string | The status to change the text to. |
return | void |
public Show ( PleaseWaitWorkDelegate workDelegate, string status = "" ) : void | ||
workDelegate | PleaseWaitWorkDelegate | The work delegate. |
status | string | The status. When the string is |
return | void |
public Show ( string status = "" ) : void | ||
status | string | The status. When the string is |
return | void |
public UpdateStatus ( int currentItem, int totalItems, string statusFormat = "" ) : void | ||
currentItem | int | The current item. |
totalItems | int | The total items. |
statusFormat | string | The status format. Can be empty, but not |
return | void |
public UpdateStatus ( string status ) : void | ||
status | string | The status. When the string is |
return | void |