WeibullDataSet.ShowCalculationProgress: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Template:APIClass|WeibullEvents Class|WeibullEvents}}
{{Template:APIClass|WeibullEvents Class|WeibullEvents}}
Called by a [[WeibullDataSet Class|WeibullDataSet]] object when calculation progress should be shown. Shows the current calculation progress if the calculation process is running.
Called when calculation progress should be shown. Shows the current calculation progress if the calculation process is running.


== Syntax ==
== Syntax ==

Revision as of 22:44, 24 February 2014


Called when calculation progress should be shown. Shows the current calculation progress if the calculation process is running.

Syntax

Parameters

sender: A WeibullDataSet object.

Usage Example

Declare a New class that Inherits from WeibullEvents.
Override the method.

       Private Class myEvents
           Inherits WeibullEvents
           Public Overrides Sub ShowCalculationProgress(sender As WeibullDataSet)
               MyBase.ShowCalculationProgress(sender)
               MessageBox.Show("Additional overridden code here.")
           End Sub
       End Class

Declare the WeibullDataSet.

       Dim WDS as New WeibullDataSet

Use the created myEvents class in place of the one created by the dataset.

       WDS.Events = New myEvents

Show the current Calculation Progress.

       WDS.Events.ShowCalculationProgress(WDS)