Updates the progress displayed in the optimization progress window (if it implements IOptimizationProgressUpdate).

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
protected void UpdateProgress(
	string overallText,
	double overallProgress,
	string currentRunText,
	double currentRunProgress
)
Visual Basic
Protected Sub UpdateProgress ( 
	overallText As String,
	overallProgress As Double,
	currentRunText As String,
	currentRunProgress As Double
)
Visual C++
protected:
void UpdateProgress(
	String^ overallText, 
	double overallProgress, 
	String^ currentRunText, 
	double currentRunProgress
)
F#
member UpdateProgress : 
        overallText : string * 
        overallProgress : float * 
        currentRunText : string * 
        currentRunProgress : float -> unit 

Parameters

overallText
Type: System..::..String
The text to display for the overall progress of the optimization. If null, the text will be left unchanged.
overallProgress
Type: System..::..Double
The overall optimization progress to display in the progress bar. This value should be between 0 and 1.0
currentRunText
Type: System..::..String
The text to display for the progress of the current optimization run. If null, the text will be left unchanged.
currentRunProgress
Type: System..::..Double
The optimization progress for this run to display in the progress bar. This value should be between 0 and 1.0

Remarks

An exception will be thrown if you call this method and you overrode the CreateProgressWindow(Action) method and returned an object that does not implement IOptimizationProgressUpdate.

See Also