C# Class XWord.LoadingDialog

A dialog that is shown when a long operation is executed or a Word instance restart/swich is required.
Datei anzeigen Open project: xwiki-contrib/xwiki-office Class Usage Examples

Public Methods

Method Description
CloseSyncDialog ( ) : void

Closes the dialog in a safe cross thread manner.

LoadingDialog ( String message ) : System

Displays a continuous progress bar while an operation is in progress.

ShowSyncDialog ( Object obj ) : void

Shows the form.

Recomended for cross tread calls.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadingDialog_Shown ( object sender, EventArgs e ) : void
timer_Tick ( object sender, EventArgs e ) : void

Method Details

CloseSyncDialog() public method

Closes the dialog in a safe cross thread manner.
public CloseSyncDialog ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

LoadingDialog() public method

Displays a continuous progress bar while an operation is in progress.
public LoadingDialog ( String message ) : System
message String
return System

ShowSyncDialog() public method

Shows the form.
Recomended for cross tread calls.
public ShowSyncDialog ( Object obj ) : void
obj Object Extra parameter to match the wait callback signature.
return void