Method | Description | |
---|---|---|
CheckDisposed ( ) : void |
Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else. This method is thread safe. |
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
ImportTranslatedListsForWs ( |
I'd like to put all this logic into XmlTranslatedLists, because it is common to most cases of calling ImportTranslatedListsForWs, which is the point of this method. Unfortunately FDO cannot reference the DLL that has ProgressDialogWithTask. I've made it public static so that anything that references FwControls can use it at least.
|
|
ProgressDialogWithTask ( |
Initializes a new instance of the ProgressDialogWithTask class that will create an actual progress dialog box to track the progress.
|
|
ProgressDialogWithTask ( ISynchronizeInvoke synchronizeInvoke ) : System |
Initializes a new instance of the ProgressDialogWithTask class.
|
|
RunTask ( Func |
If progress dialog is already showing, we run the background task using it (without creating a separate thread). Otherwise we display a new progress dialog as a modal dialog and start the background task in a separate thread.
|
|
RunTask ( bool fDisplayUi, Func |
Displays the progress dialog as a modal dialog and starts the background task.
|
|
Step ( int cSteps ) : void |
Steps the specified number of steps.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
|
|
m_progressDialog_Canceling ( object sender, System.CancelEventArgs e ) : void |
Calls subscribers to the cancel event.
|
Method | Description | |
---|---|---|
AddStartListener ( ) : void | ||
DialogShown ( ) : void | ||
DialogShown ( object sender, |
||
ImportTranslatedListsForWs ( IThreadedProgress dlg, object args ) : object |
Method with required signature for ProgressDialogWithTask.RunTask, to invoke XmlTranslatedLists.ImportTranslatedListsForWs. Should only be called by the other overload of ImportTranslatedListsForWs. args must be a writing system identifier string and an FdoCache.
|
|
InitOnOwnerThread ( ) : void | ||
LaunchDialogAndTask ( IWin32Window owner ) : void | ||
ProgressDialogWithTask ( |
Initializes a new instance of the ProgressDialogWithTask class.
|
|
RemoveStartListener ( ) : void | ||
RunBackgroundTask ( object sender, DoWorkEventArgs e ) : void |
Executes the background task. This method runs in the background thread! |
|
m_progressDialog_FormClosing ( object sender, |
||
m_worker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void |
public static ImportTranslatedListsForWs ( |
||
parentWindow | ||
cache | FdoCache | |
ws | string | |
return | void |
public ProgressDialogWithTask ( |
||
owner | The form to use as the owner when creating the actual progress /// dialog. | |
return | System |
public ProgressDialogWithTask ( ISynchronizeInvoke synchronizeInvoke ) : System | ||
synchronizeInvoke | ISynchronizeInvoke | |
return | System |
public RunTask ( Func |
||
backgroundTask | Func |
The background task. |
return | object |
public RunTask ( bool fDisplayUi, Func |
||
fDisplayUi | bool | set to |
backgroundTask | Func |
The background task. |
return | object |
public Step ( int cSteps ) : void | ||
cSteps | int | The count of steps. If it's 0, step the default step size |
return | void |
protected m_progressDialog_Canceling ( object sender, System.CancelEventArgs e ) : void | ||
sender | object | The sender. |
e | System.CancelEventArgs | The |
return | void |