WeibullDataSet.ShowCalculationProgress

From ReliaWiki
Revision as of 22:32, 3 December 2013 by John Leavitt (talk | contribs) (Protected "WeibullEvents.ShowCalculationProgress" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
Jump to navigation Jump to search



Shows the current calculation progress if the calculation process is running.

Method Syntax

ShowCalculationProgress( ByVal sender As WeibullDataSet)
Called by ‘sender’ when calculation progress should be shown.

Parameters

sender An 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)